views:

81

answers:

2

Hi Guys: I am new to android. I am developing an application in android 2.2 to identify location of user by means of any available resources (GPS , Networks etc). I have done finding location through GPS and using SIM network along with internet. Now problem is want to locate device when no GPS and no internet is available. In this case I have to implement Triangulation. I know theory of concept of triangulation but to implement is realy a biggggggg deal to me. Will any body kindly guide me to sort out the problem? I have searched the web but could not find any solution.

+1  A: 

You are re-inventing the wheel.

UPDATE: To detect you location based on Cell tower you need to know their location. There are two ways to do it:

  1. Request web-service (for example goople maps). Requires internet connection.
  2. Get cell location from local database. Requires big database to be stored locally so performance is likely to be low.
cement
May be you are right but the idea is "if you do not have GPS and internet faculty in your device (like Nokia ,samsung etc )then the only option left to determine location is to use Triangulation". Thanks for your quick response.
rai
So how are you planning to obtain location of cell towers without internet access? Store database of all cells in your device?
cement
I can get cid , las and RSSI of cell towers around device using android but not lat long of towers.
rai
Without latitude and longitude of cell tower triangualtion is impossible. Unless you want to show country by MCC code :)
cement
Thats the issue how to find lat long of tower or if some one can tell how to calculate distance from tower.
rai
A: 

Since your phone already does this, I would recommend looking through the source and using their method. You do realize that is one of the benefits of open source, don't you?

KevinDTimm
I have searched since last five days. Found a lot of stuff about identifying location but not the way my app want. Thank you
rai