Hello
I am a newbie of java card programming and I try to write NFC Mobile Payment Application on Android.
I have many question:
1. How is the java card applet (.java) that we write into the android application installed into the phone? Is it installed when the android application (.apk) is installed into the phone?
2. How do the applet and application can communicate? Because I see some code sample such as HelloSmartCard (/trunk/samples/HelloSmartcard/ - seek-for-android - Secure Element Evaluation Kit for the Android platform - the &…)and I don't see the connection between JavaCardApplet and HelloSmartCard?
3. What is the .cap file? Is this file need to run the android application?
4. In my application, there is 2 function that want to use java card api. Do I need to create each applet for these 2 function? If yes, I need to have 2 AID or not?