Actually what I wanted is to be able to copy the contacts on my
Android phone into the SIM card. So in order to do that, I need some
API that will allow me to read the contacts follow by API to write
them to the SIM card.

Telephony class does not provide those methods for me to accomplish
the above. I have checked other classes but none seem to expose the
functionality for me to call them.

Thanks.


On Jun 2, 5:36 pm, Indicator Veritatis <[email protected]> wrote:
> By asking specifically for SIM card, you are asking for
> implementation, where the API provides interface instead, as is good
> Object Oriented practice.
>
> See the SDK online references for packages android.telephony. Even
> there, SmsMessage.getIndexOnSim() has been deprecated -- no doubt
> because it confuses interface with implementation.
>
> NB: SIM cards state is in android.telephony.TelephonyManager.
>
> On Jun 1, 6:50 am, sohguanh <[email protected]> wrote:
>
> > Hi I have scanned through the Android SDK and is still searching for
> > an API that allow application to read/write to the SIM card.
>
> > Does Android SDK expose any SIM API for developers ? If it is not in
> > the SDK, how does one go about trying to read/write to SIM card in the
> > Android phone ?
>
> > Thanks.

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to