[Android] Background root window
I'm having a little issue with my program. I'm writing a simple android app that spawns a new windows in the app.js which acts as my root window for the application. When i click the back button, I get taken back to the splash screen.
I've noted that the api documentation mentioned that if you wanted to set a custom root window you apply the exitOnClose property, however i also need my application to continue running in the bg. So I'm currently stuck with a choice - have the application return to the global root (splash screen) when I click back and have backgrounding, or else set my main window as root and lose backgrounding.
Is there any better solution?
Also is there any way i can make the splash screen fullscreen? At the moment it's showing both chrome and the statusbar and I cant seem to get rid of them.
3 Answers
-
Accepted Answer
I ran into the same trouble. John V provided an answer in my Q&A that worked for me. Check it out
-
Actually looking around it seems that the back button on android typically closes the app whereas the middle button takes you back to homescreen. Not all apps seem to honour this though (which is why i got confused).
-
I ran into the same trouble. John V provided an answer in my Q&A that worked for me. Check it out