We are developing samsung gear application which have Basic UI settings through settings.xml, but when we go to read updatesettings.xml from wgt-private folder every time we got NotFoundError. this our code
function readUpdatedSetting(doSetting) {
if (!doSetting)
return;
var path = "wgt-private/updatedsettings.xml";
tizen.filesystem.resolve(path, function (file) {
file.readAsText(function (text) {
alert(text);
$('#test').html(text);
doSetting((new DOMParser()).parseFromString(text, "text/xml"));
});
file.parent.deleteFile(path);
},function(e){
console.log("Error" + e.message);
}, "rw");
}
function updateSettings(xmlDoc) {
}
setInterval(function () {
readUpdatedSetting(updateSettings)
}, 5000)
so is there any solution to read updatesettings.xml
wgt-private for updatesettings.xml
Hello
We are developing samsung gear application which have Basic UI settings through settings.xml, but when we go to read updatesettings.xml from wgt-private folder every time we got NotFoundError. this our code
so is there any solution to read updatesettings.xml
Regards
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio