I was woundering if there were API to set password for entering into a particular menu, say for example when i select Messaging, a password could be prompted before going into the messages. I think this will be really handy to protect the phone from misuse and improve the privacy.

Kindly let me know if API s are avaliable,