Hawk,
[quote:]In addition, If I need any data from DB, must open the page that has the service that loads this data first.[/quote]
Sorry, I'm not sure I understand you correctly, is that was a question?
Hawk,
[quote:]In addition, If I need any data from DB, must open the page that has the service that loads this data first.[/quote]
Sorry, I'm not sure I understand you correctly, is that was a question?
No, I am just explaing how I got it working following your advice. Thanks
Hi There, very interesting topic.
based on above links, my understanding is that each app user has a 5MB storage space within her app.
in order to optimize usage, do you guys know if there is a way to get the current localStorage volume occupied ?
Thks in advance,
Eric
Hi EJLD,
You can calculate it with following code:
precode
var total = 0;
for (var x in localStorage) {
//Uncomment it to see details.
//console.log(x + "=" + ((localStorage[x].length * 2) / 1024 / 1024).toFixed(2) + " MB");
total += ((localStorage[x].length * 2) / 1024 / 1024)
}
console.log('Total : ' + total.toFixed(2) + 'Mb');
/code/pre
Regards.
Hello Team
Trying to setup a local storage variable using instructions from Building a Hello World app with HTML5 local storage on
http://devcenter.appery.io/tutorials/...
but step 4. From the action list, select Set local storage variable:
is not an option on my APP
(My app has "Set storage variable")
Please let me know if am missing a step
Thanks much
Wilson
Hello Team
For instructions on
http://devcenter.appery.io/tutorials/...
To work for my APP had to go to model and storage, storage
Enter new storage variable add
and then use variable in this case username (use link above for detailed instructions)
so please consider this resolved
Thanks much
Glad you coped with this.
Thank you for update.
Hi Yurii, sorry just realized that I never said thk you for this answer
really need it this time.
also, it seems that with 2MB I already get an error msg such as "... over quota...".
I don't store anything else ... does the app use LS capacity ?
forget about above question for the time being, I m about to find out where the issue comes from
Hello Eric,
Thank you for the update, glad you found out it