B4A Library FilePicker

This is a wrap for this github project.

The lib requires B4A 6+

This is my 100. Library-Release for B4A :)

FilePicker
Author:
DonManfred (wrapper)
Version: 1.01
  • DialogProperties
    Methods:
    • Initialize (EventName As String, root As String, selectionMode As Int, selectionType As Int, extensions() As String)
      Selection Mode defines whether a single of
      multiple Files/Directories have to be selected.
      SINGLE_MODE and MULTI_MODE are the two selection modes,
      See DialogConfigs for more info.
      Set to Single Mode by default.

      Selection Type defines that whether a File/Directory or both of these has
      has to be selected.

      FILE_SELECT ,DIR_SELECT, FILE_AND_DIR_SELECT are the three selection modes,
      See DialogConfigs for more info. Set to FILE_SELECT by default.

      root = The Parent/Root Directory. List of Files are populated from here.
      Can be set to any readable directory. /sdcard is the default location.

      extensions = An Array of String containing extensions, Files with only that will be shown.
      Others will be ignored. Set to null by default.
      Eg. String ext={"jpg","jpeg","png","gif"};
    • IsInitialized As Boolean
  • FileListItem
    Methods:
    • Initialize (EventName As String)
    • IsInitialized As Boolean
    • compareTo (fileListItem As FileListItem) As Int
    • isDirectory As Boolean
    • isMarked As Boolean
    Properties:
    • Directory As Boolean [write only]
    • Filename As String
    • Location As String
    • Marked As Boolean [write only]
    • Time As Long
  • FilePickerDialog
    Events:
    • _onSelectedFilePaths (selected[] As String)
    Methods:
    • Initialize (EventName As String)
    • IsInitialized As Boolean
    • cancel
    • closeOptionsMenu
    • dismiss
    • openContextMenu (view As View)
    • openOptionsMenu
    • show
    Properties:
    • Properties As DialogProperties
 

Attachments

  • FilePickerEx.zip
    6.8 KB · Views: 1,602
  • FilePickerV1.01.zip
    28.5 KB · Views: 1,634
Last edited:

DonManfred

Expert
Licensed User
Longtime User
No
 

netsistemas

Active Member
Licensed User
Longtime User
how change the background color or checksSelect color or simil.... I
view check in white color over white.
Othe solution maybe select file when the user do CLICK over filename.
 
Top