×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Regular Contributor
    Join Date
    Oct 2005
    Posts
    83

    Unhappy Please HELP! Push Registry on signed MIDlet

    I have asked this before without getting an answer. Hopefully, I will have more luck this time.

    I am attempting to have a signed MIDlet on the SMS push registry. When I attempt to do this on MIDP-2 phones, the application is invalidated.

    Details:

    I have two versions that I have tried. First, a single MIDlet whose JAD file has the following line...
    MIDlet-Push-1: sms://:8765, com.MyCompany.Project.HelloWorld, *
    I have two versions of the JAD file. One is signed, the other isn't. When I install the unsigned version, it runs fine. When I install the signed version, the application is installed but is not runnable (it is shaded and the only option available is to delete it).

    The second version is a MIDlet suite that contains two apps. One app is the hello world. The other app is designed to put the first app on the Push registry. If I run the unsigned version of the push app, it runs fine. If I install the signed version of the suite, I get an exception when I run the push app.

    I have found that I have to problems with this on the Nokia 6100 (MIDP-1.0) but both the 6230i and 3220 (both MIDP-2.0) phones behave as above.

    Please help!!!! I have been on this for a week and have ordered extra phones (3220) to see if it was just a 6230 issue.

    Thanks,
    John

  2. #2
    Regular Contributor
    Join Date
    Oct 2005
    Posts
    83

    Re: Please HELP! Push Registry on signed MIDlet

    Turns out that with signed MIDlets, you have to request the permissions for Push and SMS in the manifest and JAD files to be able to use SMS with Push. I think it is odd that a signed MIDlet is more restricted in this sense than an unsigned MIDlet.

  3. #3
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    170

    Re: Please HELP! Push Registry on signed MIDlet

    I have the same Problem with my application on 6230i which accesses the Filesystem. I have seen in the Nokia Document about signing Midlets that there have to be 3 cert entries in the jad File. But every time I sign the Midlet the singning tool creates only two entries. The unsigned app works fine except for the Filesystem access. I have not solved this problem. I send my app to javaverisign to get it signed. :-(

  4. #4
    Regular Contributor
    Join Date
    Oct 2005
    Posts
    83

    Re: Please HELP! Push Registry on signed MIDlet

    I got a certificate from Verisign. When I sign a package the following is added to the jad file...

    MIDlet-Certificate-1-1: ...
    MIDlet-Certificate-1-2: ...
    MIDlet-Jar-RSA-SHA1: ...

  5. #5
    Registered User
    Join Date
    Jun 2005
    Posts
    28

    Smile Re: Please HELP! Push Registry on signed MIDlet

    So does it work?

  6. #6
    Regular Contributor
    Join Date
    Oct 2005
    Posts
    83

    Re: Please HELP! Push Registry on signed MIDlet

    What it? I found out that to use the Push registry in a signed MIDlet, you have to specify that permission in the manifest and JAD files. Also signing does work.

  7. #7
    Registered User
    Join Date
    Nov 2003
    Posts
    44

    Re: Please HELP! Push Registry on signed MIDlet

    Try adding this to your MIDlet-Permissions Entry: javax.microedition.io.PushRegistry, javax.microedition.io.Connector.sms, javax.wireless.messaging.sms.receive

  8. #8
    Nokia Developer Expert
    Join Date
    Jun 2005
    Posts
    923

    Re: Please HELP! Push Registry on signed MIDlet

    A signed midlet *must* request all permissions it would like to have in the JAD file. With an unsigned midlet, you *can't* specify any permissions in the JAD file.

    Daniel

Similar Threads

  1. Push Registry Problem..SMS Demo
    By dhamodharan in forum Mobile Java General
    Replies: 2
    Last Post: 2005-11-24, 00:32
  2. Please HELP! Push Registry on signed MIDlet
    By johnbutler in forum Mobile Java General
    Replies: 3
    Last Post: 2005-11-03, 12:31
  3. Java AppServer 'wakes up' a MIDlet using WMA, Push
    By idrop in forum Mobile Java Networking & Messaging & Security
    Replies: 9
    Last Post: 2004-10-22, 17:57
  4. Push Registry
    By bugbug in forum Mobile Java General
    Replies: 0
    Last Post: 2004-10-05, 05:44
  5. push registry midlet in Nokia 6600/emulator
    By Wah in forum Mobile Java General
    Replies: 0
    Last Post: 2003-11-18, 09:26

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×