GeeCON Prague 2014*
The moose likes Java Micro Edition and the fly likes Deploy a  signed J2me midlet on a real phone Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Deploy a  signed J2me midlet on a real phone" Watch "Deploy a  signed J2me midlet on a real phone" New topic
Author

Deploy a signed J2me midlet on a real phone

ying lam
Ranch Hand

Joined: May 17, 2004
Posts: 85
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

Joined: Mar 07, 2002
Posts: 1427
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?


Seam Framework: http://www.amazon.com/exec/obidos/ASIN/0137129394/mobileenterpr-20/
Ringful: http://www.ringful.com/
ying lam
Ranch Hand

Joined: May 17, 2004
Posts: 85
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

Joined: Mar 20, 2004
Posts: 156
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


SCJP 1.4
Everything that can go wrong will go wrong -Murphy
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Deploy a signed J2me midlet on a real phone