![]() - both MainMenuActivity and RetroActivity are single instances now - AKEYCODE_BACK gets eaten and onBackPressed in Java is triggered - onBackPressed right now calls an instance of MainMenuActivity (reuses the existing activity on the stack) - User can switch back and forth between RetroActivity and MainMenuActivity with AKEYCODE_BACK / Back button - When a subsequent intent is launched after RetroActivity has already been started up once, the pending intent gets passed to the existing RetroActivity throug onNewIntent - in C land it will look every frame if an intent is pending - if it is, it will look up certain variables through JNI to launch a new game - or whatever it is that the intent wants to do - With this we can now switch seamlessly between Android UI and RetroArch itself. |
||
---|---|---|
.. | ||
platform_android.c | ||
platform_android.h | ||
platform_apple.c | ||
platform_gx.c | ||
platform_ps3.c | ||
platform_psp.c | ||
platform_qnx.c | ||
platform_wii.c | ||
platform_xdk.c | ||
platform_xdk.h |