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<sample>
19    <name>StorageProvider</name>
20    <group>Content</group>
21    <package>com.example.android.storageprovider</package>
22
23    <!-- change minSdk if needed-->
24    <minSdk>19</minSdk>
25    <targetSdkVersion>22</targetSdkVersion>
26
27    <strings>
28        <intro>
29            <![CDATA[
30A simple implementation of a documents provider using the storage access framework in
31Android 4.4.
32            ]]>
33        </intro>
34        <sample_action>Log in</sample_action>
35    </strings>
36
37    <template src="base"/>
38    <template src="SingleView"/>
39    <common src="logger"/>
40    <common src="activities"/>
41
42    <metadata>
43        <status>PUBLISHED</status>
44        <categories>Content</categories>
45        <technologies>Android</technologies>
46        <languages>Java</languages>
47        <solutions>Mobile</solutions>
48        <level>INTERMEDIATE</level>
49        <icon>screenshots/icon-web.png</icon>
50        <screenshots>
51            <img>screenshots/1-logged-out.png</img>
52            <img>screenshots/2-logged-in.png</img>
53        </screenshots>
54        <api_refs>
55            <android>android.provider.DocumentsProvider</android>
56        </api_refs>
57        <description>
58This sample shows how to implement a simple documents provider using the storage access
59framework available in Android 4.4.
60        </description>
61
62        <intro>
63This sample uses the [StorageAccessFramework][1] introduced in Android 4.4 to implement a [DocumentsProvider][2].
64
65See [Writing A Custom Document Provider guide][3] for all the details on how to do this.
66
67
68[1]: https://developer.android.com/guide/topics/providers/document-provider.html
69[2]: https://developer.android.com/reference/android/provider/DocumentsProvider.html
70[3]: https://developer.android.com/guide/topics/providers/document-provider.html#custom
71        </intro>
72    </metadata>
73
74</sample>
75