This is a wrap for this github project.
The lib requires B4A 6+
This is my 100. Library-Release for B4A![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
FilePicker
Author: DonManfred (wrapper)
Version: 1.01
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
- Initialize (EventName As String, root As String, selectionMode As Int, selectionType As Int, extensions() As String)
- FileListItem
Methods:- Initialize (EventName As String)
- IsInitialized As Boolean
- compareTo (fileListItem As FileListItem) As Int
- isDirectory As Boolean
- isMarked As Boolean
- 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)
- Initialize (EventName As String)
- IsInitialized As Boolean
- cancel
- closeOptionsMenu
- dismiss
- openContextMenu (view As View)
- openOptionsMenu
- show
- Properties As DialogProperties
Attachments
Last edited: