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?
Problem : Usnig UNIDAC in firemonkey android
Re: Problem : Usnig UNIDAC in firemonkey android
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
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
Best Regards,
Cristian Peta
Re: Problem : Usnig UNIDAC in firemonkey android
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
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
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 ?
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
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.