S
S
Sergey Petrosyan2018-10-03 19:46:19
PHP
Sergey Petrosyan, 2018-10-03 19:46:19

How to make authorization on Android + PHP + MySQL?

Hey!
I want to make an application that will safely go to the site, log in, get a json file from my site and display it in my application.
On the server, I have already made a small script, and when I go to the site, a place for entering a password and login appears, I enter the login and password and the page opens the json.php file for me, I didn’t have any problems here.
The problems started when I started creating applications for android, I can’t make it so that when I enter the application, the login and password fields are displayed and when the correct data is entered into the ListView, data from json.php is displayed.
Json.php, in turn, enters the database and exports some data in json format to make it clearer to android.
Thanks in advance, I think you can help with something, maybe some code examples or instructions, I've been a newbie in this business for a week now, but I've been suffering but nothing. If you need any more details let me know.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Kuznetsov, 2018-10-04
@dima9595

As an option, raise your oAuth server and do authorization through it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question