Droid@Screen
I have recently start to learn programming Android. It’s Java, but the environment is very, very different from ordinary server and/or desktop Java programming. Mostly because the device is limited in all sorts of resources. Therefore, the API puts some burden on the lone hacker.
Anyway, I needed a simple tool to project the screen of my HTC Hero device on my PC, for showing it to an audience. I found one such application, but wasn’t really satisfied with its functionality and because I didn’t want to step on someones toes by messing around and changing way to much of the code I went for my own solution. My primary objective was to ensure it was operational before next Sunday, when I will need it.
Here is how it looks like
It is a simple Java Swing application, delivered as an all-inclusive executable JAR file. Therefore, one can launch it simply by double-clicking on the JAR file, or run the following command
java -jar droidAtScreen-0.3.jar
The Droid@Screen JAR file can be found here (pls understand it is alpha software)
Source Code
The source code is open source and I have put all of it to my git repo at Codaset.
The project is built using Maven. Before you can compile, you need to install two Android JAR files to your Maven repo. It is the android.jar and the ddmlib.jar files. Use the mvn install-file command. The easiest to get the mvn syntax right is to try compile it and wait for Maven to point out how to run the install-file command.
Screen-Shots
Here are some more screen-shots.
Landscape mode
Scaled image
Multiple windows
Save screenshots
Setting the path to the ADB executable
The application relies upon the Android Debug Bridge (ADB) application, which will be started unless it’s already running. So the very first thing Droid@Screen does is to prompt for that path.
—-
Posting from my Android phone
Just checking how easy it is to write a blog post using my HTC Hero Android phone with wpToGo. Although the typing on the soft keyboard is a pain.






