Page 1 of 1

Documents and iTunes

Posted: Sat Jun 02, 2012 9:20 pm
by rrBUSS9EE
Hey!

Is there a mechanism to have document files created/written to by LC to be available in iTunes File Sharing?


Thanx.

Re: Documents and iTunes

Posted: Tue Jun 05, 2012 3:08 pm
by rrBUSS9EE
Sorry to bump my own post… no one has any thoughts on this?

Re: Documents and iTunes

Posted: Tue Jun 05, 2012 6:09 pm
by scotttyang
under iOS settings, check file sharing, then your app will show up in the APP section of itunes where you can browse, add, delete files.

on mouseUp
set the defaultFolder to specialFolderPath("Documents")
put field "write" into URL ("file:iphonetest.txt")
end mouseUp

Get the data back out of our file

on mouseUp
set the defaultFolder to specialFolderPath("Documents")
put URL ("file:iphonetest.txt") into field "read"
end mouseUp

or see the lessons.runrev.com section and search under" ios save file"

Re: Documents and iTunes

Posted: Tue Jun 05, 2012 6:30 pm
by rrBUSS9EE
Thanks… but can you be more specific just where in iOS settings this flag is located. I am having trouble finding it.

I also see nothing mentioned at lessons.runrev.com regarding accessing data files for iOS apps in iTunes.

FYI, my app has created a file at specialFolderPath("Documents")&"/locations.txt". I see no way to access it from iTunes.

Re: Documents and iTunes

Posted: Tue Jun 05, 2012 6:42 pm
by scotttyang
see the screenshot
Capture.PNG
Capture.PNG (16.06 KiB) Viewed 4052 times

Re: Documents and iTunes

Posted: Tue Jun 05, 2012 10:34 pm
by rrBUSS9EE
I see (he said slapping hand to forehead). For some reason I was looking in the Settings app on the iOS device.

Thank you.