how to connect to firebird DB on android

2020-02-01 08:33发布

I need to connect my android application to my firebird DB

do someone knows how to do this?

please write the code!

3条回答
虎瘦雄心在
2楼-- · 2020-02-01 09:15

Since Jaybird (Firebird JDBC driver) doesn't support Android, you need something more "hackish". Commercial solution would be using midware, eg RemObjects DataAbstract supports Android (pre-order/beta stage) and Firebird: http://www.remobjects.com/da/java.aspx

查看更多
别忘想泡老子
3楼-- · 2020-02-01 09:23

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.

查看更多
Rolldiameter
4楼-- · 2020-02-01 09:24

You can try this Jaybird port for Android: http://sourceforge.net/projects/androidjaybird

查看更多
登录 后发表回答