Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User paskuniak's Avatar
    Join Date
    Oct 2009
    Posts
    25
    Hi all,

    I've found this post when looking for how to access the contact list:
    http://forums.sun.com/thread.jspa?threadID=5344397
    The problem is that it asks the user 3 times(!) for permission...
    Isn't there a way that asks only once?

    Thanks...

  2. #2
    Nokia Developer Moderator r2j7's Avatar
    Join Date
    Aug 2007
    Posts
    1,595
    Hello paskuniak,

    couple of options:

    1) In case you need to remove prompts during application development i.e. you do not necessarily need a real device, you can use some SDK emulator which (with esp. Nokia SDK emulators in mind) usually enables setting the access rights to maximum (=removes all the prompts for good).

    2) If you are using some device and you need to remove the prompts esp. for that, then depending on the device you would need to either a) set the access settings manually to something else than what is currently set as default (and which results in the current prompting), or alternatively in case of unsigned application and no chance to set the access settings to prompt only once for it, b) you need to sign the application by using some Java ME code signing certificate for 3rd party Java MIDlets, and, in case of no improvement in terms of less prompting after signing, then change the access settings manually for your device.

    Regards,
    r2j7

  3. #3
    Nokia Developer Champion im2amit's Avatar
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    2,903
    Quote Originally Posted by paskuniak View Post
    Hi all,

    I've found this post when looking for how to access the contact list:
    http://forums.sun.com/thread.jspa?threadID=5344397
    The problem is that it asks the user 3 times(!) for permission...
    Isn't there a way that asks only once?

    Thanks...
    Yes, go to application manager and edit permissions setting for your app, make it "Ask only Once" for reading user data. but if this setting is grayed out for your application on your target device then you may need to sign your app with some trusted 3rd party code signing certificate from some signing authority, install the app again and then go to settings again to set it to ask only once.
    thanks,
    ~Amitabh
    (Poster of the Month -Dec'12)
    Follow me on my blog for Innovative Mobile Apps

Similar Threads

  1. Contact list
    By GonzaloP in forum Mobile Java General
    Replies: 9
    Last Post: 2008-11-01, 00:31
  2. Replies: 3
    Last Post: 2008-08-11, 13:13
  3. Replies: 1
    Last Post: 2006-09-21, 00:40
  4. Contact List Box
    By tripiri in forum Symbian User Interface
    Replies: 0
    Last Post: 2005-01-13, 12:13
  5. Accessing the phone's own number from MIDlet
    By roarl in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2003-03-08, 14:30

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved