Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deploy a signed J2me midlet on a real phone

 
ying lam
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can someone help me sign and deploy a midlet on a real phone.

I already purchase a code signing certificate from CA, following the steps to sign my midlet. But when i deploy it on a phone, I got a Security Exception.

I appreciate if anyone can help.
 
Michael Yuan
author
Ranch Hand
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello yinglcs yinglcs,

Please change your display name to conform to JavaRanch's naming policy, which you had agreed when you signed up:

http://www.javaranch.com/name.jsp

About your question: What tool did you use to sign the MIDlet? What is the process? Did it work on emulators?
 
ying lam
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using the ktoolbar of WTK 2.1 to sign my midlet.
I also have tried using the Nokia j2me tool kit 2.0. But it does not work either.

But I build my jar/jad using ANT instead of ktoolbar/Nokiai j2me tool kit.
Does that make a difference?

Thank you.
 
Punit Raizada
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I believe that if you are signing the MIDlet from the WTK and installing on the device then it will not work. The keys generated by the WTK are only for testing on the emulator.

To deploy a signed MIDlet on the device you need the key generated by some one like Versign or Thawte.

Iam in the same stage right now so please feel free to correct me if iam wrong.

Can anyone provide me some info on the process that is involved in getting a certificate. I have finished testing my MIDlet suite ( in the untrusted domain)... My midlet accesses the VideoControl.getSnapShot() method and its very annoying to have a popup every time.

Iam looking at how to get my MIDlet signed but if anyone could send me a few pointers .. it would be very helpful

Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic