MyDAC, UniDAC not working on android XE5
-
Electronicpower
- Posts: 12
- Joined: Wed 24 Feb 2010 08:28
MyDAC, UniDAC not working on android XE5
I have just installed the new XE5 , UniDAC and MyDAC.
When i try to create a android connection to a MySql database all UniDAC and MyDAC components are disabled for FireMonkey applications.
How is a DB connection from a android device possible ?
When i try to create a android connection to a MySql database all UniDAC and MyDAC components are disabled for FireMonkey applications.
How is a DB connection from a android device possible ?
-
AndreyZ
Re: MyDAC, UniDAC not working on android XE5
To use MyDAC and UniDAC components for an Android application, you should create a new Delphi FireMonkey Mobile Application. After this, you will be able to place MyDAC and UniDAC components onto the form. For more information, please read the following article: http://blog.devart.com/android-database ... o-xe5.html
Also, there are Mobile demo projects supplied with MyDAC and UniDAC. You can find them in the "MyDACDemos\Miscellaneous\Mobile" and "UniDACDemos\Miscellaneous\Mobile" directories.
Also, there are Mobile demo projects supplied with MyDAC and UniDAC. You can find them in the "MyDACDemos\Miscellaneous\Mobile" and "UniDACDemos\Miscellaneous\Mobile" directories.
-
Electronicpower
- Posts: 12
- Joined: Wed 24 Feb 2010 08:28
Re: MyDAC, UniDAC not working on android XE5
Sorry this is not working, all components shows up as for the "32-Bit Windows,64-Bit Windows, OS X" plattform, you can't place them to the FireMonkey page.
This is not the same in SecureBridge. Those components i can place on the page and they show up for the "Android , .... , IOS-Simulator" plattform.
But i have a really funny situation when i open the mobile demo [MyDAC for RAD Studio XE5 > ... Mobile > Delphi19> MyDAC]. I see the MyConnection and the MyQuery component on that page, but i am still not able to add a second MyQery component to that page.
This is not the same in SecureBridge. Those components i can place on the page and they show up for the "Android , .... , IOS-Simulator" plattform.
But i have a really funny situation when i open the mobile demo [MyDAC for RAD Studio XE5 > ... Mobile > Delphi19> MyDAC]. I see the MyConnection and the MyQuery component on that page, but i am still not able to add a second MyQery component to that page.
-
AndreyZ
Re: MyDAC, UniDAC not working on android XE5
Please try the following:
- remove MyDAC and UniDAC;
- remove all *dac*.bpl and *crcontrols*.bpl files from your computer;
- install MyDAC 8.1.4 and UniDAC 5.1.4.
Does the problem persist after this?
- remove MyDAC and UniDAC;
- remove all *dac*.bpl and *crcontrols*.bpl files from your computer;
- install MyDAC 8.1.4 and UniDAC 5.1.4.
Does the problem persist after this?
-
Electronicpower
- Posts: 12
- Joined: Wed 24 Feb 2010 08:28
Re: MyDAC, UniDAC not working on android XE5
no, i have a lot of missing bpl errors when XE5 starts up:
dclBindCompFireDAC190.bpl
dclFMXFireDAC190.bpl
dclBindCompFireDAC190.bpl
dclFMXFireDAC190.bpl
-
AndreyZ
Re: MyDAC, UniDAC not working on android XE5
The above suggestion was about MyDAC and UniDAC packages, not about all packages of RAD Studio XE5. You can avoid this problem in two ways:
1. reinstall RAD Studio XE5.
2. disable FireDAC packages using the "Component->Install Packages" menu. This way is appropriate if you do not need FireDAC.
1. reinstall RAD Studio XE5.
2. disable FireDAC packages using the "Component->Install Packages" menu. This way is appropriate if you do not need FireDAC.
-
Electronicpower
- Posts: 12
- Joined: Wed 24 Feb 2010 08:28
Re: MyDAC, UniDAC not working on android XE5
I just do what you recomended : - remove all *dac*.bplAndreyZ wrote:Please try the following:
- remove all *dac*.bpl and *crcontrols*.bpl files from your computer;
Does the problem persist after this?
-
AndreyZ
Re: MyDAC, UniDAC not working on android XE5
I wrote two possible ways to avoid the problem with missing packages in my previous post.
-
Electronicpower
- Posts: 12
- Joined: Wed 24 Feb 2010 08:28
Re: MyDAC, UniDAC not working on android XE5
after a complete new install of Delphi XE5 , MyDAC and UniDAC
all is the same as at the beginning!
All MYDAC, UniDAC, UniDAC Providers are enabled only for win32,win64 and OS X plattforms.
It is not possible to put those components on a FireMonkey page.
all is the same as at the beginning!
All MYDAC, UniDAC, UniDAC Providers are enabled only for win32,win64 and OS X plattforms.
It is not possible to put those components on a FireMonkey page.
-
AndreyZ
Re: MyDAC, UniDAC not working on android XE5
Most likely, you are using standard editions of MyDAC and UniDAC. The point is that Mobile Development is available only in professional editions, you can find the information about that here:
http://www.devart.com/mydac/editions.html
http://www.devart.com/unidac/editions.html
To develop an Android application, you should use professional editions.
http://www.devart.com/mydac/editions.html
http://www.devart.com/unidac/editions.html
To develop an Android application, you should use professional editions.