Saving on local storage

Saving on local storage

Postby aldin_1 » Wed Dec 03, 2014 6:21 am

Hi, how can I save some data (generated guid, username etc...) in file on tv storage?

Which javascript api method should I use?

Anyone can help?
aldin_1
 
Posts: 6
Joined: Mon Jul 27, 2015 12:43 am

Saving on local storage

Postby Support_STA » Wed Dec 03, 2014 6:24 pm

Hi Aldin,

You should tryHTML5 Local Storage for your purpose.

Regards.
Support_STA
 
Posts: 136
Joined: Fri Aug 09, 2013 3:56 am

Saving on local storage

Postby aldin_1 » Thu Dec 04, 2014 1:23 am

What will happen with the html5 storage if user turns off smart TV, or unplug it from power source?
aldin_1
 
Posts: 6
Joined: Mon Jul 27, 2015 12:43 am

Saving on local storage

Postby Support_STA » Thu Dec 04, 2014 1:36 am

Hi Aldin,

Both HTML5 local storage and local storage are solutions you can use. Please keep in mind that upon a TV reset (for example) this data could be erased.
STA platforms do not erase cookies on startup so you're safe there.

Regards.
Support_STA
 
Posts: 136
Joined: Fri Aug 09, 2013 3:56 am


Return to App development questions



cron