Re: [android-developers] Re: Is there a min SDK level for "android.hardware.telephony" feature?
From what I have seen so far, TelephonyManager is never null (even for devices without telephony), so that check is no good.
Maybe (for SDK level 7 and where the telephony feature value is missing) check TelephonyManager.getSimState() for TelephonyManager.SIM_STATE_READY instead? This is not perfect because the user may simply be using their phone without a sim card (and so may still want to access old SMS messages) but I think it's a fairly unlikely scenario...
Any better ideas!?
-- You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home