Reputation: 55
I know that there is some post about my problem in the net, but none of them has the answer I can use.
My problem is connecting to remote MySQL database using Android Xamarin.
I tried to connect using MySQL.Data.dll - there were a lot of errors about missing references.
I wanted to use SQLite, but I couldn't find any post witch shows how to use it and CONNECT to a remote database.
I cant use any PHP / HTTP script.
Is it possible to connect to MySQL using SQLite? If yes, how to do it (I need to read and update data)?
Upvotes: 0
Views: 1327
Reputation: 147
Instead of connecting directly to an sql database, perhaps use some sort of web API to communicate?
So instead of: Xamarin app -> MySQL db.
It'll be: Xamarin app -> web API -> MySQL db.
Upvotes: 1