Android Question aPoi saving problem

Peter Lewis

Active Member
Licensed User
Longtime User
Hi All,

I have been testing the example from aPoi ver 0.11 but I have come up with a problem.
Firstly the write function no longer exists but is now write 2

the write2 does not give an error but also does not write to the folder as checked

B4X:
If Result Then
        xls.write2(File.DirRootExternal,"excelout.xlsx")
        Log("written")
        Log(File.DirDefaultExternal)
    End If

The folder is empty

If you have any insights on this matter , I would appreciate it.

Thank you
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
I'm not familiar with the library implementation but:
1. Code with File.DirDefaultExternal = broken code.
2. File.DirRootExternal mostly also broken as it requires special permission.

Start with writing to File.DirInternal and see if it works. Next step is https://www.b4x.com/search?query=SaveAs
 
Upvote 0
Top