title: How to create a login database in Android
body: <p>I am trying to create a login app in android. How can I access the database from a different activity? Once the user enters his username and password on the main activity his details are checked from the database. Also, How can I make him register using a separate activity on the same database?</p>