This is a two-part question:
How do I hash the user password in an Android application and store the hash in the database?
How do I convert the user login password and check with the already stored hash in the database?
Note: I am only interested in the code related to Android (Java). If you could explain how to do this using Android Studio, that's much better.