| Reply | « Previous Thread | Next Thread » |
|
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 |
| Avi Mizrahi |
| View Public Profile |
| Find all posts by Avi Mizrahi |
|
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 |
|
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 |
| lukelincoln |
| View Public Profile |
| Find all posts by lukelincoln |
|
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
|
|
Quote:
Now off to the real challenge... |
| dc_andreas |
| View Public Profile |
| Find all posts by dc_andreas |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| 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 |