Is there a way to tell if an android device is wifi-only?
<p>I am trying to find a reliable way to tell if an Android device is wifi-only. I tried a couple of ways:</p>

<p>-- Try to get device ID (IMEI/MEID), if I can not get the IMEI/MEID number, then I can assume the device is wifi-only. This doesn't work as some phones do not return a device ID when they are put in flight mode.
-- Try to read TelephonyManager.getPhoneType. This doesn't work either as the wifi-only device I am testing with returns PHONE_TYPE_GSM, while I expect it to return PHONE_TYPE_NONE.</p>

<p>I wonder if anyone has successfully distinguish wifi-only devices and the non-wifi-only ones.</p>
