Hi all

Sorry if this has been asked before here, I can't find the answer if
so.

Problem: I would like my user to have to log in to my application each
time they open it. It's all run locally on the Android device, it's
not a web service.

Question: how should I implement this?

1. Are there e.g. onStartup() and onShutdown() per-application events,
or similar, that I can hook into, to serve up a login dialog and set
the login state in Preferences? If not, then how should I implement
login?

2. Assuming that I save the login state and the user's password
(hashed with a salt) in Preferences, how secure will that be? Could
any user with root access get into the application? How about a user
without root access, but with USB access?

Thanks, hope this makes sense, please post questions here if not.

cheers!

Anna
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to