×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Mar 2009
    Posts
    8

    always asks permission to read or write from contacts

    hi all

    i m developing an application related to contacts...but everytime i access the contact list...it asks permission as in "ALLOW APPLICATION TO READ DATA IN CONTACTS THIS APPLICATION IS NOT FROM A TRUSTED SUPPLIER..."

    AND WHEN I PREE YES THEN IT GETS GOING...
    it is getting irritating as to write 500 contacts to my phone i have to press 500 times yes on the screen...

    is there any way to programatically always allow the operation to continue and user should not be asked to grant their permission everytime???? or some way that the mobile device considers the application to be certified and allow it to use without permission??

    thanks in advance

    regards
    BASANT

  2. #2
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: always asks permission to read or write from contacts

    The must change the security settings. You can probably select "ask once", and reduce from 500 times to one. To enable the "always allow" option, you will need to sign the application with a trusted certificate. What certificate the device will trust depends on the device. Main candidates are Thawte, Verisign and JavaVerified.

    Cheers,
    Graham.

  3. #3
    Super Contributor
    Join Date
    Jan 2008
    Location
    Amravati, India
    Posts
    546

    Re: always asks permission to read or write from contacts

    Quote Originally Posted by basant38 View Post
    it is getting irritating as to write 500 contacts to my phone
    If you are talking about writing contacts using JSR 75 PIM API on Nokia S60 phones then even signing won't help because even if you set permissions ReadUserData and EditUserData to Always Allowed then also it will ask for user confirmation for each contact. This is a Known Issue in S60 phones.

  4. #4
    Super Contributor
    Join Date
    Sep 2008
    Location
    Noida, U.P.
    Posts
    1,330

    Thumbs up Re: always asks permission to read or write from contacts

    hi,
    to avoid such confirmation msgs u have to sign ur application. U can also set the permissions in app manager for ur application but there are only two options in s60 devices for reading and writing data ie.
    1. not allowed
    2. ask every time

    yeah in sony u get the four options regarding that (k790i,k810i)
    1. not allowed
    2. ask every time
    3. ask once
    4. never ask

    so for sony devices u have to sign ur application to avoid such confirmations.
    Please checkout the links for signing process..
    http://wiki.forum.nokia.com/index.ph...ess_in_Java_ME
    http://wiki.forum.nokia.com/index.ph...ning_-_Java_ME

    Hope this makes sense to u..
    thanks,
    jitu_goldie..

    KEEP TRYING..

Similar Threads

  1. call Read after Write to a socket get -25 error
    By bill-wang in forum Symbian
    Replies: 1
    Last Post: 2008-08-30, 11:01
  2. read and write to a connection
    By arungupta_2jan in forum Mobile Java Networking & Messaging & Security
    Replies: 5
    Last Post: 2008-08-02, 10:58
  3. Replies: 13
    Last Post: 2008-07-23, 17:06
  4. About using PIM API to read Nokia 7360 contacts information
    By jack_lu in forum Mobile Java General
    Replies: 0
    Last Post: 2007-11-14, 08:17
  5. read and write Chinese menu in J2ME
    By walterzcm in forum Mobile Java General
    Replies: 0
    Last Post: 2002-11-13, 06:22

Posting Permissions

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