I am trying to wrap my head around writing to SD card, or reading file, so I can offer users to exchange data with my app.
Storage.CreateNewFile(Parent as ExternalFile, Name as String) as ExternalFile
I don't understand what to pass to the method as parent. Since SelectDir returns a string, how can I enter the parent ?
In the example program, GetCurrentFolder looks like what I would need, though.
I suppose this will take the result of the method above ?
Storage.OpenOutPutStream(EF as ExternalFile) as Outputstream.
Sorry for being thick. I went through the example program but could not find what I needed.
I would love a snippet showing how that is done.
Storage.CreateNewFile(Parent as ExternalFile, Name as String) as ExternalFile
I don't understand what to pass to the method as parent. Since SelectDir returns a string, how can I enter the parent ?
In the example program, GetCurrentFolder looks like what I would need, though.
I suppose this will take the result of the method above ?
Storage.OpenOutPutStream(EF as ExternalFile) as Outputstream.
Sorry for being thick. I went through the example program but could not find what I needed.
I would love a snippet showing how that is done.