Android Application and Mysql Database

Asked

Viewed 531 times

-1

I have an application developed on Android and need to connect to a Mysql database that is local on a Desktop. I can easily get the IP address of the machine where the bank is. How can I connect the application to the local Mysql database on the Desktop without the use of webservices?

  • Check out this Stackoverflow solution in English: https://stackoverflow.com/questions/41946065/android-how-to-connect-an-android-phone-to-computers-localhost

1 answer

-1

You can do this using JODBC mysql and Asynctask by connecting directly. Don’t forget to put jodbc in your project’s libs folder.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.