wood burning stoves 2.0*
The moose likes Java Micro Edition and the fly likes problem with nokia develkoper's suit Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "problem with nokia develkoper Watch "problem with nokia develkoper New topic
Author

problem with nokia develkoper's suit

Kurinchikumaran Thavarajah
Greenhorn

Joined: Dec 06, 2004
Posts: 13
Hi all,
I developed an application for accessing web services and it works well with wireless tool kit. But when I run the jad file ,created by the wireless tool kit, with nokia developer's suit, it gives the following error message

"A Class was not found during the execution, It is possible that preverifying has failed. if you compiled the classes with the J2SDK 1.4.1 or later, please check that you use the compiler option "-target 1.1" , which generates class files for all java SDKs. Also note that the default emulator used for preverifying must support the APIs which are used by the classes in the classpath."

And while checking with nokia 3650 phone, When I click the send button, it gives the following error.

"Application error, illegal state exception"

please anybody help me to solve this problem. Please explain every step I have to do.
Joel Karimpil
Ranch Hand

Joined: Oct 04, 2004
Posts: 53
i think u have used MIDP 2.0 and the Nokia Emulator supports MIDP 1.0


Yours Truly,
Joel Karimpil
Kurinchikumaran Thavarajah
Greenhorn

Joined: Dec 06, 2004
Posts: 13
Hi Joel Karimpil
thanks for ur reply.

I checket it with midp1 and midp2. but it gives the same message.

With nokia 3650 I could install the jar file using bluetooth. Simple programs for displaying messages are works well. But when I run my application, When I click the send button to connect to the remote machine it throws "Application error , Illegal state exception". Is it due to lack of supporting of the phone?

But I couldn't install the jar file in nokia 6600 phone. While installing it throws "Authorization fail" error

My application uses HttpConnection to connect to the remote machine.Since I use this connection, should I sign the permission with Nokia develops suite?
Is signing necessory for this? But I thing it is not necessory for testing purposes. I'm using Nokia Developer's suite with eclipse for my developments. Can u explain all the steps to create the jad and jar files using the Nokia Developer's suite and deploying them in the phone.
Fred Grott
Ranch Hand

Joined: Oct 05, 2002
Posts: 346
signing is not necessry on midp2 but you shold see a non signed app alert when you load it..

yes you should sign it since you are using network services..


MobileBytes blog - Sharing Technology - My Programming Knols
Kurinchikumaran Thavarajah
Greenhorn

Joined: Dec 06, 2004
Posts: 13
can anybody explain how to sign the midlet.

I created new key pair and the certificate signing request using nokia developers suite.

But I don't know where to send this csr file for getting the certificate.

So , please give the web address where I can get the certificate.
Michael Yuan
author
Ranch Hand

Joined: Mar 07, 2002
Posts: 1427
1. Did you use the J2ME Web Services API on the WTK? This API is not supported on Nokia devices. You have to use the 3rd party kSOAP.

2. Application signing will not help you here.

3. If you really want to sign you application you need to purchase ($400 or something) a cert from verisign.


Seam Framework: http://www.amazon.com/exec/obidos/ASIN/0137129394/mobileenterpr-20/
Ringful: http://www.ringful.com/
Kurinchikumaran Thavarajah
Greenhorn

Joined: Dec 06, 2004
Posts: 13
Can u tell me , Which phones supprt Sun's API? And let me know the MIDP version
 
wood burning stoves
 
subject: problem with nokia develkoper's suit