Page 1 of 1

windows Yes/ Android no - with mysql Remote

Posted: Tue 04 Oct 2016 13:39
by sparada
Hi.
I'm trying MyDAC. from android to connect to a remote mysql DB.
In windows it works fine. But in android application is closed to connect without giving messages. Remove all compoentes and only left a connect button. Pressing the button closes the application. Windows PC and smartphone (Moto G3 android 6) are connected to the Internet through the same router. That is they have the same IP that is allowed on the server.
Delphi X6
Direct = true
MyDAC gtry version

thank in advance.

Re: windows Yes/ Android no - with mysql Remote

Posted: Tue 04 Oct 2016 14:58
by ViktorV
Please check whether the issue is reproduced on our Mobile demo project. The project is located in the 'Demos\Mobile' folder relatively to the MyDAC demos installation path. In the TMyConnection.Server property specify the IP address of MySQL server instead of its name.
Note, Mobile Development is available only in Professional and Trial Editions, you can find information about this here: http://www.devart.com/mydac/editions.html

Re: windows Yes/ Android no - with mysql Remote

Posted: Tue 04 Oct 2016 15:33
by sparada
Place the IP on the server and does not work on Android.
The demo project does not work. Don't run. :( .
I have the Trial Edition.

Re: windows Yes/ Android no - with mysql Remote

Posted: Wed 05 Oct 2016 14:22
by ViktorV
The issue may be due to that RAD Studio XE6 has no support for Android 6: http://docwiki.embarcadero.com/Platform ... /Main_Page
Please try to compile and run our Demo project for Android version supported in RAD Studio XE6.