Is their any way for deciding the device is stationary without using GPS and accelerometer.
I can use network updates from location manager.
I tried using
mLocManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 0, 10, mLocListener);
Considering i will receive location updates only if device moves atleast 10 meters. So absence of network updates can say device position stationary.
But this didnt seem to work properly. I even moved 200 meters or more i got no updates.
Is their any way to make it work.
Or any other way.
Thank You
Any Help would be appreciated.
The network_provider depends hugely on how many cell towers are in your area. Using that method, accuracy can be as large as a few miles. This link mentions some alternatives like triangulating using what WiFi SSIDs are in range. Hope this helps!
NETWORK_PROVIDER Location Accuracy Issue in Android