• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

J2ME - Serial data connection???

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There's a code sample in the Motorola i95cl developer's guide.
reply
    Bookmark Topic Watch Topic
  • New Topic