sim-card

Send APDU commands to USIM/SIM card in android

爱⌒轻易说出口 提交于 2019-11-27 22:21:40
I was already worked with smart cards and I am familiar with APDU commands (that are defined in ISO/IEC 7816 and Global Platform specifications). Now I want to know if is there any way to send an APDU command to my USIM/SIM card that is inserted to my mobile phone? (Samsung A3 with Android v4.4.4 kitkat installed.) I already searched in the Google and I found some related topics and tools named SIM Toolkit Application and Seek for Android . But I don't really understand what are these? Are these items two applications that I must install on my mobile phone? or are those two tools that was

Option to send sms using Sim1 or Sim2 programmatically

风流意气都作罢 提交于 2019-11-27 22:10:29
I have an Android phone with 2 SIM card and I want to send sms using Sim1 or Sim2.By default the message is sent from sim1. But i want to send sms from sim2. Is it possible to setting to send sms using Sim1 or Sim2? It would be great if there is an setting options to send sms using Sim1 or Sim2.. this is useful for dual SIM android phones. I created sms application android I've been able to sms application smoothly but default sms sent by SIM 1.But I want to send the sms programmatically by setting to send the sms by sim1 or sim2? If you can use this code for API level 22+. private void

Detect changes of “Lock SIM card” in Settings/Security/Set up SIM card lock

核能气质少年 提交于 2019-11-27 17:19:10
问题 A question aimed at Android 4.0.x preferably. I want to detect immediately, or after a few seconds, any change made to Lock SIM card in Settings > Security > Set up SIM card lock . I tried 3 methods: 1) access read-only com.android.settings shared preferences. Context settings = getApplicationContext().createPackageContext("com.android.settings", Context.CONTEXT_IGNORE_SECURITY); SharedPreferences prefSettings = settings.getSharedPreferences("com.android.settings_preferences", MODE_WORLD

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

不打扰是莪最后的温柔 提交于 2019-11-27 12:54:32
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. 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 use a Trusted Service Manager (TSM). In your case, the TSM would send data to your SIM card using binary SMS

to get phone number programmatically in Android

馋奶兔 提交于 2019-11-27 08:56:15
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 any other way to do this. please let me know. Maidul I think Sim serial Number is unique. You can try

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

∥☆過路亽.° 提交于 2019-11-27 07:09:04
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 possibilities for developers – but is that true? The difference between the NFC and other wireless

Access the SIM Card with an Android Application?

我是研究僧i 提交于 2019-11-27 07:08:35
I wonder if it's possible to access to the SIM card with an Android Application Hubert You can get the IMEI like this (but is it what you want ?), just an exemple : mTelephonyMgr = (TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE); String imei = mTelephonyMgr.getDeviceId(); Likewise, you have String getSimCountryIso(): Returns the ISO country code equivalent for the SIM provider's country code. String getSimOperator(): Returns the MCC+MNC (mobile country code + mobile network code) of the provider of the SIM. String getSimOperatorName(): Returns the Service Provider Name (SPN).

Is it possible to determine if the SIM/Phone number has changed?

点点圈 提交于 2019-11-27 05:38:31
问题 We have a product where the user registers by providing their phone number. However after they register they could potentially change their sim. Is it possible to programatically determine if the sim has been removed or inserted? (Thanks if you provide it, but any digression comments on the use of using the phone number in the first place would be irrelevant to this discussion, I don't want to discuss that aspect of things, only the sim aspect). 回答1: Yes, of course it is possible. Link

Option to send sms using Sim1 or Sim2 programmatically

三世轮回 提交于 2019-11-26 23:03:31
问题 I have an Android phone with 2 SIM card and I want to send sms using Sim1 or Sim2.By default the message is sent from sim1. But i want to send sms from sim2. Is it possible to setting to send sms using Sim1 or Sim2? It would be great if there is an setting options to send sms using Sim1 or Sim2.. this is useful for dual SIM android phones. I created sms application android I've been able to sms application smoothly but default sms sent by SIM 1.But I want to send the sms programmatically by

How to get current SIM card number in Android?

本小妞迷上赌 提交于 2019-11-26 21:43:49
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? Dipak Keshariya I think sim serial Number and sim number is unique. You can try this for get sim serial number and get sim number and Don't forget to add permission in manifest file.