×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor
    Join Date
    Nov 2009
    Posts
    53

    [Moved] How can I get rid of those prompts?!!!

    Hello,

    My application is signed using a VeriSign Code signing certificate and requires the following permissions:

    javax.microedition.io.Connector.http
    javax.microedition.io.Connector.socket,
    javax.microedition.io.Connector.file.read,
    javax.microedition.io.Connector.file.write,

    I have listed these permissions in my JAR and JAD file using the Application Descriptor, MIDlet-Permissions.

    What I dont understand is that I still get prompts such as 'Allow Application ... to read user data' etc. Can I disable these during certain sections of code or altogether? Is there an application descriptor that disables these prompts?

    I am using an E71, (S60 3ed FP1).

    Thanks in advance.


    Dharmesh

  2. #2
    Regular Contributor
    Join Date
    Nov 2009
    Posts
    53

    Re: [Moved] How can I get rid of those prompts?!!!

    Someone must have a clue?

  3. #3
    Super Contributor
    Join Date
    Apr 2007
    Posts
    2,708

    Re: [Moved] How can I get rid of those prompts?!!!

    well in the paplication manager of your device you should set those specific permissions to "always allow"...
    it won't do it on it's own, your certificate only tells the device that this extra option (always allow) should be available for the user to select...
    this can NOT be achieved programmatically...

  4. #4
    Nokia Developer Expert
    Join Date
    Aug 2007
    Posts
    1,595

    Re: [Moved] How can I get rid of those prompts?!!!

    Hello dharmeshkhatri,

    as Tiger79 said, for Java applications signed with a 3rd party code signing certificate 'Always allowed' setting can be set via Application manager only.

    In addition, the default access settings for signed MIDlets (which will be effective right after signing) depends on the platform and Edition for that platform and also on the API protection group in question. For example for your device (S60 3rd Edition, Feature Pack 1), the list of default values for signed application can be found from 'Trusted 3rd party domain' table: API access rights on phones, S60 3rd FP1

    More about the security domain policies can be found from Forum Nokia Wiki: Java Security Domains

    Regards,
    r2j7
    [URL="http://library.forum.nokia.com/java"][B] >>> Java Developer's Library <<<[/B][/URL]
    [URL="https://www.developer.nokia.com/Resources/Support/Technical_support.xhtml"] [B]>>> Technical Support for Java ME development <<<[/B][/URL]
    [URL="https://publish.ovi.com/info/"][B]>>> Nokia Publish: reach millions of Nokia users worldwide through Nokia Store <<<[/B][/URL]

  5. #5
    Regular Contributor
    Join Date
    Nov 2009
    Posts
    53

    Re: [Moved] How can I get rid of those prompts?!!!

    Thanks,

    But, this is an application that going on sale, I can have prompt appearing now and then!

  6. #6
    Nokia Developer Expert
    Join Date
    Aug 2007
    Posts
    1,595

    Re: [Moved] How can I get rid of those prompts?!!!

    Unfortunately for most of the Nokia devices (Symbian devices up till S60 3rd Edition, Feature Pack 1 and all Series 40 devices), there is no other way for Java applications than modify the settings via Application manager as defined by Tiger79.

    In Symbian devices starting from S60 3rd Edition, Feature Pack 2, this has been improved by enabling an interaction mode dialog which allows end user to set the preferred access settings for an API belonging to a function group when using the API for the very first time. More about this in Forum Nokia Java Developer's Library:

    Java Developer's Library 3.5 > Developer's Guides > Security > Introduction to MIDP security > Security prompts

    For Series 40 devices and Symbian devices before S60 3rd Edition, Feature Pack 2: In order to minimize end user pain, the application could deliver instructions for end user how he/she can modify the settings via Application manager.

    Regards,
    r2j7
    [URL="http://library.forum.nokia.com/java"][B] >>> Java Developer's Library <<<[/B][/URL]
    [URL="https://www.developer.nokia.com/Resources/Support/Technical_support.xhtml"] [B]>>> Technical Support for Java ME development <<<[/B][/URL]
    [URL="https://publish.ovi.com/info/"][B]>>> Nokia Publish: reach millions of Nokia users worldwide through Nokia Store <<<[/B][/URL]

Similar Threads

  1. How to get rid of focus rectangle?
    By stegemann in forum Qt
    Replies: 6
    Last Post: 2010-02-28, 17:59
  2. Contact List access produces three(!) prompts about reading and writing user data
    By kartik_vad in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2009-05-23, 13:40
  3. [JSR75] Signed app, but I still get prompts
    By Dyvanu in forum Mobile Java Tools & SDKs
    Replies: 4
    Last Post: 2008-11-30, 19:23
  4. Removing 'Allow application ...' prompts
    By adrian.jones in forum Mobile Java General
    Replies: 4
    Last Post: 2007-02-15, 23:51
  5. Replies: 0
    Last Post: 2006-02-24, 11:44

Posting Permissions

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