how to connect to firebird DB on android

时间秒杀一切 提交于 2019-12-17 16:48:20

问题


I need to connect my android application to my firebird DB

do someone knows how to do this?

please write the code!


回答1:


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.




回答2:


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:


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



来源:https://stackoverflow.com/questions/10473779/how-to-connect-to-firebird-db-on-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!