sim-card

How to store android application data on sim card using NFC?

落花浮王杯 提交于 2019-11-26 18:14:02
问题 I am developing a NFC application. My application will process secret information and I want to store that data on the SIM card. Is it possible, and if it is possible, how can I do this? My phone's android version is Android 2.3.5. 回答1: tl;dr - it is not currently possible without enormous effort. You want to use the SIM card as the Secure Element in Card Emulation mode - this is the approach favoured by GSM Association. To access the Secure Element (on SIM or Integrated Chip), you need to

Android dual SIM card API

一个人想着一个人 提交于 2019-11-26 17:26:14
问题 There are several questions about accessing dual SIM features through the Android SDK, all of which are answered with brief statements that such features are unsupported in Android. In spite of this, dual SIM phones do exist, and applications like MultiSim seem to be able to detect this in some kind of manufacturer-independent way. So, beginning with that acknowledgement, let me try to ask some more pointed questions: Does "Android SDK does not support multiple SIM features" mean that these

Detect the status of two SIM cards in a dual-SIM Android phone

送分小仙女□ 提交于 2019-11-26 14:34:49
I want to detect whether two SIM cards are there in my dual-SIM android phone programmatically. I found one API ( TelephonyManager.getSIMState() ), but it is for normal single-SIM phones. Are there any APIs to detect whether or not two SIMs are inserted in my dual-SIM phone? CommonsWare Android does not support multiple SIMs, at least from the SDK. Device manufacturers who have created multi-SIM devices are doing so on their own. You are welcome to contact your device manufacturer and see if they have an SDK add-on or something that allows you to access the second SIM. Edit: (15th July, 2015)

to get phone number programmatically in Android

こ雲淡風輕ζ 提交于 2019-11-26 14:22:51
问题 I am using the code TelephonyManager tMgr =(TelephonyManager)mAppContext.getSystemService(Context.TELEPHONY_SERVICE); mPhoneNumber = tMgr.getLine1Number(); to get the phone no programatically in android . But this is working fine only for one sim card. If i test this code by inserting other sim card, it is giving null . I am trying to find the solution for this. please help me. I have also included READ_PHONE_STATE permission in Manifest . I want to uniquely identify the sim card. IS there

Android and Symbian NFC mobile development questions and answers (FAQ)

♀尐吖头ヾ 提交于 2019-11-26 13:04:02
问题 Let’s share on a common place ideas about the NFC development, technology… I warmly welcome any comments you might have – either about the Android or Symbian SDK or about the NFC in general. From my point of view the general question is what we can develop, i.e. what kinds of applications can we bring to the market with the NFC technology? And how can we, developers, earn money and benefit from the NFC? I think there is an expectation the NFC will open the door for numerous services and

How to get all android contacts but without those which are on SIM

杀马特。学长 韩版系。学妹 提交于 2019-11-26 11:45:27
It is possible to do it in one query? As far as I know content uri of sim contacts is content://icc/adn This is very easy! :) Cursor cursor = mContentResolver.query( RawContacts.CONTENT_URI, new String[]{RawContacts._ID,RawContacts.ACCOUNT_TYPE}, RawContacts.ACCOUNT_TYPE + " <> 'com.anddroid.contacts.sim' " + " AND " + RawContacts.ACCOUNT_TYPE + " <> 'com.google' " //if you don't want to google contacts also , null, null); 来源: https://stackoverflow.com/questions/4338563/how-to-get-all-android-contacts-but-without-those-which-are-on-sim

How to get current SIM card number in Android?

人盡茶涼 提交于 2019-11-26 08:59:13
问题 I want to know user mobile number in Android. I used this code but I\'m not getting number. TelephonyManager tm = (TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE); String n = tm.getLine1Number(); Permission: <uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/> Is it compulsory to save number in android mobile settings --> about phone --> status --> myphone number Any idea on this? 回答1: I think sim serial Number and sim number is unique. You can try this for get

Detect the status of two SIM cards in a dual-SIM Android phone

大兔子大兔子 提交于 2019-11-26 03:57:22
问题 I want to detect whether two SIM cards are there in my dual-SIM android phone programmatically. I found one API ( TelephonyManager.getSIMState() ), but it is for normal single-SIM phones. Are there any APIs to detect whether or not two SIMs are inserted in my dual-SIM phone? 回答1: Android does not support multiple SIMs, at least from the SDK. Device manufacturers who have created multi-SIM devices are doing so on their own. You are welcome to contact your device manufacturer and see if they

How to get all android contacts but without those which are on SIM

混江龙づ霸主 提交于 2019-11-26 02:34:43
问题 It is possible to do it in one query? As far as I know content uri of sim contacts is content://icc/adn 回答1: This is very easy! :) Cursor cursor = mContentResolver.query( RawContacts.CONTENT_URI, new String[]{RawContacts._ID,RawContacts.ACCOUNT_TYPE}, RawContacts.ACCOUNT_TYPE + " <> 'com.anddroid.contacts.sim' " + " AND " + RawContacts.ACCOUNT_TYPE + " <> 'com.google' " //if you don't want to google contacts also , null, null); 来源: https://stackoverflow.com/questions/4338563/how-to-get-all

MSISDN : Is it a SIM Card Data? Why all The Provided Function (from Blackberry and Android) to fetch MSISDN not reliable?

人走茶凉 提交于 2019-11-26 00:38:27
问题 I have several question about MSISDNs. I understand: MSISDN is the basically the phone number It is not IMSI What i need to know further are: Is MSISDN number burnt (stored) in SIM Card? If it is yes, are all providers make sure that there is MSISDN information in SIM Card? If it is no, to be clarified, None of programming code can fetch the MSISDN number? Some people suggest to fetch MSISDN as below code. But both the code return null if \"My Phone Number\" is not set in device. On the other