×

Discussion Board

Results 1 to 15 of 16

Hybrid View

  1. #1
    Registered User
    Join Date
    Feb 2009
    Posts
    18

    Smile How To Find Current Location of your Mobile using API .

    How To Find Current Location of your Mobile using API .

    And If Yes on Which Platform it will run .



    Thanks & Regards
    Rupesh

  2. #2
    Nokia Developer Champion
    Join Date
    Apr 2007
    Posts
    2,708

    Re: How To Find Current Location of your Mobile using API .

    What do you understand under Location ?
    If it's a GPS coordinate you're looking for then J2ME can supply it, throught the Location API's or otherwise throught BlueTooth and an external GPS receiver... Afaik also Symbian/C++ has these capabilities and Python as well...
    Another platfrom which supports GPS is Android, but also the Iphone... even Windows Mobile IF and only IF you don't use J2ME for that, so that means using c++ and/or the .Net Compact Framework...

    If under location you understand an adress then all mentioned GPS supporting platforms will work in combination with (reverse) geo-coding.. that last you can look up with our best friend google...

  3. #3
    Nokia Developer Champion
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,545

    Re: How To Find Current Location of your Mobile using API .

    See also:

    JSR-179: http://www.jcp.org/en/jsr/detail?id=179
    JSR-82 (if you plan to use an external Bluetooth GPS receiver without JSR-179): http://www.jcp.org/en/jsr/detail?id=82
    The FN wiki: http://wiki.forum.nokia.com/index.ph...ation_Articles

  4. #4
    Regular Contributor
    Join Date
    Nov 2007
    Posts
    193

    Re: How To Find Current Location of your Mobile using API .

    You can get the location of a mobile phone using jsr-179 in j2me.
    But, Device should support GPS functionality.
    You can get the Cell id as well but this is not very productive because it is a network related term and only that network operator can know the place of that mobile device through this cell id.
    tell us more about your application.
    What you are supposed to develop?
    Then, these guys will be in good position to help you!

  5. #5
    Nokia Developer Champion
    Join Date
    Apr 2007
    Posts
    2,708

    Re: How To Find Current Location of your Mobile using API .

    jack can you supply the methodology to obtain cell id ? Cause the only devices I know of that support that are the S60 3rd Edition FP2, or is there some other way ? How would you obtain it on an older device (like a N95 with FP1) or a S40 ?

  6. #6
    Regular Contributor
    Join Date
    Aug 2008
    Location
    Sri Lanka, Colombo
    Posts
    204

    Smile Re: How To Find Current Location of your Mobile using API .

    hi guys

    i think tiger is correct. as far as i concern u can't find out cell id. it would be great if u cn let us no how did you find it out???

    in RupeshD issue,

    if you are going to use Location API your phone should support Location service.
    the other thing is you can use a external GPS devise (TomTom). and you need to have a bluetooth enable phone. form your phone you should communicate with the GPS devise. the devise will give you the location.

    regards,
    Randika

  7. #7
    Registered User
    Join Date
    Feb 2009
    Posts
    18

    Smile Re: How To Find Current Location of your Mobile using API .

    I have used JSR 179 to Find Current Location .

    But Whn I am Testing On N73 . Its throws and Exception . javax. microedition.location. Location Exception .

    ON emulater . Its Shows me Latitude 61.44808333333334 & Longitude 23.855 .

    which is not my Current Location .

    Thanks & regards

    RupeshD

  8. #8
    Nokia Developer Champion
    Join Date
    Apr 2007
    Posts
    2,708

    Re: How To Find Current Location of your Mobile using API .

    you did notice that the N73 doesnt have an integrated GPS chip ?
    you do know you need a GPS to establish your longitude and latitude ?
    and the emulator actually just emulates a GPS device, so it will just return some value... or did you expect a GPS device was supplied within the SDK (or WTK) ?
    may I ask if you did any type of research regarding gps-technology and it's correlation within the mobile platform ?

  9. #9
    Registered User
    Join Date
    Feb 2009
    Posts
    18

    Smile Re: How To Find Current Location of your Mobile using API .

    I want to Find Current Location . How Can I do that .

    Help Me .

    Thanks & Regards

    Rupesh

  10. #10
    Nokia Developer Champion
    Join Date
    Apr 2007
    Posts
    2,708

    Re: How To Find Current Location of your Mobile using API .

    have you read the replies on your opening post ?
    We are actually trying to help you, but you will have to be a little more co-operative than just repeating your first post

    anyways unfortunately you are testing on a somewhat unfortunate device, the N73... It's unfortunate because it DOES have the location api's (JSR-179) but it DOES NOT have a GPS receiver... So you do have the interface to request latitude+longitude but you dont have the resource to actually obtain it... BUT if you have an external Bluetooth GPS receiver then you CAN use the Location api's to actually request a location to the bluetooth gsp receiver...
    and about the emulator, your right it doesnt return you actual location because its just an emulator, its not a real gps receiver...
    Last edited by Tiger79; 2009-06-12 at 11:03.

  11. #11
    Registered User
    Join Date
    May 2009
    Posts
    2

    Re: How To Find Current Location of your Mobile using API .

    Hi,
    Do not quit understand.. Will the Location Class return the Location if no GPS is in the device?.
    I have a Nokia E51 han right now finds my location in Googlemap and in Nokia Maps with a 80 M. accuracy..
    If the Location Class do not return it.. How do I get that location as the Map's do on my E51?
    Thanks
    Kim

  12. #12
    Nokia Developer Champion
    Join Date
    Apr 2007
    Posts
    2,708

    Re: How To Find Current Location of your Mobile using API .

    You can't...
    Just search the web for information on how Google Maps does it... Also in one of my posts I explained it allready, so you might look for that in this forum....
    Shortly : they use the combination of your cell-id and a database containing latitudes abnd longitude's paired to the cell-id's.. So your client sends it cell-id to their server, their server look it up on their database and gets an estimated latitude+longitude of your base cell (not of YOU, but the base-cell)... That's why they can estimate (not locate) where you are...

  13. #13
    Registered User
    Join Date
    May 2009
    Posts
    2

    Smile Re: How To Find Current Location of your Mobile using API .

    Quote Originally Posted by Tiger79 View Post
    You can't...
    Just search the web for information on how Google Maps does it... Also in one of my posts I explained it allready, so you .........
    Thanks that was what I thought but I got mixed indications. Thanks you to clarifying it for me.

    I guess that I should be able to use the MAP's WebService to get the location. But I will Look later.

    Thanks
    Kim
    Last edited by kim_ras; 2009-06-23 at 09:15.

Similar Threads

  1. Location Based Services - Location API - JSR179
    By aminuddin09 in forum Mobile Java General
    Replies: 9
    Last Post: 2011-02-23, 19:39
  2. Location API
    By davidlt27 in forum Mobile Java Networking & Messaging & Security
    Replies: 3
    Last Post: 2008-06-23, 15:49
  3. Mobile learning server / environment published
    By mikaset in forum News and Announcements
    Replies: 0
    Last Post: 2008-03-25, 20:50
  4. Replies: 0
    Last Post: 2007-07-15, 23:06

Posting Permissions

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