0

i need to launch a service running in the background,that should record what's on the current screen for say about 10 sec.. i should able to save it in a file or on any storage device and later i should able to retrieve it also..

plz plz anyone help me, i am running out of my time deadline..

thanks in advance Manju

manju
  • 847
  • 3
  • 16
  • 43

2 Answers2

1

Please refer to this discussion. It seems to be relevant for you. Programmatic screencapture on mobile device

Community
  • 1
  • 1
AlexR
  • 114,158
  • 16
  • 130
  • 208
  • hi Alex thanks for giving such a great resource but i think the native service in the asl should be made running on the device, manually by connecting the device to a computer for every time when the device rebooted, that's not user friendly for end user's....what do you say.. – manju Nov 24 '10 at 11:47
  • can it be made the native service to get started automatically whenever my device boots up.. – manju Nov 25 '10 at 04:10
0

Well that's your problem that you're running out of time. As for your question, that's generally not possible. The service has no access to what's displayed on the screen. That would be a huge security issue

Falmarri
  • 47,727
  • 41
  • 151
  • 191
  • thanks for your reply,as you said i can't use a service for this,do you have any idea on how to accomplish this,and let me know what all the security issue..i think you are saying about rooting the device to make it offer superuser privileges... – manju Nov 24 '10 at 07:19