Page 1 of 1

Problem : Usnig UNIDAC in firemonkey android

Posted: Fri 06 Jun 2014 17:07
by Hooyar
I used UniDAC in a sample firemonkey with UniConnection ,It was successfully connected to
sql server database ,Then I upload my app on my mobile , But when I set
uniconnection.connected:=true;

Message "YOU SHOUD ADD THE SQLSERVERUNIPROVIDER UNIT TO THE USES CLAUSE OF ANY UNIT IN YOUR PROJECT OR PLACE THE TSQLSERVERUNIPROVIDER COMPONENT ON THE FORM " shows on my mobile screen , My problem is that the SqlServerUniProvider is not an android component and it is disable in the UniDAC Provider Tab and I cant use it , It seems for windows app , So what I should do?

Re: Problem : Usnig UNIDAC in firemonkey android

Posted: Tue 10 Jun 2014 09:00
by CristianP
Hello,

my understanding is that devart team is working on a native connection to SQL Server.
Other solution is to ask Microsoft to release an Android SQL client :). They have done an ODBC for Linux.

Best Regards,
Cristian Peta

Re: Problem : Usnig UNIDAC in firemonkey android

Posted: Tue 10 Jun 2014 12:39
by azyk
Hello,

UniDAC doesn't support MS SQL Server for Android application development. You can find more details about compatibility at http://www.devart.com/unidac/compatibility.html

Re: Problem : Usnig UNIDAC in firemonkey android

Posted: Tue 10 Jun 2014 20:11
by Hooyar
Thanks for your replays ,
I have another quiestion , I used UniDAC(MySql) in an app in my mobile (Android) usnig home wifi it works correctly , But when I run that app in my mobile using internet via sim cart it hangs ,In both of mentioned cases I tried to connect to one remote server via internet with MySql (Not in my home or local network), So what is wrong ?

Re: Problem : Usnig UNIDAC in firemonkey android

Posted: Wed 11 Jun 2014 15:43
by azyk
The problem may be due to using DNS in the server name. Try specifying the IP address of your MySQL server in the TMyConnection.Server property.