简体   繁体   中英

Android Studio Login Activity

I'm working at my first app and I want to login to a php website, but want to use the Login Activity of Android Studio. My design looks perfect but I don't know how I can access my Database. So how can I compare the email entered from the user and the email saved in the databse?...same for the password. Thanks a lot for helping me

Your app doesn't know your webpage's database. You need to do add some backend API to your website (via REST, SOAP, HTTP or whatever) so that the app can query for users with given name/password and make that api call from the app. I strongly recommend using encryption.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM