How to validate user credentials in an android app from an external database(xampp server). And the users are also of two types Admin as well a simple User. I want to redirect them to Different pages after validation
You can create API for this. For more info about API call click here
If you are having users of two types Admin as well a simple User, then you can return a parameter for user privilage from server and based on that you can redirect user to different page..