You Are Here:

Community: Developer Discussion Boards

#1 Old N80 CommConnection Problem - 2006-10-19, 15:15

Join Date: Feb 2005
Posts: 7
Avi Mizrahi
Offline
Registered User
I am trying to run the CommConnection demo code from Nokia site (taken from the article "MIDP_Using_Cable_Connection_In_Nokia_Devices_v1_0.zip")

But it crashes with an OutOfMemoryError when reaching the line:
comm = (CommConnection)Connector.open("comm:com0");

Any idea why this is happening ?

Firmware:
V 3.0617.0.6
03-05-2006
RM-92
Nokia N80 (11)

thanks,
Avi
Reply With Quote

#2 Old Re: N80 CommConnection Problem - 2006-11-20, 23:48

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
Hi Avi,

Sorry for the long delay, but finally I was able to test this a little and I found out that using "USB1" connection works on S60 devices, for some reason "COM0" crashes the midlet, although it is listed in the "microedition.commports" return string. I need to still find out why this happens - I just want to let you first know how to create a work around.

I would also advice adding flush() after writing anything to the output stream.

Hartti
Reply With Quote

#3 Old Re: N80 CommConnection Problem - 2008-05-18, 13:34

Join Date: May 2008
Posts: 1
lukelincoln
Offline
Registered User
Hartti

I know this thread is old, BUT I spent days wondering why my midlet was crashing, I tried everything including a new DKU-2 cable, I almost got the the point there I thought about switchin from nokia to another manufacturer (shame on me....;).

So a big thank you the Hartti for sharing this information with us.

Does anyone know if this kind of thing is particular to the N80? or does it affect all the N series. My application needs to run on all S60 phones in particular the N series phones especially.

Regards

Luke Lincoln
Reply With Quote

#4 Old Re: N80 CommConnection Problem - 2008-05-18, 19:22

Join Date: May 2007
Posts: 347
Location: Mexico D.F
rdrincon's Avatar
rdrincon
Offline
Forum Nokia Expert
Hello lukelincoln

I also tried on a N73 phone and had the same problem.... And as hartti said I had to use the "USB1" port...

So I would dare to say that it affects all the N Series...
Last edited by rdrincon : 2008-05-18 at 19:23. Reason: misspelling
Reply With Quote

#5 Old Re: N80 CommConnection Problem - 2008-06-16, 08:24

Join Date: Jun 2008
Posts: 1
dc_andreas
Offline
Registered User
Quote:
Originally Posted by rdrincon View Post
Hello lukelincoln

I also tried on a N73 phone and had the same problem.... And as hartti said I had to use the "USB1" port...
Same here (also N73), and I'm glad I found this post so quickly, having only spend a few hours to figure out why the MIDlet from the demo code was crashing.

Now off to the real challenge...
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
Similar Threads
Thread Thread Starter Forum Replies Last Post
netcards - Problem with opening adapter kernj Symbian Tools & SDKs 5 2007-01-10 09:56
certificate problem with N80 saraa Installation, Certification and Security 12 2006-10-17 17:35
CommConnection problem pls help kirtimishra0609 Mobile Java General 2 2005-06-07 09:06
Problem: S60 SDK for CW in PC with .NET anttij Carbide.c++ IDE and plug-ins 1 2005-02-28 12:36
CommConnection does not work with Series 60 SDK, but works in JWT jackiechan2001 Mobile Java Tools & SDKs 1 2004-02-04 10:07

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