• 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

Infrared printing from Siemens C65

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello members!

I have a Siemens C65 and I am trying to create a MIDlet to print text data from it infrared.

My first question, is it possible? :-)

I had created a test MIDlet that ask the "microedition.commports" to know the COM port names. When I run this MIDlet in SMTK emulator, the response is "COM0,COM1", but, when I try to run it on the real device, only "COM0" is returned.

Then, when I try to run my application that try to connect to COM0 using this code:

CommConnection cc = (CommConnection)Connector.open("comm:COM0;baudrate=19200");

The application stop working and show me the message "Connect the accessory!".

I guess that this COM0 port is the USB or Serial port of the device and the IrDA port is disable. But, how to enable this port for J2ME applications?

Anybody with any help for me?

Thank's for all.

[]'s

Daniel Gazineu
[ April 15, 2005: Message edited by: Daniel Gazineu ]
reply
    Bookmark Topic Watch Topic
  • New Topic