Hello, when i copy a file to the shared folder with the FileProviderClass
i can access the file with an extern app like excel.
But Excel cant delete them afterwards. (only read allowed)
How can i get rid of those files after excel is closed?
I dont want to mess with my phonememory.
i can access the file with an extern app like excel.
But Excel cant delete them afterwards. (only read allowed)
B4X:
Dim FileName As String = "Test.csv"
File.Copy(DirDefaultExternal, FileName, Main.Provider.SharedFolder, FileName)
Dim in As Intent
in.Initialize(in.ACTION_VIEW, "")
Main.Provider.SetFileUriAsIntentData(in, FileName)
'Type must be set after calling SetFileUriAsIntentData
in.SetType("application/csv")
StartActivity(in)
How can i get rid of those files after excel is closed?
I dont want to mess with my phonememory.