android - Change SQLite to MySQL -


i have mysql database(xampp server) , i've found code uses sqlite database.

cursor cursor = builder.query(**mdatabaseopenhelper**.getreadabledatabase(),             columns, selection, selectionargs, null, null, null); 

on should change mdatabaseopenhelper.getreadabledatabase() if want use code mysql database?

if want use mysql, cannot use sqlite.

please refer this. have write php script in order perform data operation , use json.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -