I've recently learnt that to store a password securely you should use slow cryptographic hash functions with salt and store the hashed password and salt in some server.
But how should I store a password securely for an offline application? I'm afraid that if someone got a hold of the users phone, they could root the phone to get the files where all the sensitive information is stored and get either the hash, salt used for hashing or just replace the hashed password with their own hashed password. Are there any tricks that I can deploy to make my offline app's password more securely stored?
Edit: Just to clarify, I'm more interested in protecting the users password than the entry through to the app.