Page 1 of 1
Sqlite on real device
Posted: Fri 25 Jan 2013 16:24
by isysoftware
Hi all,
I'm using Unidac to connect a firemonkey application whit a sqlite database.
On Iphone/IPad simulator it works fine because I copy by hand sqllite db in Documents path of app.
If I deploy my application in a real device, it don't work: I think that sqllite db isn't deployed in Documents dir of the app.
How can I copy by code my database in Document?
Thanks
Flavio
Re: Sqlite on real device
Posted: Mon 28 Jan 2013 07:28
by CristianP
Hallo,
here is a possible response:
https://forums.embarcadero.com/thread.j ... 3&tstart=0
Best Regards,
Cristian Peta
Re: Sqlite on real device
Posted: Mon 28 Jan 2013 09:50
by AlexP
Hello,
For the time being, when developing iOS applications, there is no engine for automatic moving of files to an iOS device in XE2, you can move files manually. Such engine may become available in Embarcadero RAD Studio Mobile.
Re: Sqlite on real device
Posted: Mon 28 Jan 2013 10:23
by isysoftware
Hi CristianP, thanks for your reply.
This post, in Embarcadero's forum has been writed by me
I think that isn't impossible that there isn't anyone that have used a sqllite database in a real firemonkey application.
I have bought Unidac for this pourpose and now I'm not able to use it whit a real app.
Re: Sqlite on real device
Posted: Mon 28 Jan 2013 12:52
by AlexP
Hello,
UniDAC is designed for data access. And application deployment, transfer of necessary files to a target PC are prerogative of the IDE, if it has such functionality, or the application that creates the installation package, or a developer having written the needed code for this. Since when developing an iOS application in XE2, xCode is used for application compilation and deployment, the file transfer procedure must be implemented with this tool, therefore you should contact Embarcadero or xCode developers with this question.
Re: Sqlite on real device
Posted: Mon 28 Jan 2013 17:01
by isysoftware
AlexP,
I haven't said that Unidac don't work!
I have used this forum to find a Unidac user/developer that has had my same problem.
rather, I think UniDAC could be a great opportunity for Delphi deveoper to produce great firemonkey application for iOS.
Thanks.
Re: Sqlite on real device
Posted: Tue 29 Jan 2013 10:22
by AlexP
Hello,
Unfortunately we have not found a possibility to automatically deploy additional files (in particular the database files) in applications for iOS to a real device when developing applications in RAD Studio XE2. As I wrote above, this functionality may become available in Embarcadero RAD Studio Mobile.