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

J2ME - Serial data connection???

 
Pete WesternHope
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anyone know if it is possible to make a data connection to the serialport on a typical mobile phone? e.g. A cheap Nokia with MIDP/CLDC.
Also, can data from the serial port (modem?) be read into a MIDlet? If so, is this event driven or programmatic?
Any suggestions/ideas appreciated!
BTW - I am completely new to j2me! Forgive me if this is too stupid!
 
Liam Quinn
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Motorola iDEN phones support serial connectivity from MIDlets, but very few other phones do. Current Nokia phones don't support serial connectivity from MIDlets.
 
Pete WesternHope
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for that Liam! I would like to investigate this further, Do you know where there are any code snippets showing use of serial connectivity?
At a recent conference, in a slide, I thought I saw a glimpse of an open method call with a url starting "comm:...???" (Instead of "http://..."?) but it was gone in a flash and I missed the chance to find out more.
Do you have any comments on that?
Thank you again for your reply - MUCH appreciated!
Kind regards
Pete
 
Liam Quinn
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's a code sample in the Motorola i95cl developer's guide.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic