Page 1 of 1
ODBC and Mobile Devices
Posted: Mon Mar 14, 2011 2:00 pm
by xclntdesign
Does ODBC work with mobile devices (iPhone, Android, Windows Mobile, etc)? If so, which drivers do they support?
I'm creating an application that requires a local database for offline work and I am trying to come up with the best viable cross-platform solution.
If anyone has any other ideas that may work better, please let me know. I've been tossing around the idea of encrypting/decrypyting an XML file (databases will container user info, so they must be secured somehow) if I can't get the databases to work, but I'd much rather use an Access database.
Re: ODBC and Mobile Devices
Posted: Mon Mar 14, 2011 2:05 pm
by Klaus
Hi xclntdesign,
database access is made possible with externals which are not yet supported in LiveCode iOS!
The upcoming version 4.6 will start to support externals and will come with support for SQLite
(and RevXML and RevZIP). The version is supposed to be released at the end of this month.
Hope that helps.
Best
Klaus
Re: ODBC and Mobile Devices
Posted: Mon Mar 14, 2011 2:14 pm
by xclntdesign
So the upcoming version will support SQLite, no Access or Filemaker?
Re: ODBC and Mobile Devices
Posted: Mon Mar 14, 2011 2:33 pm
by Klaus
SQLite, just as I wrote, nothing more but also nothing less!

Re: ODBC and Mobile Devices
Posted: Tue Mar 15, 2011 3:08 pm
by MrWizard
Will externals be supported in the Android and Mindows Mobile releases at the same time as iOS? Easy local data storage is a MUST.
Re: ODBC and Mobile Devices
Posted: Tue Mar 15, 2011 3:28 pm
by FourthWorld
MrWizard wrote:Easy local data storage is a MUST.
If you don't need relationality, you should be able to use a text file, array file, or stack file for local storage.
Re: ODBC and Mobile Devices
Posted: Tue Mar 15, 2011 4:27 pm
by MrWizard
Well, yeah, you can use a text file...but even for a single table db it is so easy to call "SELECT * FROM mytable WHERE id = 234" than to manually parse a text file. Also SQLite supports BLOB data easily, a text file would require encoding any binary data manually.
To be honest, I am interested in external support for more than just database support. There is just such a wealth of existing C/C++ code to perform so many calculation intensive tasks.