I am working on a project to automate some tasks (e.g. playing a song, playing a video, receiving Bluetooth data, etc.) on an Android phone from a PC.
Basically, the PC will send the notifier to the phone, and the application or something on the phone will process the notifier and do "something." Opposite of this:
http://code.google.com/p/android-notifier/
I have seen several examples showing how to send commands to an application or Android Listener service via a network connection, but in this case I would prefer transmission over a physical connection.
USB
Ideally, I want the connection to be via a USB port. But I saw several posts on the Internet that suggest that the SDK does not support this. ( Android apps that interact with a device connected to a USB port ).
Serial port via USB
I also saw some sites that show how to use breakoutbox to perform bidirectional serial communication, but only with G1. Is this possible with new phones?
. Galaxy S, . .