Hi PowerGUI, could you please share with me how did you do the android-screenshots? I am also need similar method but I really couldn't fiugure out how to do it?
Thanks for any help Cindy On Thu, Sep 11, 2008 at 5:17 PM, PowerGUI <[EMAIL PROTECTED]> wrote: > > Hello, > I am developing such program,called "android-screenshots", > yes,for security reasons,that is just for android developers only,I > think so too. > the "android-screenshots" programs will be avaiable after waiting > for a few more days. > > Best Regards > PowerGUI > ----------------------------- > Android DotPhone Team > http://www.dotphone.org/english/ > http://groups.google.com/group/android-dotphone/ > > On 9月11日, 下午3时03分, hackbod <[EMAIL PROTECTED]> wrote: > > For security reasons, applications are not allowed to get screen shots > > of the display or inject key events in to other applications. > > > > On Sep 11, 3:48 am, "Malcolm Reynolds" <[EMAIL PROTECTED]> > > wrote: > > > > > Hello all, > > > > > I hope this isn't a stupid question, but I've looked through the API > > > reference and can't seem to find what I'm looking for.. > > > > > Basically I am wondering if there is any way to, from a background > > > application, save the current contents of the screen as a Bitmap, and > > > if there is a way to inject keypresses into the current running > > > application (again, with a background application doing the > > > injecting). I notice there are constants called "INJECT_EVENTS" and > > > "READ_FRAME_BUFFER" in the android.Manifest.permisssion class, which > > > sound like the facility is available to do what I need, but I can't > > > see where in the main API you can perform these tasks. Can anyone > > > point me in the right direction, or are these constants part of the > > > internals of android, and so not available for regular apps to use? > > > > > If anyone is familiar with RIM's Blackberry API, then essentially I am > > > looking for an equivalent to their method Display.screenshot() and to > > > the class EventInjector, plus its various inner classes. > > > > > Thanks in advance! > > > > > Malcolm > > > --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---