Hi.. I've this Extension of BroadCastReceiver
public class RisultatiScansione extends BroadcastReceiver {
....
public void onReceive(Context context, Intent intent) {
GsmCellLocation.requestLocationUpdate();
TelephonyManager k=(TelephonyManager) context.getSystemService
(Context.TELEPHONY_SERVICE);
z=(GsmCellLocation) k.getCellLocation();
Log.d("MEEEEE",z.getCid()+z.getLac());
....
}
This BroadcastReceiver is called at regular interval.. Lets say 5
minutes. I noticed that using the car for 35 min.. ( this code runned
7 times ) .. I got a log with the same Cid and Lac..
This is not possible cause i covered 45km of space.. And the previous
day i got a different log.. Of different Cell-Ids and (sometimes)
Lac ...
Can someone tell me what am i doing wrong? Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---