Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User snoopyAU's Avatar
    Join Date
    Jul 2008
    Posts
    20
    Hi
    I just signed my application with thawte. I run my program to trigger the GPS device, it warns me with an exception message java.lang.SecurityException: Permission = javax.microedition.location.Location.
    Previously, the program was working when I didn't sign it

    Please anyone tell me what is happening

  2. #2
    Nokia Developer Champion honest_success's Avatar
    Join Date
    Sep 2007
    Posts
    915
    Which phone are you using? Is it a branded phone for an operator?
    What permissions are you requesting in the JAD file?

  3. #3
    Registered User snoopyAU's Avatar
    Join Date
    Jul 2008
    Posts
    20
    Quote Originally Posted by honest_success View Post
    Which phone are you using? Is it a branded phone for an operator?
    What permissions are you requesting in the JAD file?
    I am using Nokia N95 8GB
    It is not a branded phone
    I don't understand what are permissions for JAD file, is it set from API permissions tab of Netbean from Properties ?
    Last edited by snoopyAU; 2008-10-13 at 13:18.

  4. #4
    Nokia Developer Champion raj_J2ME's Avatar
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,314
    Hi,
    Yeah you are right..from this tag you can add all the permissions.
    Thanks
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  5. #5
    Registered User snoopyAU's Avatar
    Join Date
    Jul 2008
    Posts
    20
    I tried to add the API javax.microedition.location.Location and tick as required column. when I run the application, it works fine but it asks me for permission of using GPS device. I already sign my code how come it still asks me

  6. #6
    Regular Contributor morash's Avatar
    Join Date
    Jul 2003
    Posts
    89
    You will now need to goto App.Manager on your N95. scroll to your application, select open. This will show you all security permissions available. Since your application is now signed you can now choose Always allowed option for Location.

    For more on Java Signed please read this document
    http://www.forum.nokia.com/info/sw.n..._0_en.pdf.html

    or refer to Forum Nokia JavaME Developers Library.

  7. #7
    Nokia Developer Champion raj_J2ME's Avatar
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,314
    Hi,
    Yeah thats the way after doing it, application will never ask..
    Thanks.
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  8. #8
    Registered User snoopyAU's Avatar
    Join Date
    Jul 2008
    Posts
    20
    Thanks all!!!. It works for me already

Similar Threads

  1. java.lang.SecurityException:
    By vivartpandey in forum Mobile Java General
    Replies: 2
    Last Post: 2008-07-17, 07:28
  2. java.lang.SecurityException error
    By leonner in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2008-04-14, 03:35
  3. java.lang.SecurityException
    By maneeshv6 in forum Mobile Java General
    Replies: 9
    Last Post: 2008-03-25, 20:23
  4. java.lang.securityexception error
    By fuatsungur in forum Mobile Java Tools & SDKs
    Replies: 15
    Last Post: 2008-02-20, 16:15
  5. unusual java.lang.SecurityException
    By atantc in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2007-07-16, 20:09

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