如何在我的Android项目连接MySQL? [英] How to connect mySQL in my android project?
问题描述
有没有办法直接集成MySQL的在我的Android项目,而无需使用PHP。我该怎么办呢,我也可以对主题的任何教程?如果这是不可能的如何使Java和PHP之间的连接。
is there a way to integrate directly mySQL in my Android project without using php. How can I do it or can I have any tutorials on the topic? If that isn't possible how to make a connection between Java and PHP.
推荐答案
您可通过JSON连接MySQL解析
You can Connect mySQL through json parsing
这里有一些例子
<一个href="http://stackoverflow.com/questions/25408822/connect-mysql-with-android/25409204#25409204">Connect MySQL的与Android
<一个href="http://stackoverflow.com/questions/25582199/sending-arraylist-from-android-to-php-script-using-json">Sending使用JSON ArrayList中从机器人到PHP脚本
Sending ArrayList from Android to PHP script using JSON
<一个href="http://stackoverflow.com/questions/25208654/how-do-i-connect-mysql-database-and-insert-data-into-it-using-android-$c$c/25209458#25209458">How做我连接mysql数据库,并采用了android code 将数据插入到它
图解重新presentation
编辑: http://www.trustingeeks.com/connect -Android应用内到MySQL数据库/
这篇关于如何在我的Android项目连接MySQL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!