×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User
    Join Date
    Mar 2010
    Posts
    9

    Unhappy Help! Problem With Push Registry

    Hello,

    I've got a problem with installing my application which is triggered by a push registry. I download my application by OTA but when it comes to the installation, I receive an error message which is "operation failed". After hours of reseaches, I guess this problem occurs due to the missed permissions for the push registry in .jad & manifest files.Please help me to define those permissions for my application to work with push registry capability.

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,073

    Re: Help! Problem With Push Registry

    It should be:

    MIDlet-Permissions: javax.microedition.io.PushRegistry, javax.microedition.io.Connector.sms, javax.wireless.messaging.sms.receive,javax.wireless.messaging.sms.send,javax.microedition.io.Connector.cbs,javax.wireless.messaging.cbs.receive,javax.microedition.io.Connector.mms,javax.wireless.messaging.mms.receive,javax.wireless.messaging.mms.send

    Try the above, it takes permissions for PushRegistry, SMS, MMS, CBS all.

    thanks,
    ~Amitabh

  3. #3
    Registered User
    Join Date
    Mar 2010
    Posts
    9

    Exclamation Re: Help! Problem With Push Registry

    Quote Originally Posted by im2amit View Post
    It should be:

    MIDlet-Permissions: javax.microedition.io.PushRegistry, javax.microedition.io.Connector.sms, javax.wireless.messaging.sms.receive,javax.wireless.messaging.sms.send,javax.microedition.io.Connector.cbs,javax.wireless.messaging.cbs.receive,javax.microedition.io.Connector.mms,javax.wireless.messaging.mms.receive,javax.wireless.messaging.mms.send

    Try the above, it takes permissions for PushRegistry, SMS, MMS, CBS all.

    thanks,
    ~Amitabh
    Amitabh thank you very much, but it didn't work. I paste MIDlet part of the .jad and the manifest below:

    DeviceBrand: SonyEricsson
    DeviceModel: SE
    MIDlet-1: V-Music,/smfres/icon.png,biz.mobinex.smartface.player.SmartfaceMidlet
    MIDlet-Jar-Size: 331838
    MIDlet-Jar-URL: V-Music.jar
    MIDlet-Name: V-Music
    MIDlet-Push-1: sms://:1112, biz.mobinex.smartface.player.SmartfaceMidlet, *
    MIDlet-Vendor: Company
    MIDlet-Version: 2.5.2
    MIDlet-Permissions: javax.microedition.io.PushRegistry, javax.microedition.io.Connector.sms, javax.wireless.messaging.sms.receive,javax.wireless.messaging.sms.send,javax.microedition.
    io.Connector.cbs,javax.wireless.messaging.cbs.receive,javax.microedition.io.Connector.mms,
    javax.wireless.messaging.mms.receive,javax.wireless.messaging.mms.send
    MicroEdition-Configuration: CLDC-1.1
    MicroEdition-Profile: MIDP-2.0

    Manifest:

    Manifest-Version: 1.0
    DeviceModel: SE
    MIDlet-Vendor: Company
    MIDlet-Version: 2.5.2
    MIDlet-Permissions: javax.microedition.io.PushRegistry, javax.microedi
    tion.io.Connector.sms, javax.wireless.messaging.sms.receive,javax.wire
    less.messaging.sms.send,javax.microedition.io.Connector.cbs,javax.wire
    less.messaging.cbs.receive,javax.microedition.io.Connector.mms,
    javax.wireless.messaging.mms.receive,javax.wireless.messaging.mms.send
    DeviceBrand: SonyEricsson
    MIDlet-1: V-Music,/smfres/icon.png,biz.mobinex.smartface.player.Smartf
    aceMidlet
    MicroEdition-Configuration: CLDC-1.1
    MIDlet-Name: V-Music
    MicroEdition-Profile: MIDP-2.0
    MIDlet-Push-1: sms://:1112, biz.mobinex.smartface.player.SmartfaceMidl
    et, *

    What else I should check?

    Thanks

    Doktor Kod
    Last edited by Doktor Kod; 2010-03-31 at 07:59.

  4. #4
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,073

    Re: Help! Problem With Push Registry

    You need to sign your midlet using at least 3rd party trusted certificate(supported by your target device) to install on the device with pushRegistry permissions.

    Test on WTK emulator OTA mode for testing yor permission settings.

    thanks,
    ~Amitabh

  5. #5
    Registered User
    Join Date
    Mar 2010
    Posts
    9

    Re: Help! Problem With Push Registry

    I signed my application with a Verisign Certificate, however, I will test on WTK emulator OTA mode for the permission settings.

  6. #6
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,430

    Re: Help! Problem With Push Registry

    Hi Doktor Kod! Welcome to Forum Nokia Developer Discussion Boards!!

    Which device are you trying with ? If I understand from your JAD, if its a Sony Ericsson, I dont have much clues.

    But pls give a try with different port number like 16544 or similar - ensure there is no app installed already with same port number.

    Have you tried installing the app via a datacable or BT ? Does it work ?

    Regards
    Gopal

  7. #7
    Registered User
    Join Date
    Mar 2010
    Posts
    9

    Re: Help! Problem With Push Registry

    Hello Gopal,

    I've already removed the registry push from my app and it worked by OTA.

    Then I sent my app to my devices by Bluetooth and worked too.

    But when I add the registry push, it didn't work on the tests I've made on various models of Nokia&Ericsson.

    It's probably because I couldn't correcly define the necessary permissions on both the manifest and on the .jad.

    But I will also give a try for changing ports used by the application.

    Thank you very much.
    Last edited by Doktor Kod; 2010-03-31 at 08:48.

  8. #8
    Registered User
    Join Date
    Mar 2010
    Posts
    9

    Re: Help! Problem With Push Registry

    Amitabh,

    When I added those lines for the permission and tested with the WTK, I received the following message:

    com.sun.kvem.midletsuite.InvalidJadException: Reason = 36

    Error in opening jar file: C:\Documents and Settings\Engin\Desktop\stest\.......SonyEricsson\V-Music.jar

    please, this is so urgent. Any help?

  9. #9
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,430

    Re: Help! Problem With Push Registry

    Pls try in real device for best results.

    Regards
    Gopal

Similar Threads

  1. push registry problem
    By kayoni in forum Mobile Java Networking & Messaging & Security
    Replies: 3
    Last Post: 2008-03-05, 21:13
  2. problem while developing Push registry application
    By aby_brahmane in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2008-02-29, 16:52
  3. problem using Push Registry
    By doesitmatter in forum Mobile Java General
    Replies: 1
    Last Post: 2008-01-29, 20:38
  4. push registry port problem
    By Larry101 in forum Mobile Java General
    Replies: 7
    Last Post: 2007-12-14, 22:46
  5. MIDP 2.0 Push Registry and WAP push
    By chandu_bgm in forum Mobile Java General
    Replies: 2
    Last Post: 2003-09-22, 06:54

Posting Permissions

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