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@85d1b11

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
+16-1Lines changed: 16 additions & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,22 @@ A photopicker to select and click photos and document picker to select different
4242
.pickDocument(this);
4343
```
4444

45-
45+
After this, you will get list of file paths in activity result:
46+
```java
47+
@Override
48+
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
49+
super.onActivityResult(requestCode, resultCode, data);
50+
switch (requestCode)
51+
{
52+
case FilePickerConst.REQUEST_CODE:
53+
if(resultCode==RESULT_OK && data!=null)
54+
{
55+
filePaths = data.getStringArrayListExtra(FilePickerConst.KEY_SELECTED_PHOTOS);
56+
//use them anywhere
57+
}
58+
}
59+
}
60+
```
4661

4762
**Credits**
4863

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.