1

I have an application with gps and wireless permissions.I want to set programmatically location with gps satellites and location determined by Wi-Fi.

I`m done with gps satellites :

Intent intent = new Intent("android.location.GPS_ENABLED_CHANGE");
intent.putExtra("enabled", true);
sendBroadcast(intent);

Can I do something like that with location determined by Wi-Fi ?

4

0 回答 0