Timo Sehrbruch
Posts: 0
Joined: Thu May 09, 2013 7:41 pm

Loading XML from external and then save to local storage

hey there.

I am loading an external XML file from my server into my app at startup, and what i now want to achieve:

Load XML on Appstart (working)
Check if internet connection is available
if YES:
Save successfully loaded XML to local storage
if NO:
post error notice

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Loading XML from external and then save to local storage

Hello!

You can create custom JavaScript with this request.
References could be useful:
http://docs.phonegap.com/en/1.8.1/cor...
http://docs.phonegap.com/en/1.8.1/cor...

Timo Sehrbruch
Posts: 0
Joined: Thu May 09, 2013 7:41 pm

Loading XML from external and then save to local storage

thank you, this is also working with the event generator inside appery itself. but I thought there might be an option for the xml request like

"get and save copy to local storage" or something.

Return to “Issues”