1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- 3 Copyright 2013 The Android Open Source Project 4 5 Licensed under the Apache License, Version 2.0 (the "License"); 6 you may not use this file except in compliance with the License. 7 You may obtain a copy of the License at 8 9 http://www.apache.org/licenses/LICENSE-2.0 10 11 Unless required by applicable law or agreed to in writing, software 12 distributed under the License is distributed on an "AS IS" BASIS, 13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 See the License for the specific language governing permissions and 15 limitations under the License. 16 --> 17 18 19 20 <sample> 21 <name>MyCloud</name> 22 <group>Content</group> 23 <package>com.example.android.storageprovider</package> 24 25 <!-- change minSdk if needed--> 26 <minSdk>19</minSdk> 27 28 <strings> 29 <intro> 30 <![CDATA[ 31 \nA simple implementation of a documents provider using the storage access framework in 32 Android 4.4. 33 ]]> 34 </intro> 35 <sample_action>Log in</sample_action> 36 </strings> 37 38 <template src="base"/> 39 <template src="SingleView"/> 40 <common src="logger"/> 41 <common src="activities"/> 42 43 <metadata> 44 <status>PUBLISHED</status> 45 <categories>Content</categories> 46 <technologies>Android</technologies> 47 <languages>Java</languages> 48 <solutions>Mobile</solutions> 49 <level>INTERMEDIATE</level> 50 <icon>screenshots/icon-web.png</icon> 51 <screenshots> 52 <img>screenshots/1-logged-out.png</img> 53 <img>screenshots/2-logged-in.png</img> 54 </screenshots> 55 <api_refs> 56 <android>android.provider.DocumentsProvider</android> 57 </api_refs> 58 <description> 59 This sample shows how to implement a simple documents provider using the storage access 60 framework available in Android 4.4. 61 </description> 62 63 <intro> 64 This sample uses the [StorageAccessFramework][1] introduced in Android 4.4 to implement a [DocumentsProvider][2]. 65 66 See [Writing A Custom Document Provider guide][3] for all the details on how to do this. 67 68 69 [1]: https://developer.android.com/guide/topics/providers/document-provider.html 70 [2]: https://developer.android.com/reference/android/provider/DocumentsProvider.html 71 [3]: https://developer.android.com/guide/topics/providers/document-provider.html#custom 72 </intro> 73 </metadata> 74 75 </sample> 76