02-15-2020, 11:16 AM
you can use volley and pass the data with volley using post request and return json on the php side
for example
on android post to server/login.php
post data username=test&password=test
on php server return
{success:1,user_id:420}
make a logic if success isnt equal to one tell that the password isnt correct . but if success equal one
proceed to next activity and pass the user id with intent
i used to make that kind of application and i learn it from this github repository
https://github.com/dedykuncoro/Android-L...oneksi.php
for example
on android post to server/login.php
post data username=test&password=test
on php server return
{success:1,user_id:420}
make a logic if success isnt equal to one tell that the password isnt correct . but if success equal one
proceed to next activity and pass the user id with intent
i used to make that kind of application and i learn it from this github repository
https://github.com/dedykuncoro/Android-L...oneksi.php
humanpuff69@FPAX:~$ Thanks To Shadow Hosting And Post4VPS for VPS 5