5162Views4Replies

Author Options:

How to get data from serial port to USB on android tablet? Answered

Hi friends,
I'm new in android. I have one tablet,usb-serial port data cable and GPRS device.
Now my doubt is i want to get the data from gprs device using that cable.Because the gprs device will connect using the serial port.So it gives the data on serial port.
I tried in many ways.But it's not working.
Please let me know.

Discussions

0
None
steveastrouk

6 years ago

Can you see the USB-serial adapter inside Android ?

Steve

0
None
Lavanya Ssteveastrouk

Answer 6 years ago

ya i'm having.Then i followed this link.,
http://code.google.com/p/android-serialport-api/

It says first root ur device.So I tried to root my device using Universalandroot.It's working fine.

Then what can i do?I'm not aware of this.

0
None
steveastroukLavanya S

Answer 6 years ago

Does his sample code work ?
http://code.google.com/p/android-serialport-api/downloads/detail?name=SerialPort_1.1.apk&can=2&q=

0
None
steveastroukLavanya S

Answer 6 years ago

Sorry, me neither. I haven't done much with Android myself, I was wondering if tablets gave a USB master by default.

What code have you used ?

Steve