User presses Home or Back

Tutorials concerning the OpenGL® ES cross-platform API for full-function 2D and 3D graphics on the Google-Android platform.

User presses Home or Back

Postby jbrohan » Mon Nov 02, 2009 7:22 pm

I'm dealing with un-sophisticated users and I want the result to be the same whether he presses Home or Back. If I can find out that he pressed Home last time, or the job was swapped out then I can close some resources like the camera and start again at the onCreate.

The app starts off in Camera Preview and goes through a take picture and send in picture steps. it's awkward to re-start it, and most likely the user will be most comfortable if it starts always in the same place.

Any ideas or suggestions on how to achieve this. Taking over the Home key does not seem like an option!
Junior Developer
Junior Developer
Posts: 14
Joined: Fri Aug 28, 2009 11:12 am
Location: Montreal


Return to Android 2D/3D Graphics - OpenGL Tutorials

Who is online

Users browsing this forum: No registered users and 3 guests