• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Deploy a signed J2me midlet on a real phone

 
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author
Posts: 1436
6
Python TypeScript Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic