Ok, I did a quick test with the android backend to figure out if we're intercepting the back button events. It seems to work fine (see attachment)
Code:
diff --git a/examples/helloWorld/main_loop.lua b/examples/helloWorld/main_loop.lua
index b887551..07830c4 100644
--- a/examples/helloWorld/main_loop.lua
+++ b/examples/helloWorld/main_loop.lua
@@ -38,9 +38,9 @@ local function processEvent(event)
local action = android.lib.AKeyEvent_getAction(event)
if code == C.AKEYCODE_BACK then
-- finish the program with the back key.
- android.notification("bye!")
- utils.sleep(1)
- finish()
+ android.notification("hey you pressed back key. Nothing happens!")
+ --utils.sleep(1)
+ --finish()
elseif action == C.AKEY_EVENT_ACTION_DOWN then
-- show a "pressed" notification with key code
android.notification("Pressed key "..code)
So probably the issue is how we're handling it within the frontend and not the platform code per se.
Quote:
Originally Posted by Pajamaman
I'll try to test it.
So it probably won't make any difference installing the latest stable versions? If I do update, can I just install the apk, or do I have to clear out the old version?
Thanks for both your replies. I'll look into it.
|
You can update without deleting the old version. For downgrading the program you need to delete the apk first. In any case you won't loose your settings as they're stored in /sdcard/koreader or similar (
do not remove this folder)