Question

I am a developer in Korea.

I avail weak point very English.

Try to draw the ocean map using OpenGL ES.

Therefore, it is us with a direct manipulation of movement when you touch the screen, zoom in / zoom out function.

To get the movement value to know the difference between the width height of the screen according to the zoom state of each is likely to be.

Is there a way to check the internal coordinates of the lower right and the most coordinate of the top left of the screen to be projected in the current Android?

We can not speak English, you can complement the description of the picture.

enter image description here

Please help me.

Are unable to work.

Was it helpful?

Solution

I Hope this will help you:

getWindow().getWindowManager().getDefaultDisplay().getWidth();
getWindow().getWindowManager().getDefaultDisplay().getHeight();
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top