×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Aug 2011
    Posts
    20

    Unhappy can i implement location awareness on S40 devices

    hi,
    i am doing a certain project that requires to know the user's current location without necessarily having to ask them.i have reached a dead end here and i am wondering whether there's a way or an API i could use to make this work on S40 devices.thanks

  2. #2
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: can i implement location awareness on S40 devices

    Yoiu could get the GPS position, and then use Reverce Geo coding for determinig the location maybe, examples for both functions available at the wiki: http://www.developer.nokia.com/Commu...PI_for_Java_ME

  3. #3
    Nokia Developer Expert
    Join Date
    Aug 2011
    Posts
    555

    Re: can i implement location awareness on S40 devices

    Hi ali30

    without necessarily having to ask them
    If you are referring to the prompts that ask the user to allow the location retrieval, the best you could do, as a 3rd party developer, is to change the application's default behavior, so that only one user prompt is displayed. This can be done by signing your application. You cannot eliminate all the prompts by default, but what you can do, by signing your application, is to instruct the end user, after installation, to manually change the access level to "Always Allowed" (meaning that no prompts will be shown) as follows:
    Highlight the application but not launch it > Select Options > Application Access > Positioning > Get Location > Always Allowed.
    Last edited by skalogir; 2012-03-21 at 08:35.

Similar Threads

  1. Replies: 0
    Last Post: 2011-02-02, 10:14
  2. Post-install package (javax.microedition.location.Location)
    By null99 in forum Mobile Java General
    Replies: 8
    Last Post: 2010-06-22, 04:54
  3. How to decide screen orientation awareness?
    By raj_rr7 in forum Symbian Media (Closed)
    Replies: 9
    Last Post: 2009-07-03, 15:21
  4. java.lang.SecurityException javax.microedition.location.Location
    By snoopyAU in forum Mobile Java General
    Replies: 7
    Last Post: 2008-10-14, 01:42
  5. Location Acquisition on S60 2nd Ed. FP2 devices ?
    By sujith in forum General Development Questions
    Replies: 2
    Last Post: 2006-11-29, 09:23

Posting Permissions

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