I have make the application of GPS which give me the Latitude and Longitude of current location, but the problem is that in some particular areas GPS doesn't provide the location. Can any one suggest me the tutorials of triangulation technique based on cell signals or wifi signals.

有帮助吗?

解决方案

If an Android smartphone is unable to get a GPS fix, it can still likely determine its position using either cell tower location or WiFi positioning. Neither are as accurate, but they don't require a clear view of the sky. Here are some details on how to access and compare all three of these positioning methods: http://developer.android.com/guide/topics/location/obtaining-user-location.html#BestPerformance

I'm not sure what it is that you're hoping to triangulate based on. WiFi signals? Here's an SO question about triangulating based on cell signals.

Technically speaking, GPS uses trilateration, because it's based on distance measures rather than angular measures.

其他提示

If you read the link Drew provided you would see that there is no need to do your own triangualtion, Android will do triangulation on wifi and cell towers for you. Although it is recommened to flow the logic described in the link Drew provided, you specifically get this type of location use the NETWORK_PROVIDER instead of the GPS_PROVIDER.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top