Jump to content

Have a question about databases


G+_Christophe Vandingelen
 Share

Recommended Posts

Have a question about databases. I want to develop an app/program witch can be accessed on the web, but also has a native app on Android. Now, Android uses SQLite as a database and most of the webhosts today use mySQL together with php as I'm also writing my code that way. So my question is: how can I make this compatible? Should I switch to SQLite for the web too and if yes, where can I get hosting that supports it. Or are there other ways?

Link to comment
Share on other sites

I've always made a companion PHP script to interact with my remote database (the Web one) that sent my requests back to the Android app via JSON.

 

http://www.androidhive.info/2012/05/how-to-connect-android-with-php-mysql/

 

That should help get you started. Let me know if any specific questions you have. It's very easy so don't feel overwhelmed.

Link to comment
Share on other sites

 Share

×
×
  • Create New...