Why might both the TELEPHONY_SERVICE and WIFI_SERVICE be unavailable on Android tablet?
I have a user with a Sprint Evo View 4G Tablet, and we have a feature that requires either the TELEPHONY_SERVICE or WIFI_SERVICE to be accessible to our app (and we of course request these permissions in our AndroidManifest.xml)
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
Can anyone speculate as to why this device might return null for both of these API calls:
WifiManager wm = (WifiManager)context.getSystemService(Context.WIFI_SERVICE)开发者_开发技巧;
TelephonyManager tManager = (TelephonyManager)context.getSystemService(Context.TELEPHONY_SERVICE);
Thanks!
精彩评论