private void requestNewCoordinates() {
final WifiManager wfManager = (WifiManager) context
.getSystemService(Context.WIFI_SERVICE);
if (manager.isProviderEnabled(LocationManager.NETWORK_PROVIDER)
&& wfManager.isWifiEnabled()) {
}
}
<uses-permission android:name="android.permission.ACCESS_GPS" />
<uses-permission android:name="android.permission.ACCESS_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
什么时候wfManager.isWifiEnabled() - java.lang.Securityexception
告诉我出了什么问题..以及如何解决问题