In Android Map v2 API, how to get the screen image?

It looks like the new android v2 api map (which is really cool, third parties can access rotating maps, etc. thanks to google!) DOES NOT allow easy access to the screen image (we would like to keep the screen image for splitting, etc.) etc.)

This question How to get Bitmap MapView from Android API Google Maps V2 says it is not possible.

But this question and answer imply that it is possible Android OpenGL Screenshot

Has anyone saved the android v2 map image?

Alternative solution / question: Is there a way to send the intent to the Android operating system to trigger the Take Screenshot processing?

Thank.

+3


source to share


1 answer


But this question and answer imply that it is possible. Android OpenGL screenshot

For your own only GLContext

. You don't have GLContext

for GoogleMap

.



Is there a way to send an intent to the Android operating system to trigger Take Screenshot processing?

Fortunately not, for obvious privacy and security reasons. Apps cannot take screenshots except as root or with multiple threat-protected devices.

+2


source







All Articles