sim-card

SIM Card Authentication

拟墨画扇 提交于 2019-12-06 07:20:28
I'm new to SIM Cards and I'm trying to authenticate to a SIM Card using Gemalto JCardManager (part of Gemalto Developer Suite), with Gemplus USB SmartCard Reader. Aparently, i have all the necessary keys (kic, kid and kik), but i can't authenticate. In fact, i have two SIM's: one SIM Card R5 and one USIM Card R5. I have configured the keys files for both of them, but when i try to authenticate to the SIM Card R5, the following message appears: [ERROR ] <- 6D 00 Command Exception on command: Authenticate. Authentication failed : INITIALIZE UPDATE : unknown response : VOP sw=6D00 And when i try

How to Access Secure Element without rooting a device which already supports SmartCard API

回眸只為那壹抹淺笑 提交于 2019-12-06 05:32:56
问题 The SEEK-for-Android documentation says that listed devices support the SmartCard API. I want to access a SIM-based secure element (SE) through my Android application. Can I achieve this without rooting any of these supported devices and without rebuilding its Android system image? In my case, the device is a Samsung Galaxy S3. 回答1: Yes, you can use SEEK-for-Android without rooting the system. However, this technology is very device-dependent; some vendor specific libraries must be present in

Is it possible to unlock the sim and let the software put in the pincode

倾然丶 夕夏残阳落幕 提交于 2019-12-05 07:21:53
问题 I´m going to give away phones (Android) to clients (mostly kids) and want to create a ´lock´-app. I don´t want the clients to bother with the pincode for the phone, but when you turn on the device, the ´lock´-app should just start. I then overwrite the buttons and they shouldn´t be able to make phonecalls. Only thing is, in case of removal of the sim, or in case of theft, I want a pincode on the simcard. So is it possible that my ´lock´-app unlocks the sim by putting in the pin by code? How

Javacard applet RPDU does not contain any data when accessed from seek-for-android

这一生的挚爱 提交于 2019-12-04 14:26:00
问题 I have a complex Javacard applet, which is developed and tested for ordinary Smart Card (e. g. NXP J3E145, T=1). Now I have to use it in UICC in a mobile phone and access it from my Android app. The UICC uses T=0 protocol. When I communicate to the SIM card from an ordinary card reader (Omnikey 5321), the applet works fine. However, when I move it into my mobile phone (Sony Xperia S) and send APDUs via seek-for-android API, some RPDUs do not contain any data part, there is only the status

How to interact with USSD dialog programmatically in android

柔情痞子 提交于 2019-12-04 13:28:08
问题 I want to use USSD dialog which comes after dialing any USSD code say *123# which asks user to enter option number to perform specific task(s) depending upon sim card vendors. I need to interact with that dialog to provide input in the text box given into it programmatically. However, I am able to read the USSD response that comes in Alert Dialog after dialing any USSD code, using AccessibilityService and I'm showing the response in a Toast as shown in the code below. I haven't found any

How to Access Secure Element without rooting a device which already supports SmartCard API

☆樱花仙子☆ 提交于 2019-12-04 10:48:43
The SEEK-for-Android documentation says that listed devices support the SmartCard API. I want to access a SIM-based secure element (SE) through my Android application. Can I achieve this without rooting any of these supported devices and without rebuilding its Android system image? In my case, the device is a Samsung Galaxy S3. vojta Yes, you can use SEEK-for-Android without rooting the system. However, this technology is very device-dependent; some vendor specific libraries must be present in the system. It worked fine for me with Sony Xperia with no necessary changes. After adding some

Can't access/read SIM phonebook in Nokia

不想你离开。 提交于 2019-12-04 10:24:40
am trying to access both the Phone's phonebook and SIM phonenook on Nokia 5130c-2 XpressMusic. The app runs without errors but it only returns the numbers from the phone's Phonebook. When I list the available phonebooks using this code String[] all_contact_lists=PIM.getInstance().listPIMLists(PIM.CONTACT_LIST); it gives me both the Phonebook and SIM card lists. i.e 1. Phone 2. SIM I have tried explicitly reading from the SIM card using this code but it still returns nothing(even though I have numbers saved in the SIM card.) Code: ContactList clist = (ContactList) PIM.getInstance().openPIMList

getLine1Number return null but not always [duplicate]

a 夏天 提交于 2019-12-04 01:56:20
问题 This question already has answers here : MSISDN : Is it a SIM Card Data? Why all The Provided Function (from Blackberry and Android) to fetch MSISDN not reliable? (3 answers) Closed 2 years ago . I use the TelephonyManager to get the phone number, in the SDK all works perfectly, on some devices like my hero with 1.5 it returns null, on the tattoo with 1.6 it works but on some other tattoos it returns null. Is there any other way to get the phone number? 回答1: As far as I know, the phone number

How to delete sim card contact in android

别说谁变了你拦得住时间么 提交于 2019-12-03 22:53:25
问题 below is my code for delete contact from phone Uri contactUri = Uri.withAppendedPath(PhoneLookup.CONTENT_FILTER_URI, Uri.encode(phone)); Cursor cur = mContext.getContentResolver().query(contactUri, null, null, null, null); boolean flag = false; try { if (cur.moveToFirst()) { do { if (cur.getString( cur.getColumnIndex(PhoneLookup.DISPLAY_NAME)) .equalsIgnoreCase(name)) { String lookupKey = cur .getString(cur .getColumnIndex(ContactsContract.Contacts.LOOKUP_KEY)); Uri uri = Uri.withAppendedPath

Is it possible to unlock the sim and let the software put in the pincode

馋奶兔 提交于 2019-12-03 21:47:13
I´m going to give away phones (Android) to clients (mostly kids) and want to create a ´lock´-app. I don´t want the clients to bother with the pincode for the phone, but when you turn on the device, the ´lock´-app should just start. I then overwrite the buttons and they shouldn´t be able to make phonecalls. Only thing is, in case of removal of the sim, or in case of theft, I want a pincode on the simcard. So is it possible that my ´lock´-app unlocks the sim by putting in the pin by code? How can I do that? That is possible. I do it in this code: try { @SuppressWarnings("rawtypes") Class clazz =