So I have a website which is running a MySql server. Now I want to use the MySql for my android application.
My question is how to do this? I did some search and it seem i need to create a web service and somehow expose the MySql via REST or something similar.
Can you please explain how can i do that? And is there a better way to do this ?
There are lot’s of tutorials on this. Since you are not very specific. Here are some links that you can check for tutorials on this.
Connecting to MySQL database
Login and Registration with PHP / MYSQL – Android
Connect android with PHP & MySQL