>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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to