What happened to android.provider.Telephony?

后端 未结 5 1270
野的像风
野的像风 2020-12-31 23:12

Does anyone know what happened to android.provider.Telephony? It is not there anymore.

5条回答
  •  感情败类
    2020-12-31 23:23

    I was able to send an SMS message with the G1 using the following library: android.telephony.gsm.SmsManager

    So at least (for the SMS send/receive code) there is an equivalent library available.

    Also be sure to check out the TelephonyManager http://code.google.com/android/reference/android/telephony/TelephonyManager.html

    This isn't exactly what you were asking about, but it does provide a lot of the functionality you're looking for.

    As for the APress book reference in the answer above, I wrote it. As of right now, it's a little out of date (It was published before the 1.0 SDK was published) and I'm almost done updating it. Ahhh the joys of rapidly updating technology.

提交回复
热议问题