×

Discussion Board

Results 1 to 11 of 11
  1. #1
    Regular Contributor
    Join Date
    Dec 2008
    Posts
    124

    Push Registry problem

    Hi all!
    I want to use push registry only one time confirmation when it exit or start up my application. but i have no idea with it. Like code below it can push my application auto start when message come on port 50000. how can i do what i need above.
    PHP Code:
    try {
                
    String[] connections;
                
    connections PushRegistry.listConnections(true);
                if (
    connections.length != 0) {
                    
    connections PushRegistry.listConnections(false);
                } else {
                    
    PushRegistry.registerConnection("sms://:50000""smsSys.MessageSys""*");
                }
            } catch (
    ClassNotFoundException ex) {
                
    ex.printStackTrace();
            } catch (
    IOException ex) {
                
    ex.printStackTrace();
            } 
    Please Help me to do that.

    Thanks,,
    Raksa,,

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

    Re: Push Registry problem

    The user will be asked for the confirmation whenever this code block is execuated, if you want it only at the time of install of the app i.e. one time, you may need to use Static Push Regsitry entry in the JAD file for this app and sign it with a trusted certificate along with adding permissions line in the jad for the same.

    thanks,
    ~Amitabh

  3. #3
    Regular Contributor
    Join Date
    Dec 2008
    Posts
    124

    Re: Push Registry problem

    could you tell me about where can i get trusted certificate. do i need to pay on it or what

    thanks,,
    Raksa,,

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

    Re: Push Registry problem

    You need buy this certificate from Verisign for around $499 for 1 year and you can sign as many apps you want in 1 year .
    using it.

    thanks,
    ~Amitabh

  5. #5
    Regular Contributor
    Join Date
    Dec 2008
    Posts
    124

    Re: Push Registry problem

    don't have anychoice. i mean got it free to sign .

    thanks,,
    Raksa,,

  6. #6
    Registered User
    Join Date
    Oct 2009
    Location
    Noida
    Posts
    941

    Re: Push Registry problem

    On which device you want to test your app ?

    thanks,
    Ekta

  7. #7
    Regular Contributor
    Join Date
    Dec 2008
    Posts
    124

    Re: Push Registry problem

    Can i test all device? if can test on sony K530i

    Thanks,,
    Raksa,,

  8. #8
    Registered User
    Join Date
    Oct 2009
    Location
    Noida
    Posts
    941

    Re: Push Registry problem

    Some devices will allow you to set these permissions to ask only once from application manager, try it on your test device.
    Otherwise for most of them you will need to buy a certificate.

    thanks,
    Ekta

  9. #9
    Regular Contributor
    Join Date
    Dec 2008
    Posts
    124

    Re: Push Registry problem

    So still need to sign with with verisign or buy them

  10. #10
    Registered User
    Join Date
    Oct 2009
    Location
    Noida
    Posts
    941

    Re: Push Registry problem

    Yes, I feel so.

    thanks,
    Ekta

  11. #11
    Regular Contributor
    Join Date
    Dec 2008
    Posts
    124

    Re: Push Registry problem

    Hi all!
    if sign with verisign what type of phone can sign it. that price much expensive bec this app for public use. any recommend the free sign product .

    Thanks,,
    Raksa,,

Similar Threads

  1. MIDLET not getting started automatically by push registry
    By ayan_sen in forum Mobile Java Networking & Messaging & Security
    Replies: 5
    Last Post: 2011-07-01, 12:37
  2. push registry problem
    By kayoni in forum Mobile Java Networking & Messaging & Security
    Replies: 3
    Last Post: 2008-03-05, 21:13
  3. 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
  4. problem using Push Registry
    By doesitmatter in forum Mobile Java General
    Replies: 1
    Last Post: 2008-01-29, 20:38
  5. push registry port problem
    By Larry101 in forum Mobile Java General
    Replies: 7
    Last Post: 2007-12-14, 22:46

Posting Permissions

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