GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Updated Readme · JoeView/Android-FilePicker@58581dc

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • README.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎README.md‎

Copy file name to clipboardExpand all lines: README.md
+36-2Lines changed: 36 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,43 @@
44
![demo](http://i.imgur.com/TDIBxLY.png)
55
![demo](http://i.imgur.com/HrmUEvS.png)
66

7-
**Instruction**
7+
***Installation***
8+
9+
* As of now, It is only available in jCenter(), So just put this in your app dependencies:
10+
```gradle
11+
compile 'com.droidninja:filepicker:1.0.0'
12+
```
13+
14+
* If you are using Application class in the manifest file (android:name), you need to include **tools:replace="android:name"** in the <application> tag. e.g
15+
```xml
16+
<application
17+
android:name=".ApplicationClass"
18+
android:icon="@drawable/ic_launcher"
19+
tools:replace="android:name">
20+
......
21+
</application>
22+
```
23+
24+
***Usage***
825

9-
#TODO (soon)
26+
Just include this in your onclick function:
27+
* For **photopicker**:
28+
```java
29+
FilePickerBuilder.getInstance().setMaxCount(5)
30+
.setSelectedFiles(filePaths)
31+
.setActivityTheme(R.style.AppTheme)
32+
.pickPhoto(this);
33+
```
34+
35+
* For **document picker**:
36+
```java
37+
FilePickerBuilder.getInstance().setMaxCount(10)
38+
.setSelectedFiles(filePaths)
39+
.setActivityTheme(R.style.AppTheme)
40+
.pickDocument(this);
41+
```
42+
43+
1044

1145
**Credits**
1246

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.