FireDac Firebird和Android [英] FireDac Firebird and Android
问题描述
除了FireDac,我还需要在移动android设备上建立Firebird连接的其他组件吗?我已经使用Firedac设置并测试了与远程服务器的连接,但是当我尝试在Android设备上运行该应用程序时,它挂起并试图建立连接。我缺少什么?
Are there any other components I need to establish a firebird connection on a mobile android device in addition to FireDac? I have set up and tested a connection to a remote server using Firedac, but when I try to run the application on an Android device, it hangs trying to make the connection. What am I missing?
推荐答案
由于(可能)缺少设备上的客户端库,因此无法直接连接。
You can't connect directly since you are (probably) missing the client library on the device.
我不知道Android平台的客户端库的可用性,但我看到了 http://www.firebirdnews.org/?p=8786 由Mariuz撰写。
I'm not aware of availability of the client library for Android platform but I saw this http://www.firebirdnews.org/?p=8786 article by Mariuz.
如果要从移动应用程序连接到数据库,您应该考虑采用多层方法(DataSnap或类似方法)。
If you want to connect to a database from a mobile app, you should consider to go for a multitier approach (DataSnap or similar).
这篇关于FireDac Firebird和Android的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!