Click here to Skip to main content
14,766,280 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am new to android & I am trying to learn how to connect my app to a Mysql database.

With some research I found that its not recommended to use JDBC for Database connection in Android.

Also some alternatives I found seem pretty weird, they were using a PHP file to handle the connection and query part inside the App.

I am confused now, Can you please explain how I should co about doing it ?

and also how its generally recommended ? 

What I have tried:

I tried google & other online resources
Updated 8-Oct-20 4:22am

1 solution

Android seems happy with the idea: Connection  |  Android Developers[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900