×

Discussion Board

Results 1 to 5 of 5

Thread: Location api

  1. #1
    Regular Contributor
    Join Date
    Dec 2003
    Posts
    470

    Smile Location api

    Hi,

    All S40 6th edition phones have Jsr 179 support in the api section. But very few of them have an integrated GPS receiver. Then how is the location api supposed to work ? Does it use any other method to get location data ?

    Regards,
    Jaak

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,569

    Re: Location api

    They can use an external Bluetooth GPS receiver, or network based location services, if the network operator (carrier) supports it.

  3. #3
    Regular Contributor
    Join Date
    Dec 2003
    Posts
    470

    Smile Re: Location api

    Hi,

    Thanks for the reply. For communicating with a bluetooth gps module jsr 82 is sufficient, is it not ? Then what is the purpose of jsr 179 on these phones.

    Regards,
    Jayakrishnan.M

  4. #4
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,087

    Re: Location api

    For communicating with a bluetooth gps module jsr 82 is sufficient, you can get the raw GPS data and parse it to get the lat/long etc, but if you have JSR179 you get direct API's for fetching the location data from GPS raw data without using JSR-82 and without any data parseing overhead.

    You get the methods of JSR 179, you setup the accuracy level, calculate the distanace between two coordinates and lot more... explore JSR179.

    Uisng bluetooth to connect to GPS module to get lat/long is a basic workaround for devices which do not have JSR-179.

    thanks,
    ~Amitabh

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

    Re: Location api

    also you will havbe to write quite some code when using JSR-82, obviously you have to search for a BT device, conbnect to it, query the type of services it offers, select one, then connect to it, stream the data from it, then interpret this data etc...
    The JSR-179 takes a lot of those things for it own account thus making it way way faster to implement...
    I mean JSR-82 offers a transmit method, not a interface and/or interpratation of a GPS receiver device...

Similar Threads

  1. S60 API Partnering Program
    By Nokia Ron in forum News and Announcements
    Replies: 9
    Last Post: 2008-04-16, 18:28
  2. Location api jsr 179 and Bluetooth GPS
    By prategiov in forum Mobile Java General
    Replies: 21
    Last Post: 2007-12-04, 23:36
  3. Using the Location Acquisition API in Series 60 3rd edition
    By gpalvia in forum Symbian Networking & Messaging (Closed)
    Replies: 7
    Last Post: 2007-08-29, 06:56
  4. Location API, but no GPS
    By redsmurph in forum Mobile Java General
    Replies: 3
    Last Post: 2007-01-30, 20:59
  5. Location API in C++
    By preethi in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2006-08-31, 06:20

Posting Permissions

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