如何在Android上连接到Firebird DB [英] how to connect to firebird DB on android

查看:130
本文介绍了如何在Android上连接到Firebird DB的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要将我的android应用程序连接到我的firebird数据库

I need to connect my android application to my firebird DB

有人知道该怎么做吗?

请编写代码!

推荐答案

我对Firebird并不特别熟悉,但是我猜测最好的方法是使用某种Web服务(RESTful?),它允许您使用Android客户端与数据库进行通信.这是大多数应用程序通常使用的解决方案,因为您无法从Android直接连接到数据库.从设计的角度来看也很好,因为您的应用程序不依赖于基础数据库本身,而是依赖于充当中介的Web服务,这意味着您可以交换数据库实现而不会影响客户端.

I'm not particularly familiar with Firebird, but my guess is the best approach would be to use a web service of some sort (RESTful?) which allows your Android client to communicate with the database. This is the solution that is typically used for most apps since you can't connect directly to the database from Android. It's also good from a design standpoint because your application does not depend on the underlying database itself, but rather the web service which acts as a mediator, meaning you can swap database implementations without impacting your client.

这篇关于如何在Android上连接到Firebird DB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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