app_preference.h

app_preference.h

BY 07 May 2015 Native Application Development

Hello.

I am developing an application for Tizen 2.3.1 and that uses app_preference.h. When I’m building it in Tizen IDE everything works fine – I can save some strings to preferences and read them.

However when I am switching to GBS build system preferences doesn’t work. When I try to read something from preferences or write to them I have an error:

E/CAPI_APPFW_APPLICATION_PREFERENCE(14160): preference.c: _initialize(81) > IO_ERROR(0xfffffffb) : fail to open db(unable to open database file) E/CAPI_APPFW_APPLICATION_PREFERENCE(14160): preference.c: preference_is_existing(489) > IO_ERROR(0xfffffffb) : fail to initialize db E/CAPI_APPFW_APPLICATION_PREFERENCE(14160): preference.c: _initialize(81) > IO_ERROR(0xfffffffb) : fail to open db(unable to open database file) E/CAPI_APPFW_APPLICATION_PREFERENCE(14160): preference.c: _read_data(254) > IO_ERROR(0xfffffffb) : fail to initialize db

 

Does anybody know what am I missing that it doesn’t work?

Written by