Ruth
Posts: 0
Joined: Thu Nov 07, 2013 12:24 pm

Set local storage & call back local storage

I have information that I am getting from the barcode scanner.
I am setting it to local storage
Navigating to another page and trying to call it back up on the new page using set property.
Without any service mapping

When I use the alert option to see if there is any local storage data on the first and second page both show that were is data.

Can this be done and if so what do you think I am missing?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Set local storage & call back local storage

What exactly happens when you do an alert..? The data is shown or is not?

Ruth
Posts: 0
Joined: Thu Nov 07, 2013 12:24 pm

Set local storage & call back local storage

Ok disregard last post, I got it working.

I am scanning, setting to local storage and then calling it back up on another page. and it is working.
A new question i have if I want to scan multiple items and have them listed on the second page do I need to use a database or can I scan multiple items to local storage and call them up on the second page.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Set local storage & call back local storage

You can save them into local storage, under different name (keys). Or, you can use the cloud database as well.

Ruth
Posts: 0
Joined: Thu Nov 07, 2013 12:24 pm

Set local storage & call back local storage

I don't know about the cloud database can you direct me to a tutorial or fill me in on how it works

Ruth
Posts: 0
Joined: Thu Nov 07, 2013 12:24 pm

Set local storage & call back local storage

Thank you that helped

Return to “Issues”