I am developing an app using jqm+phonegap. I want to store the selected options from two selection menus in a json file locally. I know how to read data (using getJSON) from json file but i dot know how to write?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
PhoneGap exposes a
fileapi: http://docs.phonegap.com/en/1.2.0/phonegap_file_file.md.html#FileI haven’t tried to use PhoneGap’s
fileapi it for several months but Lawnchair is quite a bit easier to use (just my opinion).You could also check-out Lawnchair, it makes storing data on a device easy.