Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Can't open serial port on phone.

Thread Tools

Can't open serial port on phone.

Posts: n/a
Hi All,

I am using J2ME code to control serial port, however, I can't have it
work correctly.

Here is my error message:

FAILED withclass
The requested protocol does not exist comm:com0

my code:

comm = (StreamConnection)"comm:com0");

I also had tried the CommConnection:

(CommConnection)"comm:COM0;baudrate =115200",

I have tried on many SDK ( Nokia S40, S60, Sony Ericsson, Motorola
SDK ... )

The Moto SDK even can't run correctly, it will close emulator.


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
emulate a serial port in windows (create a virtual 'com' port) Pom Python 2 01-31-2007 07:49 PM
Serial Port(COM)Port Saref Aref Computer Information 2 02-14-2005 07:38 AM
Can I connect router Serial interface directly to a PC serial port? Faustino Dina Cisco 2 08-18-2004 02:30 AM
Re: Serial port and PS/2 port schematics OR Assistive Tech. suggestion Computer Support 1 07-10-2003 11:46 AM
Re: Serial port and PS/2 port schematics °Mike° Computer Support 1 07-09-2003 10:30 PM