Hi guys there is an activity on my current android app that has a webview in it. I was wondering how I could take and store a variable from the php on that website (yes I control the website, and have full editing capabilities) into a variable on my android app.
Share
I would explain the things need to be done in general. First, at your android app side, there should be code something like this.
1)At your android side
2) At your php side
As you said you are fairly proficient in php, you might have found that the above things in php made as simple as possible and It’s not secured. So, you can follow some pdo or some other secured ways to code at php side. Make sure you surround the code at your android side in asynctask in order to run in separate thread wherever you need. Hope this helps.