×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Regular Contributor
    Join Date
    Mar 2004
    Posts
    154

    Using the Location Acquisition API in Series 60 3rd edition

    I am trying to run the S60Ex\LocationRefAppForS60 exapmple on my 5500 and N73. On 5500 when i run this application it does not get any location...and starts seraching for Bluetooth devices in range.

    I did some investigation and found out that on the 5500 inside My Own there is a inbuilt application called Position where Bluetooth GPS has been enabled. I disabled it. and then ran the LocationRefAppForS60 again it gives request error-1.
    Even if i enable the Bluetooth GPS and then run the application; it loops in seraching for the bluetooth devices in range and does nothing.

    So basically my query is does the Location Acquisition API not work on these (5500,N73) phones? Which phones it work and will be able to give me the location?
    Also why this API start seraching for Bluetooth devices in range when run on 5500/N73.

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

    Re: Using the Location Acquisition API in Series 60 3rd edition

    do you have a Bluetooth GPS device, so your phone could find it and use it to get the location ?

    yucca

  3. #3
    Regular Contributor
    Join Date
    Mar 2004
    Posts
    154

    Re: Using the Location Acquisition API in Series 60 3rd edition

    Thanks for quick response. But Yucca; still not clear; i am using 5500 which has Bluetooth support and so as N73.
    My understanding about Location Acquisition API is that it uses one of the following 3 methods to get the location
    1. CellID
    2. GPS
    3. A-GPS
    So Location Acquisition API provides an abstraction ; so developers dont need to worry which method is being used internally.

    So how come Bluetooth comes in picture. As i dont use any external Bluetooth GPS device.

    I thought that as both 5500 and N73 dont ve any GPS receiver built in; so the API shld use the CellID method and return the Location.

    Please let me know if my understadning is wrong about the usage of the API? As i didnt find much in the documentation

  4. #4
    Regular Contributor
    Join Date
    Mar 2004
    Posts
    154

    Re: Using the Location Acquisition API in Series 60 3rd edition

    Ok Yucca this is what i ve understood from other postings
    1. 5500, N73 need an external Bluetooth GPS device
    2. An internal GPS receiver
    2. Location Acquisition API requires that the opeartor also need to support location based service.

    In my case none of them seems to be available; so wont work on my device. Probably work on N95/E90 which ve Inbuilt GPS receiver.

    Please share if you have any feedback.

  5. #5
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    Re: Using the Location Acquisition API in Series 60 3rd edition

    I think you got it right.

    yucca

  6. #6
    Regular Contributor
    Join Date
    Mar 2004
    Posts
    154

    Re: Using the Location Acquisition API in Series 60 3rd edition

    Ok then what would the best way to get the location string.

    I ve seen the post
    http://www.newlc.com/Mission-Impossi...tting-the.html

    where it says about using CBM; decoding it and then getting it to parse the location string. But it seems the format of CBM is network dependent. so the same code wont work on all the operators.

    So then how do we get the location string?

  7. #7
    Regular Contributor
    Join Date
    Mar 2004
    Posts
    154

    Re: Using the Location Acquisition API in Series 60 3rd edition

    I am looking out to achieve this in Series 60 3rd edition only. I ve seen a function called
    CTelephony::GetCurrentNetowrkInfo which returns cell id.
    Now how to map this cell id to the location string?
    May be i will serach a few more postings,

  8. #8
    Regular Contributor
    Join Date
    Jan 2005
    Location
    Estonia
    Posts
    350

    Re: Using the Location Acquisition API in Series 60 3rd edition

    AFAIK, you can't get anything meaningful out of network info. You only get your cell ID which is a number. You could travel areound with your phone and check these numbers and add the location info yourself - then you get a database to use, but it only works with your operator

Similar Threads

  1. Replies: 4
    Last Post: 2008-04-16, 11:29
  2. code leaves in series 60 3rd edition sip API
    By vivek chandak in forum Symbian Networking & Messaging (Closed)
    Replies: 3
    Last Post: 2007-08-10, 08:55
  3. Replies: 1
    Last Post: 2007-03-13, 13:58
  4. from Series 60 2nd edition to 3rd edition
    By Bill_Murray in forum Symbian Tools & SDKs
    Replies: 3
    Last Post: 2006-09-19, 09:45
  5. Navigation Pane in series 60 3rd edition ??
    By ahmed abdelaziz in forum Symbian
    Replies: 1
    Last Post: 2006-08-14, 15:15

Posting Permissions

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