Android应用程序到Oracel数据库连接。 [英] Android application to Oracel Database Connection.

查看:104
本文介绍了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.


这篇关于Android应用程序到Oracel数据库连接。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆