I made a simple login page, I pretty much regurgitated the
"Forwarding" example in the API Demo.

In addition, I added a "Remember Me" check box, which I promptly
stored in a SharedPreference as  boolean.  I did some digging in the
File Explorer, and found I could extract that XML file.  Would I be
able to do this in for real if I grabbed a USB cable and attempted to
grab that XML file on a real phone?

So now, if "rememberMe" is set to true, they don't need to enter their
username/passwrod anymore.  Is this really the best way to go?  Or
should I have made a UserBean and do that Java stuff, or should I have
stored that stuff in the SQLLite?

Alternatively, if I have rather few data to store, why not just use
SharedPreferences only and scrap the whole idea of using SQLLite?

Just throwing out ideas, trying to figure out what the best model/
design is and the pros and cons of each.

Is there any built in encryption for any of these?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to