Documents folder on iOS device for CN1 apps

12 views
Skip to first unread message

P5music

unread,
May 21, 2021, 6:50:49 AM5/21/21
to CodenameOne Discussions
Maybe it's me but I could not find any explanatory documentation on this.

My CN1 app can export some data files for the user's convenience.
The workflow that's only possible with CN1 as far as I understand is
1->using the Documents folder
2->sending an email message
(at present time)

I opted for 1

But I cannot understand how the Documents folder (of my app) is seen by the iOS user.

Like
is there a general Documents folder, inside which the user finds the files saved by my app
or
there is a special area for the app sandbox?
(It could also involve iTunes, but I see that a special hint has to be added)

Thanks in advance

Shai Almog

unread,
May 21, 2021, 11:15:33 PM5/21/21
to CodenameOne Discussions
We typically detect the file in the private folder and seamlessly copy the file to a place that's visible by the other app.
Reply all
Reply to author
Forward
0 new messages