This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem with nokia develkoper's suit

 
Kurinchikumaran Thavarajah
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i think u have used MIDP 2.0 and the Nokia Emulator supports MIDP 1.0
 
Kurinchikumaran Thavarajah
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 346
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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..
 
Kurinchikumaran Thavarajah
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Kurinchikumaran Thavarajah
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can u tell me , Which phones supprt Sun's API? And let me know the MIDP version
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic