No. Storage isn't necessarily a user accessible folder.

If you want to use the Externalizable API to write to file system you can 
use the Util class methods.

On Monday, October 26, 2020 at 9:59:14 PM UTC+2 [email protected] 
wrote:

> Understood, 
>
> However can I control what folder this object is written?
>
>
>
> On Sunday, October 25, 2020 at 11:46:23 PM UTC-4, Shai Almog wrote:
>>
>> Storage is a flat space that's cross platform. Don't confuse it with 
>> FileSystemStorage. On the simulator (and some devices) they map to similar 
>> locations but not on all.
>>
>> FileSystemStorage is a hierarchy system but it has portability 
>> complexities. Storage is always flat.
>>
>> On Sunday, October 25, 2020 at 6:21:55 PM UTC+2 [email protected] 
>> wrote:
>>
>>> If you are experiencing an issue please mention the full platform your 
>>> issue applies to:
>>> IDE: NetBeans/Eclipse/IDEA Netbeans 12
>>> Desktop OS Windows 10 Pro
>>> Simulator latest
>>> Device All
>>>
>>> I am using Storage.getInstance().writeObject(filePath, data); and want 
>>> to specify the folder to persist the data.
>>>
>>> I don't see any methods exposed that allow this.
>>>
>>> Thoughts?
>>>
>>> regards.
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/57e76596-9e03-49de-87af-66e71291a51dn%40googlegroups.com.

Reply via email to