Android : Is JDBC supported in Android devices? Android : Is JDBC supported in Android devices? mysql mysql

Android : Is JDBC supported in Android devices?


Yes. You must remember to put your JDBC connection code in an AsyncTask, otherwise you will BURN BURN BURN!


Is Android devices support JDBC.

Will Android 2.2 support JDBC.

If supported, which Android versions will support JDBC.

NO android does not support locally MYSQL database so we can not use JDBC connection frmo android device , its support only sqlite database .

and if you want to use your database from server then simply make a web services for it , all the connection of database then handled from server .

however its help you to understand JDBC and android horrible !!SO Question


It sounds like your Mysql installation only allows connections from local host. Update your Mysql config to allow connections from any host.

From what I can see java.sql is supported since API-level 1 and I don think the support will be removed any time soon.

/Thomas