Skip to content
This repository has been archived by the owner on Sep 19, 2019. It is now read-only.

Commit

Permalink
Auto-update
Browse files Browse the repository at this point in the history
  • Loading branch information
google-automerger committed Mar 31, 2015
1 parent a4d4b58 commit 17e154a
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 7 deletions.
4 changes: 4 additions & 0 deletions .google/packaging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,8 @@ categories: [Content]
languages: [Java]
solutions: [Mobile]
github: android-StorageClient
level: INTERMEDIATE
icon: screenshots/icon-web.png
apiRefs:
- android:android.content.Intent
license: apache2
5 changes: 1 addition & 4 deletions Application/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,8 @@ repositories {
jcenter()
}


dependencies {

compile "com.android.support:support-v4:21.0.2"

}

// The sample build uses multiple directories to
Expand All @@ -31,7 +28,7 @@ List<String> dirs = [

android {
compileSdkVersion 21
buildToolsVersion "21.1.1"
buildToolsVersion "21.1.2"

defaultConfig {
minSdkVersion 4
Expand Down
23 changes: 20 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,33 @@ Android StorageClient Sample
Using the OPEN_DOCUMENT intent, a client app can access a list of Document Providers
on the device, and choose a file from any of them.

To demonstrate this, click the button below to open up the Storage Access Framework
interface, and choose an image on your device.It will be displayed in this app.
Introduction
------------

This sample aims to help you understand the OPEN_DOCUMENT intent, which allows a client
application to access a list of Document Providers on the devices and choose a file from
any of them.

This sample first fires an intent to spin up the "file chooser" UI and select an image.
Then, given the content:// URI of the selected image, it shows it on the screen using a
DialogFragment. It also grabs metadata for the document specified by URI and logs that to
the screen.

To demonstrate this, click the "Show me" button to open up the Storage Access Framework
interface, and choose an image on your device. It will be displayed in this app.

Pre-requisites
--------------

- Android SDK v21
- Android Build Tools v21.1.1
- Android Build Tools v21.1.2
- Android Support Repository

Screenshots
-------------

<img src="screenshots/main.png" height="400" alt="Screenshot"/>

Getting Started
---------------

Expand Down
Binary file added screenshots/icon-web.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/main.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 17e154a

Please sign in to comment.