• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps do sth before launchin

Hi there
how to do sth like take screen shot before launching app?
for ex: I want to write a snapshot app and want to when I click it to start, first take screen shot and then launch and show shoted picture
thanks
 
how can i take snapshot from my home screen or anywhere else my app
i move the above code to onStop, onPause and onResume but all did the same and took snapshot from the app not anywhere else :(
 
Back
Top Bottom