Page 1 of 1

Back Button Change of Application Focus

Posted: Mon Oct 13, 2014 10:18 pm
by dcpbarrington
Android Forum,

I'm using the backKey handler to step back through the menus that the user has selected in the application, but when they get to the end of the list, I want them to exit the mobile app without doing a QUIT command, just like you do when you select the HOME key on Android. This will allow the user to quickly start back where they left off using the application without waiting for the app to start again.

Is there a way to change the focus without killing the mobile app?

Thanks
Dan

Re: Back Button Change of Application Focus

Posted: Tue Oct 14, 2014 12:23 am
by Simon
Hi Dan,
Not that I have ever seen.
I think you'll have to use a preference file.

Simon

Re: Back Button Change of Application Focus

Posted: Tue Oct 14, 2014 7:34 pm
by dcpbarrington
Thanks Simon,

I though there might be a way to change application focus because when you select the HOME key in Android, the app stays running, and focus goes to the home screen. This just might be an Android configuration that LC has no control over.

I may have to just live with the fact that the App needs to QUIT on the Back Arrow to give focus back to the previous App.

Dan

Re: Back Button Change of Application Focus

Posted: Tue Oct 14, 2014 7:47 pm
by Simon
Hi Dan,
...without waiting for the app to start again.
Ah I see, it's just the start up, a preference file wont help with that.

But you know... it wouldn't be unusual to force the use of the home button (don't quit with back button).
And don't forget even using the home button your app can still be shut down (quit) without warning when Android needs the memory space.

Simon

Re: Back Button Change of Application Focus

Posted: Wed Oct 15, 2014 6:18 pm
by dcpbarrington
Thanks Simon. Your feedback is very useful.

Dan