You Are Here:

Community: Developer Discussion Boards

Reply « Previous Thread | Next Thread »

#1 Old Serial port (comm) access through J2ME - 2003-05-14, 16:31

Join Date: Apr 2003
Posts: 3
mimmesmo
Offline
Registered User
I would like to know why Nokia doesn't support the "comm:" connection descriptor for it's Java J2ME phones with serial port?

We created interesting products using serial port connection on other J2ME devices with J2ME and we would like to do it with Nokia phones.

I would like to know why Nokia doesn't support it and if it will be supported on newer phone models.

Thanks.
Reply With Quote

#2 Old 2003-06-30, 09:32

Join Date: Apr 2003
Posts: 7
munlee
Offline
Registered User
hi

i'm also interested in developing j2me applications for a phone which communicates data through cable to pc (possibly serial).

could your tell me which other phones/models you have tested will support j2me with serial port?

thanks!
Reply With Quote

#3 Old 2003-07-22, 21:14

Join Date: Jul 2003
Posts: 3
akolesar
Offline
Registered User
I'm also interested in this problem. I would like to get GPS position via serial cable. Could anybody work around this issue?
Reply With Quote

#4 Old Serial port access - 2003-07-26, 15:42

Join Date: Jul 2003
Posts: 6
timwilliams1971
Offline
Registered User
Just like to add that I, too, am interested in this. There are loads of legacy devices out there that support RS232, so how can I access the port on the phone?

-- Tim
Reply With Quote

#5 Old I need serial access through j2me - 2003-08-08, 12:36

Join Date: Aug 2003
Posts: 3
reginr
Offline
Registered User
Hi guys!, I would like to add my self on the list :), I guess the reason they didnt include it is because of security reason, imagine downloading a java application that secretly communicates with other devices giving out information ..... (if its possible)
Reply With Quote

#6 Old 2003-08-09, 12:25

Join Date: Aug 2003
Posts: 2
graywolf
Offline
Registered User
Due to the fact that I had to buy a new series 40 phone, I was being very curious to use it with embedded systems.

However it now unfortunately looks like it is not possible to use neither serial nor infrared connection via java applications. I say that this is being a big fault but guess the Nokia knows what it is doing..
Reply With Quote

#7 Old 2003-08-11, 06:52

Join Date: Aug 2003
Posts: 3
reginr
Offline
Registered User
Hi graywolf! thanks for reply, however I cant stop wondering why did nokia supported c++ /symbian for bluetooth, irda and serial access?
Reply With Quote

#8 Old 2003-08-12, 12:14

Join Date: Aug 2003
Posts: 2
graywolf
Offline
Registered User
I've done searches on this forum (and least one other) about IrDa and Pop-port serial interface for more information. All replies to those questions I've seen have been 'sorry, it is not possible'.

However I haven't seen any replies that would have explained why it is not made to be possible with current J2ME API. That was one thing that Mimmesmo was trying to ask about. Or maybe we all have missed that reply at some point, I don't know.
Reply With Quote

#9 Old 2003-08-13, 03:54

Join Date: Aug 2003
Posts: 3
reginr
Offline
Registered User
hmmm... is it that nokia maybe ".NET" freindly rather than java?... or has the intention of supporting .NET?
Reply With Quote

#10 Old 2003-08-26, 00:38

Join Date: Aug 2003
Posts: 1
jcovner
Offline
Registered User
The issue is with the sandbox security model of Java. And phone manufacturers don't want people hacking the phones.

Now...I've heard it may be possible with the Symbian Series 60 phones. Anyone know how/where that information is?
Reply With Quote

#11 Old 2003-09-04, 16:51

Join Date: Jun 2003
Posts: 18
amattiuz
Offline
Registered User
If thre is no way to use seral port communication wiht J2ME, does anybody knows if we can use it with Symbian or C++ or another thing???

And how about MIDP 2.0 devices??? I have read that MIDP 2.0 devices can use this kind of communication...
Reply With Quote

#12 Old 2003-09-10, 08:56

Join Date: Mar 2003
Posts: 31
maffeis
Offline
Registered User
Access to the serial port through the MIDP connection framework
is an optional feature in MIDP 1.0 (and 2.0). If the MIDP implementation supports the serial protocol, then you can try something like
StreamConnection sc = (StreamConnection)Connector.open("comm:0;baudrate=9600");

Good luck ;-)

silvano
Reply With Quote

#13 Old 2003-09-10, 14:17

Join Date: Jun 2003
Posts: 18
amattiuz
Offline
Registered User
Thanks!!! ;o)

It works on emulators.....
Is there any NOKIA device that support this kind of connection?? 7650???
Reply With Quote

#14 Old 2003-09-11, 12:48

Join Date: Mar 2003
Posts: 31
maffeis
Offline
Registered User
The Motorola i85 supports that, AFAIK.
I'm not sure about Nokia devices, probably not I'm afraid.

silvano
Reply With Quote

#15 Old 2003-09-12, 14:11

Join Date: Jun 2003
Posts: 18
amattiuz
Offline
Registered User
Well, then I think it is not possible to connect anything to the serial port using J2ME.... I´d like to connect a GPS, but I think I´m gonna have to use another language or another way to connect...
Does anybody have any ideas???
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia