start the emulator with "emulator -qemu -serial <your-host-device-here>" this will connect /dev/ttyS2 in the emulated system to your host device.
On Thu, Jan 22, 2009 at 11:31 AM, coolio <[email protected]> wrote: > > Hi, > > When I adb shell to emulator, I can see /dev/ttyS0. In my program, I > can open this device but the device is not mapped to my host /dev/ > ttyS0. Can anybody tell me how to add or map emulator's serial port, > such /dev/ttySx to the serial port on host? > > Thanks > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

