Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Trusted Contributor
hims_3009
Posts: 227
Registered: ‎12-16-2009
My Device: 9530,8900,9000
My Carrier: Airtel,Docomo

How to Use Internet as Gps

Hi,

I am new to BlackBerry, I come to know that We can use Internet as GPS in mobile though mobile dosent have inbuilt GPS, So I want code for that,If any one can Help.....

Lathiya Himanshu
Please use plain text.
Developer
luisfernando
Posts: 91
Registered: ‎11-24-2009
My Device: Storm

Re: How to Use Internet as Gps

Do you mean using location services for devices with no gps as Google Maps?

 

If thats the case please take a look on this post:

 

http://supportforums.blackberry.com/t5/Java-Development/Cell-Towers-Location/m-p/373384

 

If no GPS one alternative is to use Cell Tower location, but it depends on many things.

-Luis Fernando

Remember to give Kudos(click on the star at your left) if this helped you.
Click on "Accept Solution" if the problem is resolved.
Espanol? Escribeme un mensaje privado.
Please use plain text.
Trusted Contributor
hims_3009
Posts: 227
Registered: ‎12-16-2009
My Device: 9530,8900,9000
My Carrier: Airtel,Docomo

Re: How to Use Internet as Gps

Thanks, luisfernando

Can you please provide me a step or Code to implement this.

Thanks,

Lathiya Himanshu
Please use plain text.
Developer
luisfernando
Posts: 91
Registered: ‎11-24-2009
My Device: Storm

Re: How to Use Internet as Gps

Take a look on the RadioInfo Class as described in the previous link I sent. There is no exact procedure on how to do this. If device has no GPS you can only provide an estimated location to the end user using the cell tower approach.

 

What you basically do is Compare the CellID, MCC, MNC from the users carrier with a database to give an estimation. But of course for that you need the database. 

 

take a look on http://www.opencellid.org/

-Luis Fernando

Remember to give Kudos(click on the star at your left) if this helped you.
Click on "Accept Solution" if the problem is resolved.
Espanol? Escribeme un mensaje privado.
Please use plain text.
Trusted Contributor
hims_3009
Posts: 227
Registered: ‎12-16-2009
My Device: 9530,8900,9000
My Carrier: Airtel,Docomo

Re: How to Use Internet as Gps

thanks, luisfernando

I found some api links which returns location info based on celltower,

https://labs.ericsson.com/apis/mobile-location/documentation/cell-id-look-up-api

http://location-api.com/location-api-description.html

http://www.opencellid.org/api

Lathiya Himanshu
Please use plain text.