This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

which classes to use in real time android app?

 
Yaniv Sheinfeld
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to develop an app that will communicate with a device through serial connection. the app will constantly send and receive messages to the device .

I need some help to get started. which classes will I need to use here? any help will be appreciated as I'm a beginner
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch.

What kind of device is this? Most Android devices have USB connectors, but serial connectors are rare. My guess is that a library like https://github.com/mik3y/usb-serial-for-android or https://code.google.com/p/android-serialport-api/ would be involved.
 
Yaniv Sheinfeld
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
first of all thank you for the reply

the device is connected to the tablet with a usb connection (it will have some sort of adapter rs232 to usb).

the device will constantly send messages to the tablet through this connection and the tablet will alert when something happens .

just like a smartphone GPS is constantly receiving the car speed and alerts when say you are over the speed limit..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic