复制短信使用Android SDK中到SIM卡短信、Android、SIM、SDK

2023-09-07 11:23:01 作者:-南城孤人

我试图重新实现复制到Android上的SIM卡功能。我曾尝试以下code

I'm trying to reimplement the copy to SIM functionality on Android. I have tried the following code

ContentValues values = new ContentValues();
values.put("address", "1234567");
values.put("body", "Message Content");
getContentResolver().insert(Uri.parse("content://sms/icc"), values);

但它返回无效请求的内容://短信/ ICC。谁能告诉是否有无论如何,使这项工作。我使用的是Android SDK中2.2.1

but it returns invalid request "content://sms/icc". Could anyone tell if there is anyway to make this work. I'm using Android SDK 2.2.1

推荐答案

有关从该管理信息:您可以使用小例子:管理SIM卡信息

 
精彩推荐
图片推荐