0

Like the combination of power button and volume down button - takes a screenshot of the phone...

Similarly I am trying to access volume up and power button with long press in my app and provide a shortcut. Is this possible?

Unheilig
  • 16,196
  • 193
  • 68
  • 98
Varun Chaudhary
  • 370
  • 4
  • 19
  • You want to take the screen shot of UR app screen? – Fahim Mar 21 '15 at 07:00
  • @fahim... yes ..but i have tried the screenshot code from this http://stackoverflow.com/questions/2661536/how-to-programatically-take-a-screenshot-on-android and it is not working so i am trying for the alternative – Varun Chaudhary Mar 21 '15 at 07:41
  • I am also using this but it works, will you share your code – Fahim Mar 21 '15 at 07:46
  • @fahim.. it is capturing the bitmap but the thing is i am changing the value of alpha in the bitmap so the bitmap it captured is not like that it looks on image view in running app so i am wondering if some how i get the screenshot pragmatically. – Varun Chaudhary Mar 21 '15 at 07:59

0 Answers0