alessai
Posts: 0
Joined: Sun Sep 23, 2012 3:05 pm

How to store files in the application (PDF), how to list them inside the app?

Hello,

I'm new to Tiggzi & PhoneGap and not experienced with JavaScript. What i'm trying to do is save PDF files in the application and create a simple search function for the file names.

The files will be something like "Name - Date - Number.pdf" so its easy to sort but i'm not sure if the local storage is suitable for "search", if there is simple way to do it i hope someone can point me to it.

The other thing is how to list the files to save them in the local storage, i would guess it will be something related to PhoneGap API but to be honest i dont know how to create PhoneGap code while using tiggzi.

Pointers will be appreciated.

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

How to store files in the application (PDF), how to list them inside the app?

In brower's local storage you can save simple key=value pairs, you cannot store actual files. You could store actual files in Tiggzi database, for example.

Return to “Issues”