How to unblock/block application?
Dear
I'm trying to unblock my own simple application.
I sent an APDU '80F0407F080102030405060708'.
The response APDU was 90 00 which is sucessful.
However the application status is still selectable not 'blocked'.
I guess application block functionality is not implemented in my own application.
Should I implement application block logic in my application?
If I have to , how ? Is there any API for that?
I appreciate your help in advance
[498 byte] By [
jgyoo74a] at [2007-10-3 3:09:04]

I have a very simple idea for you, consisting of the following:
1 -adding a static variable to your applet ; call it "appBlocked".
2 - implement a new INS in the Process handler, which when received will set appblocked to "true" or "1" or whatever.
3- add a code line in the select handler of your applet that checks the "appBlocked" variable before doing anything else if it is true then just ignore all other exit or ignore all other commands.
not very sofisticated but simple.
Thanks for your advice~
According to what you said above is I have to implement application block logic in my own application.
I though card manager has a responsbility of blocking application.
Thanks for your advice~
Anyway...should I have to implement application block functionality using static variable ?
Thanks for help in advance