I'm currently developing an app mainly for learning purposes. Everything I have read so far has confused me rather then help. My goal is to connect to a MySQL database and retrieve data. The database consists of quotes, authors, and a category that the quote belongs to.
I know PHP and MySQL enough to write an API to return JSON data form the server.
I'm trying to connect my Android 4.x Emulator to a MySQL database stored in my computer. I can connect to it without problems with Android 2.x which uses IPv4 but I can't with 3.X or 4.X because uses IPv6.
I have a problem with the application I'm developing.
I am trying to connect to a database in Mysql that is in local in a WIFI network with my application on android.
I use for this, a direct method, with mysql-connector-java 5.1.23.
The application works fine on my nexus one (Android 2.3).
I am developing an app in android which connects mysql database which is on the server to my android device .I am using Web services ,please can anyone tell me how to connect the device and the database. I dont want to host the data on hosting sites . Thanks in advance.