I have an application on my G1 Android Dev phone(android 1.5). I need to trigger this application automatically from my laptop. The system will not be deployed in an area where there is WiFi, so I cannot send a packet to a service on the phone which will be listening for a particular packet from the laptop and then call an intent to launch my application. Is there any way in which I can send out a packet using the USB cable to a service running on the phone? Are there APIs available for this?
Share
You may be able to invoke the launch app intent via adb shell, the start command, and the application’s launch intent. It looks like this person got it to work. This may require rooting a physical device.
Edit:
Another idea: launch the app with the UI Excerciser monkey, but specify 0 for the event count.