Web developer who codes with passion and has dedicated his lifetime to learning and sharing the realm of ever-changing technology with the world. You can call me at +1 905-870-3469 or email me at junal@junalontherun.com
Delete
My LinkedIn Profile | Contact Me | Follow Me
Junal On The Run
Skip to content
← Farewell Vancouver!

Android Basic Login Example With Shared Preference

Posted on November 11, 2011

Just created a simple Android tutorial that shows you how to use an Android login and SharedPreferences. It has the following examples:

  1. Basic Login (test/test)
  2. Using SharedPreference to save a preference so once the user logs in, they don’t have to login again when launching the app.
  3. An example of a Menu item that has the “Log Out” item and the code that show the user logs out from the application.

Login Screen

Home Screen

You can download the source code from here and play with it. Let me know if you have ANY questions.

This entry was posted in Android and tagged Android Login, Android Session, SharedPreferences. Bookmark the permalink.
← Farewell Vancouver!
© 2011 Junal Rahman
Proudly powered by WordPress.