All Projects → kashifo → android-folder-picker-library

kashifo / android-folder-picker-library

Licence: Apache-2.0 License
A light-weight (just 27 KB) android library to let users choose folder / files.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to android-folder-picker-library

react-folder-tree
A versatile react treeview library that supports custom icons and event handlers
Stars: ✭ 56 (-12.5%)
Mutual labels:  folder, folder-picker
fsc
A set of themeable WPF File System Controls similar to some parts of Windows (7-10) Explorer
Stars: ✭ 66 (+3.13%)
Mutual labels:  file-picker, folder-picker
Androidpicker
安卓选择器类库,包括日期及时间选择器(可用于出生日期、营业时间等)、单项选择器(可用于性别、民族、职业、学历、星座等)、二三级联动选择器(可用于车牌号、基金定投日期等)、城市地址选择器(分省级、地市级及区县级)、数字选择器(可用于年龄、身高、体重、温度等)、日历选日期择器(可用于酒店及机票预定日期)、颜色选择器、文件及目录选择器、图片选择器等……WheelPicker/DatePicker/TimePicker/OptionPicker/NumberPicker/LinkagePicker/AddressPicker/CarPlatePicker/CalendarPicker/ColorPicker/FilePicker/ImagePicker etc.
Stars: ✭ 5,320 (+8212.5%)
Mutual labels:  picker, filepicker
Lassi-Android
All in 1 picker library for android.
Stars: ✭ 108 (+68.75%)
Mutual labels:  picker, file-picker
react-native-value-picker
Cross-Platform iOS(ish) style picker for react native.
Stars: ✭ 18 (-71.87%)
Mutual labels:  picker
TVOSPicker
A sweet horizontal picker view controller for tvOS.
Stars: ✭ 26 (-59.37%)
Mutual labels:  picker
slack widgets
An abstraction of the JSON structure needed to create widgets in Slack message attachments
Stars: ✭ 14 (-78.12%)
Mutual labels:  picker
react-area-linkage
省市区联动选择: https://dwqs.github.io/react-area-linkage/
Stars: ✭ 52 (-18.75%)
Mutual labels:  picker
GetSTFolderSize
Get folder sizes blazingly fast with PowerShell
Stars: ✭ 41 (-35.94%)
Mutual labels:  folder
directory-structure
📦 Print a directory tree structure in your Python code.
Stars: ✭ 40 (-37.5%)
Mutual labels:  folder
SettingsAppInSwiftUI
I have recreated a Settings App in iPhoneXR using SwiftUI concepts such as Form,Section,Toggle,Picker,Stack..etc
Stars: ✭ 37 (-42.19%)
Mutual labels:  picker
ScrollHmsPicker
A simple scrollable HMS time picker view for Android.
Stars: ✭ 30 (-53.12%)
Mutual labels:  picker
vanilla-place-picker
Simple(vanilla) yet 'Do it all' place picker for your place picking needs in Android
Stars: ✭ 113 (+76.56%)
Mutual labels:  picker
Voila
Voila is a domain-specific language launched through CLI tool for operating with files and directories in massive amounts in a fast & reliable way.
Stars: ✭ 78 (+21.88%)
Mutual labels:  folder
MaterialDayPicker
An elegant day of the week picker inspired by Google's clock app
Stars: ✭ 59 (-7.81%)
Mutual labels:  picker
Active-Directory-Object-Picker
The standard Active Directory object picker dialog for .NET
Stars: ✭ 74 (+15.63%)
Mutual labels:  picker
diskusage
FANTASTIC SPEED utility to find out top largest folders/files on the disk.
Stars: ✭ 64 (+0%)
Mutual labels:  folder
a-color-picker
A color picker for web app
Stars: ✭ 97 (+51.56%)
Mutual labels:  picker
android-pickpic
Ready to use library that allows people to select pictures from their device and Facebook account.
Stars: ✭ 12 (-81.25%)
Mutual labels:  picker
vue-timeselector
🕒 Simply customizable powerful time picker for Vue.js
Stars: ✭ 41 (-35.94%)
Mutual labels:  picker

android-folder-picker-library

Demo Bintray Android Arsenal

A light-weight android library to let user's pick folder / files from storage.

Some Example Usages

  • Ask users to select folder for saving your app's files.
  • Ask users to point a folder to import / export data.
  • Ask users to choose file from phone storage for viewing, editing or any process.

Screenshots

Preview Preview Preview
Can pick folders Can create folder Can also pick file

Installation

For your convenience, it is available on jCenter, So just add this in your app dependencies:

    compile 'lib.kashif:folderpicker:2.4'

Usage

To pick folder

Just start FolderPicker activity from your app

        Intent intent = new Intent(this, FolderPicker.class);
        startActivityForResult(intent, FOLDERPICKER_CODE);        

If the user selects folder/file, the name of folder/file will be returned to you on onActivityResult method with the variable name 'data'.

        
        protected void onActivityResult(int requestCode, int resultCode, Intent intent) {
          if (requestCode == FOLDERPICKER_CODE && resultCode == Activity.RESULT_OK) {

              String folderLocation = intent.getExtras().getString("data");
              Log.i( "folderLocation", folderLocation );
            
          }
        }
        

Options

Cusstomization options can be passed as extras to FolderPicker activity.

       //To show a custom title
       intent.putExtra("title", "Select file to upload");
       
       //To begin from a selected folder instead of sd card's root folder. Example : Pictures directory
       intent.putExtra("location", Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES).getAbsolutePath());
       
       //To pick files
       intent.putExtra("pickFiles", true);
       

Click here to see an example

License

Copyleft 2017 Kashif Anwaar.

Licensed under Apache 2.0

Do whatever you want with this library.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].