Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
02-25-2012 03:25 PM - edited 02-25-2012 03:41 PM
default value for offlineStoragePath is
while some sqlite db stored in "/accounts/1000/appdata/com.example.appName/db"
changing of OfflineStoragePath works well for me: now it's look like "/accounts/1000/appdata/com.example.appName/data"
02-25-2012 03:45 PM
02-25-2012 04:08 PM
Ok, I've managed to set offline storage path to /accounts/1000/appdata/com.tester.Fiszki.testDev_s
tx.executeSql('CREATE TABLE IF NOT EXISTS Greeting(salutation TEXT, salutee TEXT)');
my findGreetings() function is stopped.
I have no more ideas what is wrong...
02-25-2012 04:24 PM
Not knowing QtQuick well yet, I can't say exactly what's wrong but can only provide suggestions.
I notice the example code in the docs (on which you've obviously based this) does not include the empty array argument in the CREATE TABLE call.
In the same docs, it notes that an INI file should be created by the openDatabaseSync() call, with some metadata written to it. Can you check in the ./data folder to see whether that's been created? You'd need to know how to SSH in, or use some other technique. See http://doc.qt.nokia.com/4.7-snapshot/qdeclarativeg
If you don't see the INI file anywhere, I would assume the database is not really open...
02-25-2012 10:25 PM
02-25-2012 11:01 PM - edited 02-25-2012 11:03 PM
This folder is empty (or I can't open correctly) . I will attempt to open the ini file at the morning. I'm going to sleep, because is 5a.m. in Europe already p
02-26-2012 08:29 AM
I've managed to open the ini file.
It includes data who I set in my qml:
In the Databases folder I've found the same ini file like in. /data (the same name, and the same content)
Still I can't find database file.
02-26-2012 08:53 AM
02-26-2012 09:00 AM