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/bd734b5b-8779-4cf0-855e-71255d8a07dan%40googlegroups.com.
