Page 1 of 1

register() method to register my applet

Posted: Mon Nov 21, 2016 3:18 am
by Bruninoit
My applet AID is 11223344556601. If I use register() method for registering my applet and use a GP Install For Install command with specific "Application AID =66554433221101" to install it. What will the applet instance AID be, 11223344556601 or 66554433221101? Thanks

Re: register() method to register my applet

Posted: Mon Nov 21, 2016 5:15 am
by wumindejia
is 66554433221101

Re: register() method to register my applet

Posted: Mon Nov 21, 2016 10:43 pm
by Thelogan
It will be Instance AID you specified.

But I strongly suggest you to use register(byte[] bArray, short bOffset, byte bLength) method and read the instance AID from bArray buffer.