Phone Gap App with dynamic file name
Posted: Fri Nov 16, 2012 2:52 pm
After being successful with the PhoneGap example (hard coded name) I would like to do the following:
Create a grid program with a hidden field containing a unique name which I am building inside my RPG to be used as the picture name.
In the App.js there is comment stating that get() API should be use for dynamic names.
I was thinking to execute the get(hidden field) like Takepicture(get(hifield));
Modify the Takepicture() to receive my hidden field as a parameter and override the picture.jpg with my new dynamic name in order to display back the picture.
Is this make sense?
What is the best way to accomplish this?
Thanks in advance for your help.
Create a grid program with a hidden field containing a unique name which I am building inside my RPG to be used as the picture name.
In the App.js there is comment stating that get() API should be use for dynamic names.
I was thinking to execute the get(hidden field) like Takepicture(get(hifield));
Modify the Takepicture() to receive my hidden field as a parameter and override the picture.jpg with my new dynamic name in order to display back the picture.
Is this make sense?
What is the best way to accomplish this?
Thanks in advance for your help.