Android应用程序到Oracel数据库连接。

Android应用程序到Oracel数据库连接。

问题描述:

亲爱的所有人,



我正在尝试将我的Android应用程序连接到我的Oracle数据库。

但是jdbc驱动程序在执行时显示错误。

似乎android上不支持jdbc驱动程序。

请告诉我如何将我的android应用程序连接到我的oracle数据库。



考虑环境,我的Oracle数据库在局域网中,我的Android设备通过Wi-fi连接到它。

Dear All,

I am trying to connect my Android application to my Oracle Database.
But jdbc driver shows error on execution.
It seems like jdbc driver is not supported on android.
Please tell me how to connect my android application to my oracle database.

Consider the environment that, my Oracle Database is in LAN and my android device is connected to it by Wi-fi.

直接连接到oracle数据库服务器需要稳定的网络连接和繁重的数据库驱动程序。这些驱动程序不适合在移动操作系统上运行。



而不是直接连接到oracle你可以在java中创建webservices。创建和发布Web服务后,您可以将移动应用程序与Web服务连接。



请参阅此 [ LINK ]获取更多信息。
Direct connection to the oracle database server would require Steady network connection and heavy database drivers.These drivers are not designed to run on mobile OS.

Instead of directly connecting to oracle you can create webservices in java. After creating and publishing the webservice you can connect your mobile application with the webservices.

Refer to this [LINK] for more informattion.