Send a resize message on content rect size change
Update example to target SDK 17
Cache the window size to prevent slow Android NDK calls
Update the example to deal with size changes