Was wanting to know if there is a way to check whether the current device is a Phone or Tablet, more precisely - if the device has the ability to send/Receive SMS.
Im writing an app for tablet and i would idealistically like to not have to create a whole new app just for a phone device.
Was wanting to know if there is a way to check whether the current device is a Phone or Tablet, more precisely - if the device has the ability to send/Receive SMS.
Im writing an app for tablet and i would idealistically like to not have to create a whole new app just for a phone device.
Dim r As Reflector
r.Target = r.GetContext
r.Target = r.runMethod2("getSystemService","phone","java.lang.String")
Log(r.RunMethod("getSimState"))
This will tell you if there is a SIM in the device. That doesn't tell you if its a phone or a tablet though as a phone may be CDMA only and a tablet may have a sim card for 3G/4G data.