Hi Brian, I also want to know the answer. It seems Camera class can capture the screen and can resize it in a Canvas.But I have not try it.
Any one have suggestions? Thanks On 6月17日, 上午2时28分, Brian Smith <avalo...@caerleon.us> wrote: > Two questions... > > 1) (out of curiosity) What does the ability to take snapshots have to > do with the ability to design a game for Android? Games usually put > things on the screen, not the other way around. > > 2) Are you wanting to do this from your code, or just to have > screenshots for advertising/publishing? > > I don't know how to do it from code, but the Android SDK does provide > a way to take screenshots from an emulator or connected device. > > http://developer.android.com/guide/developing/tools/ddms.html > > If you're using Eclipse for Android development, the DDMS functions > are available in the DDMS context (assuming you've installed the > Android plugin). > > On Jun 16, 2:28 am, Alan <kind...@gmail.com> wrote: > > > > > Hi all, > > > When I design a game, I have a problem. > > How to save the "View" display on the screen to a image file such > > as png,jpg file > > Whether android API is support to this function? > > > If no API support to this save function, how to design my > > program ? > > > Thanks ~ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---