Connecting the oracle in android application

前端 未结 2 1211
醉酒成梦
醉酒成梦 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 05:48

    I'm very interested in this. I was trying something similar yesterday with the mysql driver (ultimately it will be an oracle connection though), everything I've googled says it's either a very bad idea to use jdbc with android or simply not possible.

    Yet you've managed to connect to an oracle database. I'd be interested to know performance etc.

    0 讨论(0)
  • 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

    0 讨论(0)
提交回复
热议问题