Questions tagged [secure-element]

44 questions
2
votes
1 answer

OMAPI in Android Virtual Device

Recently, I have read about Smart Card API (Open Mobile API) and figured out that not every device can work with a secure element as the Smart Card API is not implemented on every device. So can anybody say if I can work with a secure element of…
2
votes
1 answer

Phones that can support Open Mobile API

I understand that to access SIM/eSE from an Android app we need to install Open Mobile API addon on Android Studio. However, is it true that it will not work on all NFC phones? For example, do some OEM limited access to SIM/eSE? Or are there phones…
Consy
  • 326
  • 3
  • 22
1
vote
1 answer

Sending data, using HCE, or using secure element? (Android, Kotlin, Mifare 1k)

I'm trying to implement the functionality for emulating a Mifare One (1K/S50, ISO14443A) chip to be able to use a phone with NFC capability instead of a physical Mifare card or, if possible sending only the data to the reader. I have this type of…
atanii
  • 226
  • 2
  • 12
1
vote
1 answer

How to use Executor in SEservice (Open Mobile API for Android 9.0)

I'm working on NFC and currently try to write code for the Open Mobile API built into Android 9.0, but don't understand the way to pass the Executor parameter in SEService. public class MainActivity extends Activity implements…
1
vote
1 answer

TelephonyManager.iccTransmitApduBasicChannel data argument format

I am using Telephony Manager to transmit APDU commands to the SIM. I have the MODIFY_PHONE_STATE permission. I am using the below function: String iccTransmitApduBasicChannel (int cla, int instruction, int p1, int p2, int p3, String data) I want to…
1
vote
1 answer

HCE vs SecureElement routing in android

I am working on application that joins functionalities from SecureElement and HCE (HostCardEmulation) and processes APDU commands from external source. Based on the availability of SecureElement I would like to decide if all APDUs are processed…
wsl
  • 8,875
  • 1
  • 20
  • 24
1
vote
0 answers

how to send APDU commands in android

i want to send APDU commands from my android device and also receive it in same device. is it possible ? i want to get response in following mthod @Override public byte[] processCommandApdu(byte[] commandApdu, Bundle extras) { Log.i(TAG,…
Ajithkumar M
  • 41
  • 10
1
vote
1 answer

How to read and write on secure element on mobile device for NFC payment purposes?

I'm working on e-payment mobile application and he need some answers for the following questions: How much cards details can be saved on the secured element on the mobile device? and is it encrypted? I have multiple payment cards in my application…
1
vote
2 answers

M4M - Mifare DESFire EV1: Which Mifare AID needs to be added to NFC routing table for off-host routing to a Mifare DESFire virtual card on UICC?

Mifare DESFire communication is routed to HCE instead off-host (UICC) on several Android devices. From OMAPI based communication with off-host secure elements, I already learned how to add AIDs to Android off-host routing table, so that I can select…
1
vote
1 answer

App installation fails due to missing Open Mobile API shared library

I'm developing an app that uses Open Mobile API. I added this line to my manifest: When I remove this line of code, it installs ok. But the app is not working…
1
vote
1 answer

Emulate Mifare smart card on NFC device (with NXP chip)

I'm struggling to find out how to emulate a Mifare smart card on an Android NFC device with NXP chip. Is it possible? At http://www.mifare.net/en/micommunity/qa/ question number 4, they say there are ways to do it. Does anyone know how, in more…
sNyggren
  • 11
  • 1
  • 3
1
vote
2 answers

App on the SIM card of a GSM mobile with NFC to connect to Android app

We need to design a simple application which has to reside on the SIM card of a GSM mobile with NFC and should connect to an Android phone app. Is anyone able to provide a link on this? Until now we already have apps on Android but we need to…
Joan Lai
  • 11
  • 3
1
vote
1 answer

How detect when the phone enters into a nfc field using card emulation

I'm using a card emulation with a uicc SE (no HCE). My min api sdk is 17 and my target is 19. As I far i remember in Android 2.x was a intent that aware the app if the phone goes into a nfc field, something like FIELD_ON intent. ¿Is there anyhow…
0
votes
1 answer

Secure Element tutorial error

I'm new for android development. I was using UsingSmartCardAPI tutorial to understand how to access Secure Element using the SmartCard Api. Unfortunately I'm getting error when try to run the project. Tutorial Link -…
chinna_82
  • 6,353
  • 17
  • 79
  • 134
0
votes
1 answer

Azure IotHub and ATECC608B

I am using ESP32C3 using ESP-IDF. I have connected ATECC608B (TrustFlex) via i2c with my ESP32C3. My goal is to read the device certificate from the TrustFlex and connect to the Azure IoTHub. I have already configured the certificate and manifest…