Hi
I have install a SDK 2.0. I working on Ubuntu 12.10 32bit
I would like use a database in my application but I have a problem with open database.
I use a sample from documentation:
https://developer.tizen.org/help/index.jsp?topic=%2Forg.tizen.native.apireference%2FclassTizen_1_1Io_1_1Database.html
dbName = App::GetInstance()->GetAppDataPath() + L"sample.db"; pDatabase = new Database(); if (!pDatabase) { goto CATCH; } r = pDatabase->Construct(dbName, "a+"); if (IsFailed(r)) // r = E_INVALID_ARG { goto CATCH; }
Method Construct return E_INVALID_ARG:
In log I have:
02-22 02:53:26.761 : ERROR / Tizen::Io ( 2411 : 2411 ) : result Tizen::Io::_DatabaseImpl::Construct(const Tizen::Base::String&, const char*, const Tizen::Base::ByteBuffer*) (410). > [E_INVALID_ARG] Parent Directory dose not exist.
02-22 02:53:26.761 : ERROR / Tizen::Io ( 2411 : 2411 ) : result Tizen::Io::Database::Construct(const Tizen::Base::String&, const char*) (112). > [E_INVALID_ARG] Propagated.
What's wrong, he's an example of the documentation ?
Thanks for your help