Ok so I have a settings view which is a modal view in my app (iOS iPad)
The settings menu has 3 options
- insert name
- create/upload character
- create/upload house
The name is inserted and the name would appear in the book part. I do this by setting a string, and on opening the modal check if a string is saved and get that string and put it in the value.
but...can I do this too with the pictures? Create options brings you to builders where children create theire character/house and save it to an image.
I can get that data to output into views the first time. but when reopening my modal view it changes back to default (the modal is in it's own function)
2 Answers
Accepted Answer
Use the filesystem. You can write files on the device, so write your image and use it later.
http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.Filesystem-module
take a look at this kitchenSink code, it should get you started
Your Answer
Think you can help? Login to answer this question!