+1
Answered

What do you know about < capture>?

thillsman 8 years ago updated 8 years ago 2
So, Adam leaked a little awesomeness on Twitter the other day: https://mobile.twitter.com/MilitantJo...

What can you tell me about the capture tag? Specifically:
- Does it work in 1.3?
- What would be the best method to use it to save directly to the Camera Roll?
- Where does the path in the tofile attribute start at? (Is it structured like the folders I see when I FTP into studio.RareWire.com or does it default to "images" or does the conversion-to-a-native-app process create a new folder structure?)

That's all I can think of right now. :)
It does work in 1.3!

I have updated the documentation to inclue capture.
http://content.rarewire.com/wordpress...

The path starts at the root, but since it is stored on a unique device, it doesn't really matter where you put it, the folder structure will be created and stored inside that individual app's files if it doesn't already exist. And since you can't access the file structure once the App is installed, it is kind of like an invisible file, only you can reuse the captured file in the App again.

To save to the camera roll. We haven't quite gotten there, but I will submit a request for that.
Very cool. Thanks, Ian!