Connecting the oracle in android application

前端 未结 2 1234
醉酒成梦
醉酒成梦 2021-01-27 05:21

I am doing multimedia application. my issue is i want to connect oracle database into my application through JDBC. whenever i tried to connect jdbc driver it shows

2条回答
  •  滥情空心
    2021-01-27 06:04

    You cannot import a JAR implementing java.* classes easily. And, JDBC would need to be ported to Android, since it probably relies upon classes in JavaSE that Android lacks. And, you would need to write your own JDBC driver for SQLite anyway, wrapping the API Android already supplies, since I suspect the existing JDBC driver uses JNI. And, when all of that is done, you will have an application that adds a lot of bloat, making it less likely people will download and retain your application.

    source

提交回复
热议问题