People have asked for a copy of the utility I wrote to view the attached Android device on the screen. It uses the built in screencap functionality of Android and the ADB (Android Debug Bridge) to grab and display a series of screenshots. It requires the Android SDK installed and does not require a rooted device.
The speed of update has to do with the screen resolution and image complexity. Simple screens (text and controls) update about twice a second. More complex screens (pictures, graphics, etc.) are slower than that.
For best results, turn on “Show Touches” under debug options.
It also supports saving a PNG to file.
Get the source: https://code.google.com/p/android-screenview/
Download the build: http://delphi.org/downloads/AndroidScreenView.7z
There are a few pending features that I just haven’t gotten to. If you’d like to contribute let me know. Thanks to Stephen Ball for all his contributions already!
7 replies on “Android Screen View”
I’ve been using the Open Source Droid@Screen for a long time, and it is unbeaten: allows restarting ADB, no batch file, automatic device detection, skipping emulators, zooming, etc.
IS there a way to write this app for a Delphi XE5 Mobile app ? I need to display at least four phones screens at once ?
An app running on Android cannot take a screenshot without Root access.
You could connect 4 Android devices and modify this app to take screen shots from all 4 at once by specifying the specific devices via the call to ADB.
[…] Jim McKeeth open sources his Android Screen View: Android Screen View | The Podcast at Delphi.org. It is written as a quick hack in Delphi XE5, so right now it has less features and works in a more […]
[…] http://delphi.org/2013/09/android-screen-view/ […]
is it possible Display Android Screen from a pc by using tcp or udp ethernet by indy ?