here is a stuck of code from lessons
command databaseConnect
local tDatabasePath, tDatabaseID
## The database must be in a writeable location
put specialFolderPath("documents") & "/runrevemails.sqlite" into tDatabasePath
## Open a connection to the database
## If the database does not ...
Search found 3 matches
- Sun Feb 12, 2012 2:16 am
- Forum: iOS Deployment
- Topic: Running SQLite Database App In The iOS Simulator
- Replies: 15
- Views: 15192
- Sun Feb 12, 2012 2:05 am
- Forum: iOS Deployment
- Topic: Running SQLite Database App In The iOS Simulator
- Replies: 15
- Views: 15192
Re: Running SQLite Database App In The iOS Simulator
Hello,
i think that there is no "desktop" folder in iOs.
You have to write some think like
if the platform is "iphone" then
put specialFolderPath("engine") & "/Fire2.sqlite" into tDatabasePath
else
put specialFolderPath("desktop") & "/Fire1/Fire2.sqlite" into tDatabasePath
end if
But, take ...
i think that there is no "desktop" folder in iOs.
You have to write some think like
if the platform is "iphone" then
put specialFolderPath("engine") & "/Fire2.sqlite" into tDatabasePath
else
put specialFolderPath("desktop") & "/Fire1/Fire2.sqlite" into tDatabasePath
end if
But, take ...
- Sat Jan 21, 2012 6:08 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: lot of crash, LiveCode 5.0.2 very unstable
- Replies: 4
- Views: 5263
lot of crash, LiveCode 5.0.2 very unstable
Hello,
In recent days, I try to develop some small stack to exercise myself, but LiveCode is often crashes.
I use LiveCode 5.0.2 on Mac OS X Lion.
Each time, suddenly, things do not work. Exit and restart LiveCode is not enough. I have to reboot the Mac completely.
Each time I lost several version ...
In recent days, I try to develop some small stack to exercise myself, but LiveCode is often crashes.
I use LiveCode 5.0.2 on Mac OS X Lion.
Each time, suddenly, things do not work. Exit and restart LiveCode is not enough. I have to reboot the Mac completely.
Each time I lost several version ...