This question has already been answered:
- Android - JDBC Mysql 2 Responses
Is it possible to connect from Android via JDBC to the MySQL server without the help of php?
This question has already been answered:
Is it possible to connect from Android via JDBC to the MySQL server without the help of php?
A similar question was asked earlier and an answer has already been received. If the answers provided are not exhaustive, please ask a new question .
What protocol do you want to connect to? If HTTP, then you do not need JDBC directly in Android, it should be on the server where you connect. If directly via TPC / IP, it should be understood that the connection of mobile devices to the network is unstable, the connection may be interrupted, have poor quality, low speed, etc. How do you plan to solve these problems? JDBC is not designed for such incidents. Regarding the question - you just need to add the JDBC library to your project.
Source: https://ru.stackoverflow.com/questions/536555/
All Articles