Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So I have a Nexus 7 and ultimately what I want to do is have it open an app and let my computer see what the app sees. I think the best way would be to either screenshot it or somehow mirror my Nexus 7 onto my PC [if that's even possible] -- this needs to be completely automated as well, however I can write some kind of small script for my PC if the mirroring option is possible.

share|improve this question
And I assume creating screen capture software which emails the capture as a background task on your phone is not an option? – Dave Aug 7 '12 at 12:20
@DaveRook - There are apps that run in the background and take screenshots at a regular interval? Am I correct in that is what you're suggesting? Quickly trying to google this to find more details but do you have a name of an app that would do something similar? – Andrew G. Johnson Aug 7 '12 at 12:22
I guess you would have to write something. As a whole, this would possibly annoy people and be very intrusive! What I meant was I've built apps and (for example) when the app crashes it emails me a screen capture so I can see where the error occurred and what was going on! – Dave Aug 7 '12 at 12:29
I think you may need to give away a little more about your project if I can answer any more thoroughly or accurately? – Dave Aug 7 '12 at 12:29
@DaveRook - I need to take a screenshot of an authenticator app. Google "2 tier authentication" -- it is essentially an RSA keyfob in an app. Sounds sketchier than it actually is, unfortunately I don't want to go deep into details beyond that. – Andrew G. Johnson Aug 7 '12 at 14:27

If you enable USB debugging on your device and install Android SDK on your PC you can do this by a script:

adb shell am start -n

The package name can be retrieved by listing all installed packages:

adb shell pm list packages -f

This starts the app specified by package name and activity name. The ActivityName is a bit harder to get. It is written in the Manifest ambedded in the App APK file. Therefore you could pull the APK file from the device and read the manifest via aapt or you get the AndroidManifest via ManifestViewer.

Then create the screen shot and download it to the PC (works with Android 4.0 and higher):

adb shell /system/bin/screencap -p /sdcard/screenshot.png
adb pull /sdcard/screenshot.png screenshot.png
share|improve this answer
How do I find the correct package and activity names? – Andrew G. Johnson Aug 31 '12 at 15:37
See my updated answer. – Robert Aug 31 '12 at 16:06
thanks will investigate this a bit more over the weekend – Andrew G. Johnson Aug 31 '12 at 22:54

I just was looking for something similar as I seen Samsung tablet screen sharing with laptop that was connected to projector. This was done with TeamViewer app on laptop and TeamViewer QuickSupport, but this is at this moment only available to Samsung devices. (You can with their other apps remotely control pc or join meetig call, but that is about it). Next app I'm playing with is AirDroid but this has only limited access to files, multimedia. To be able to squeeze out more you will have to root your device and grant access. If I find something else more suitable for android device sharing to pc/laptop I will update this.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.