How To Find Current Location of your Mobile using API .
And If Yes on Which Platform it will run .
Thanks & Regards
Rupesh
How To Find Current Location of your Mobile using API .
And If Yes on Which Platform it will run .
Thanks & Regards
Rupesh
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...
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
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!
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 ?
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
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
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 ?
I want to Find Current Location . How Can I do that .
Help Me .
Thanks & Regards
Rupesh
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.
Thanks For Your Reply .
Will Let You Know if any further information required.
Thanks & Regards
RupeshD
How Location Api using GPS . Will Affect my Mobile Battery Life .
How Can I Avoid That .
Thanks & Regards
Rupesh
it will affect your battery life by actually diminishing it...
it's like when yo u use bluetooth, that also will consume extra battery life...
and you can't do much about it, in j2me u can set the preferredPowerConsumption but that wont make much difference (or at least thats what I conclude after several tests on N95 and 6110 Navigator and the Energy Profiler....
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
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...