View previous topic :: View next topic |
Author |
Message |
Alastair Rae
Joined: 19 Jan 2012 Posts: 6
|
Posted: Wed Apr 11, 2012 10:53 am Post subject: ACTION_FIRST_STK duplicate |
|
|
My app auto-starts when it receives the ACTION_FIRST_STK event:
Code: |
case ACTION_FIRST_STK:
dbsp("DEBUG ACTION_FIRST_STK\n");
stk_thread(startapp, data);
break;
|
In my startapp function, I display a menu using select_item().
My problem is that I am seeing the DEBUG ACTION_FIRST_STK twice and my menu is duplicated so that I have to press OK twice. Am I doing something wrong?
I also handle ACTION_INSERT_MENU and ACTION_MENU_SELECTION. My app works fine if I run it from the sim menu. It only messes up on the autostart. |
|
Back to top |
|
|
Alastair Rae
Joined: 19 Jan 2012 Posts: 6
|
Posted: Thu Apr 12, 2012 10:58 am Post subject: |
|
|
To make it clear, when I turn on the phone I get:
Code: | DEBUG ACTION_APP_INIT
DEBUG ACTION_APP_INIT
DEBUG ACTION_INSERT_MENU
DEBUG ACTION_INSERT_MENU
DEBUG ACTION_FIRST_STK
DEBUG ACTION_FIRST_STK
|
I do cemu --rm-apps to clear out previous versions so I think there is only one app running. |
|
Back to top |
|
|
pz
Joined: 12 Mar 2004 Posts: 1161
|
Posted: Fri Apr 13, 2012 11:07 am Post subject: |
|
|
Strange. Please do cemu --reset, just in case some trash was left.
Can you send us the whole APDU log to info@bladox? |
|
Back to top |
|
|
|