[android-developers] Re: Ways to capture the content of the screen / inject keypresses?
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 -~--~~~~--~~--~--~---
[android-developers] Re: Ways to capture the content of the screen / inject keypresses?
On Thu, Sep 11, 2008 at 11:03 PM, 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. Obviously I understand the security implications that an application like this would have, but pretty much every other smartphone-type platform has security frameworks in place to make this possible and safe. Eg on the Blackberry a user has to manually go to advanced options and change the permissions for event injection and screenshots before the application can run. I've filed this on the issue tracker, I hope this is looked on as a sensible idea.. it would seem a pity for a platform which is in general very sophisticated to be unable to host an application which is possible on Blackberry, Windows Mobile, Symbian and iPhone.. 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 -~--~~~~--~~--~--~---
[android-developers] Re: Ways to capture the content of the screen / inject keypresses?
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 -~--~~~~--~~--~--~---
[android-developers] Re: Ways to capture the content of the screen / inject keypresses?
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 -~--~~~~--~~--~--~---