I am currenly working on implementing scenario wherein cards(=applets) should be downlaoded OTA (credit card/loyalty card/ coupon cards/ debit card). These should be read by card reader POS terminal for making payments. User will have to select one of these cards while making payments.
Note: User can have multiple credit cards on his SE from different issuers.
Below are my questions:
1) For multiple credit cards from different card issuers, they will have different personalization information like card number, card issuer name, expiry name etc. Does this mean I have to write and install one applet (per card). Can this scenario be realized using just one applet (all cards in one applet), and if possible how?
2) Every applet has a unique AID. If I have different applets installed on SE, how my card reader will know which applet to talk with. Is the AID hardcoded at card reader's end?
3) Since user can have multiple credit card installed, I am thinking of launching midlet that will provide user with all card options. Now, if user selects one card(= one applet), How can I comunicate the AID of this applet to card reader, so that card reader can use that AID to connect using ISO7816 APDUs.
Please help me by providing your valuable suggestions.