If you want to delete/flush the documents directory: - For the desktop player, go to the directory $TMPDIR/gideros, find your app and delete its documents directory. - For Android, go /sdcard/gideros - For iOS, I know there is a way to access documents directory with iTunes but I don't know the exact details. If you want, you can uninstall and install the player to flush documents directory.
You can set the iTunes File Sharing option in the GiderosiPhonePlay Xcode project.
To do this, click GiderosiPhonePlayer-info.plist under Resources. Then add a new plist item - "Application supports iTunes file sharing", and set that to YES.
(I don't know how to upload a screenshot onto the forum)
iTunes File sharing only allows you to see the base Documents folder, so it's not very useful, but the only official Apple way for users to get data on and off the device.
However, I find that iExplorer from http://www.macroplant.com/iexplorer/ is really good for investigating the whole file structure on your iPhone. You can delete and add files into the documents (and others) as you need them. Good for debugging too.
Comments
If you want to delete/flush the documents directory:
- For the desktop player, go to the directory $TMPDIR/gideros, find your app and delete its documents directory.
- For Android, go /sdcard/gideros
- For iOS, I know there is a way to access documents directory with iTunes but I don't know the exact details. If you want, you can uninstall and install the player to flush documents directory.
hope this helps, cheers,
I take it that it doesn't clear the documents folder between sessions. Means if I write into an option file today, tommorow it should be still there.
Michael
To do this, click GiderosiPhonePlayer-info.plist under Resources. Then add a new plist item - "Application supports iTunes file sharing", and set that to YES.
(I don't know how to upload a screenshot onto the forum)
iTunes File sharing only allows you to see the base Documents folder, so it's not very useful, but the only official Apple way for users to get data on and off the device.
However, I find that iExplorer from http://www.macroplant.com/iexplorer/ is really good for investigating the whole file structure on your iPhone. You can delete and add files into the documents (and others) as you need them. Good for debugging too.
Likes: atilim
I am having issues on OSX where the $TMPDIR/gideros/[appname] is not being saved per session. any ideas? the directory and all information is removed.
Regards
Z