I did this for an early protoype that hooked Android up to an actual GPS device. You can do this by creating a separate process using that reads from the COM port and then communicates COM port info to Android over HTTP or directly over sockets. If you need to init the device or send AT commands, you can create two way communication between Android and this process. Most recently I used C# since the .NET framework on Windows has good support for COM ports. A number of years ago I used an open source Java library for similar work but was unable to locate the project when I last looked a few months ago.
Shane On Sun, Apr 6, 2008 at 9:44 PM, Joe <[EMAIL PROTECTED]> wrote: > > I want to read data from a COM port. > Is there any way to read data from COM port by using Android? > 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] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

