1


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.

GabrielAtan
  • 410
  • 4
  • 11
  • 1
    Do you want to use MySQL client-side, on the Android device ? Same thing for PHP ? – personne3000 Sep 30 '14 at 15:06
  • 1
    Use sqlite3 for storing data on the local side. And if you want to store your data at server side use BAAS (Backend as a service) like parse from Facebook. There is no way to interact directly with mysql from your phone. – Dharmendra Pratap Singh Sep 30 '14 at 15:12
  • http://capdroid.wordpress.com/2012/07/10/configuring-and-accessing-mysql-jdbc-driver-on-android-application/ – Avinash Babu Sep 30 '14 at 15:51

1 Answers1

3

You can Connect mySQL through json parsing

here are some examples

Connect mySQL with Android

Sending ArrayList from Android to PHP script using JSON

How do i connect mysql database and insert data into it using android code

Diagrammatic Representation

Edit: http://www.trustingeeks.com/connect-android-app-to-mysql-database/

Community
  • 1
  • 1
Jamil
  • 5,457
  • 4
  • 26
  • 29