Got The Fever Media
Got The Fever Media

Reputation: 760

PhoneGap - Angularjs - Where to store the content?

Im building an app (android/ios) with Phonegap and Angularjs, I was just wondering how I can store my static data in the app? Do I just create a file where Ill store json or is there another way?

What Id like in the end is for the users to download my app and have direct access to the content without using the internet.

Thanks for any help.

Upvotes: 0

Views: 249

Answers (1)

Josh
Josh

Reputation: 2952

You can use an embedded database like sqlite. You can then decide if it makes sense to ship a prepopulated db with the app or load the data at another time. See the documentation on the storage api

Upvotes: 1

Related Questions