Reputation: 45
Title says all. Can i use mysql/oracle database in Android application even if it's very slow and bad ?
Upvotes: 1
Views: 140
Reputation: 14938
Remotely by using a webservice yes.
Locally , it's theorically possible but you probably have to :
Long story short , you don't want to do that ! It's cleary not a good solution.
And to be honest using DBMS like oracle on a phone , it is like using a rocket launcher to kill a fly ...
Note : you can have a look on this documentation about berkley DB on android
Upvotes: 2
Reputation: 49
As far as i understand you need local database running on Android. That means MySQL/Oracle are not choice.
As there is only java - you can try to use java based DB. There are few on internet. Of course they have to be ported.
Upvotes: 0
Reputation: 2671
Yes, you can.
You just have to create .php that gonna get informations from the databases and return you a json.
In Android you create a httprequest in wich you target the .php file and analyze the json.
Upvotes: -1