Up to higher level directory | |||
Name | Date | Size | |
---|---|---|---|
.google/ | 08-Oct-2015 | ||
Application/ | 08-Oct-2015 | ||
build.gradle | 08-Oct-2015 | 10 | |
CONTRIB.md | 08-Oct-2015 | 1.6K | |
CONTRIBUTING.md | 08-Oct-2015 | 1.5K | |
gradle/ | 08-Oct-2015 | ||
gradlew | 08-Oct-2015 | 5K | |
gradlew.bat | 08-Oct-2015 | 2.3K | |
LICENSE | 08-Oct-2015 | 31.5K | |
packaging.yaml | 08-Oct-2015 | 475 | |
README.md | 08-Oct-2015 | 2.4K | |
screenshots/ | 08-Oct-2015 | ||
settings.gradle | 08-Oct-2015 | 22 |
1 2 Android StorageProvider Sample 3 =================================== 4 5 This sample shows how to implement a simple documents provider using the storage access 6 framework available in Android 4.4. 7 8 Introduction 9 ------------ 10 11 This sample uses the [StorageAccessFramework][1] introduced in Android 4.4 to implement a [DocumentsProvider][2]. 12 13 See [Writing A Custom Document Provider guide][3] for all the details on how to do this. 14 15 16 [1]: https://developer.android.com/guide/topics/providers/document-provider.html 17 [2]: https://developer.android.com/reference/android/provider/DocumentsProvider.html 18 [3]: https://developer.android.com/guide/topics/providers/document-provider.html#custom 19 20 Pre-requisites 21 -------------- 22 23 - Android SDK v23 24 - Android Build Tools v23.0.0 25 - Android Support Repository 26 27 Screenshots 28 ------------- 29 30 <img src="screenshots/1-logged-out.png" height="400" alt="Screenshot"/> <img src="screenshots/2-logged-in.png" height="400" alt="Screenshot"/> 31 32 Getting Started 33 --------------- 34 35 This sample uses the Gradle build system. To build this project, use the 36 "gradlew build" command or use "Import Project" in Android Studio. 37 38 Support 39 ------- 40 41 - Google+ Community: https://plus.google.com/communities/105153134372062985968 42 - Stack Overflow: http://stackoverflow.com/questions/tagged/android 43 44 If you've found an error in this sample, please file an issue: 45 https://github.com/googlesamples/android-StorageProvider 46 47 Patches are encouraged, and may be submitted by forking this project and 48 submitting a pull request through GitHub. Please see CONTRIBUTING.md for more details. 49 50 License 51 ------- 52 53 Copyright 2014 The Android Open Source Project, Inc. 54 55 Licensed to the Apache Software Foundation (ASF) under one or more contributor 56 license agreements. See the NOTICE file distributed with this work for 57 additional information regarding copyright ownership. The ASF licenses this 58 file to you under the Apache License, Version 2.0 (the "License"); you may not 59 use this file except in compliance with the License. You may obtain a copy of 60 the License at 61 62 http://www.apache.org/licenses/LICENSE-2.0 63 64 Unless required by applicable law or agreed to in writing, software 65 distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 66 WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 67 License for the specific language governing permissions and limitations under 68 the License. 69