My friend wants to buy an Android phone for his girlfriend and wants to propose (i know, weird proposal) so he asked me to make an app which when the phone starts will not allow any commands (Home, Back buttons should't work) to be available unless she presses either the "Yes" or "No" button which appears on the display (with a marry me message. o.O ).
I'm guessing I haven't got enough access to the OS to block the inputs from the Home, Back, etc buttons, but is there another way of accomplishing this? I might be wrong but I can't catch the Home button press event in order to cancel it out, or can I?
Or ... is it possible to do this on a rooted phone, maybe "hack" the OS a little?
Any suggestions are appreciated ...