B4J Question File Explorer in B4j

fred-han

Member
Licensed User
Hi,
i am looking for a File Explorer View in B4j. In B4A i use Content Chooser, but i can't find such a view in B4J.
Any suggestions?
 

fred-han

Member
Licensed User
Hi LucaMs,
thanks for the link. It looks very complex ... :) I thought there would be a simplier way to do the same as content chosser do.
A "normal" lib which is integrated in B4j would be the thing......
 
Upvote 0

LucaMs

Expert
Licensed User
Longtime User
Try FileChooser or DirectoryChooser for directories.
Part of one of my projects:
B4X:
Sub ChooseFile(Open As Boolean) As String
    Dim fc As FileChooser
    fc.Initialize
    fc.InitialDirectory = mFCInitialDirectory
    fc.InitialFileName = mFCInitialFileName
    If Open Then
        fc.Title = "Leggi condizioni"
    Else
        fc.Title = "Salva condizioni"
    End If

Just to say: what a great memory I have! :(
 
Upvote 0
Top