commit | 041dec9b3c4b3e2086a0882bcd0e0502e557b91f | [log] [tgz] |
---|---|---|
author | Natalie Masse <nmasse@google.com> | Tue Nov 25 16:26:42 2014 +0000 |
committer | Natalie Masse <nmasse@google.com> | Tue Nov 25 16:26:42 2014 +0000 |
tree | 3d72fa5204644e5879225baabbd6dd5a6ed9b0c6 | |
parent | e4b3f17f09f7b6526fcafe858f5e0928ff4aae53 [diff] |
metadata added for StorageProvider sample, icon replaced with one created with sample icon generator Change-Id: I9386a4eb37be325e76c80ced38e0b0cc6d94ca18
diff --git a/content/documentsUi/StorageProvider/Application/src/main/res/drawable-hdpi/ic_launcher.png b/content/documentsUi/StorageProvider/Application/src/main/res/drawable-hdpi/ic_launcher.png old mode 100755 new mode 100644 index c5d6972..8ab9c3c --- a/content/documentsUi/StorageProvider/Application/src/main/res/drawable-hdpi/ic_launcher.png +++ b/content/documentsUi/StorageProvider/Application/src/main/res/drawable-hdpi/ic_launcher.png Binary files differ
diff --git a/content/documentsUi/StorageProvider/Application/src/main/res/drawable-mdpi/ic_launcher.png b/content/documentsUi/StorageProvider/Application/src/main/res/drawable-mdpi/ic_launcher.png old mode 100755 new mode 100644 index 59e6bd9..8a2df94 --- a/content/documentsUi/StorageProvider/Application/src/main/res/drawable-mdpi/ic_launcher.png +++ b/content/documentsUi/StorageProvider/Application/src/main/res/drawable-mdpi/ic_launcher.png Binary files differ
diff --git a/content/documentsUi/StorageProvider/Application/src/main/res/drawable-xhdpi/ic_launcher.png b/content/documentsUi/StorageProvider/Application/src/main/res/drawable-xhdpi/ic_launcher.png old mode 100755 new mode 100644 index 5b8b7be..9c196e1 --- a/content/documentsUi/StorageProvider/Application/src/main/res/drawable-xhdpi/ic_launcher.png +++ b/content/documentsUi/StorageProvider/Application/src/main/res/drawable-xhdpi/ic_launcher.png Binary files differ
diff --git a/content/documentsUi/StorageProvider/Application/src/main/res/drawable-xxhdpi/ic_launcher.png b/content/documentsUi/StorageProvider/Application/src/main/res/drawable-xxhdpi/ic_launcher.png old mode 100755 new mode 100644 index 474bbd2..558f901 --- a/content/documentsUi/StorageProvider/Application/src/main/res/drawable-xxhdpi/ic_launcher.png +++ b/content/documentsUi/StorageProvider/Application/src/main/res/drawable-xxhdpi/ic_launcher.png Binary files differ
diff --git a/content/documentsUi/StorageProvider/Application/src/main/res/ic_launcher.png b/content/documentsUi/StorageProvider/Application/src/main/res/ic_launcher.png deleted file mode 100755 index c5d6972..0000000 --- a/content/documentsUi/StorageProvider/Application/src/main/res/ic_launcher.png +++ /dev/null Binary files differ
diff --git a/content/documentsUi/StorageProvider/screenshots/1-logged-out.png b/content/documentsUi/StorageProvider/screenshots/1-logged-out.png new file mode 100644 index 0000000..9faee62 --- /dev/null +++ b/content/documentsUi/StorageProvider/screenshots/1-logged-out.png Binary files differ
diff --git a/content/documentsUi/StorageProvider/screenshots/2-logged-in.png b/content/documentsUi/StorageProvider/screenshots/2-logged-in.png new file mode 100644 index 0000000..7bfa36d --- /dev/null +++ b/content/documentsUi/StorageProvider/screenshots/2-logged-in.png Binary files differ
diff --git a/content/documentsUi/StorageProvider/screenshots/icon-web.png b/content/documentsUi/StorageProvider/screenshots/icon-web.png new file mode 100644 index 0000000..b12b181 --- /dev/null +++ b/content/documentsUi/StorageProvider/screenshots/icon-web.png Binary files differ
diff --git a/content/documentsUi/StorageProvider/template-params.xml b/content/documentsUi/StorageProvider/template-params.xml index b9b5b04..d6a6eed 100644 --- a/content/documentsUi/StorageProvider/template-params.xml +++ b/content/documentsUi/StorageProvider/template-params.xml
@@ -40,6 +40,36 @@ <common src="logger"/> <common src="activities"/> + <metadata> + <status>PUBLISHED</status> + <categories>Content</categories> + <technologies>Android</technologies> + <languages>Java</languages> + <solutions>Mobile</solutions> + <level>INTERMEDIATE</level> + <icon>screenshots/icon-web.png</icon> + <screenshots> + <img>screenshots/1-logged-out.png</img> + <img>screenshots/2-logged-in.png</img> + </screenshots> + <api_refs> + <android>android.provider.DocumentsProvider</android> + </api_refs> + <description> + This sample shows how to implement a simple documents provider using the storage access + framework available in Android 4.4. + </description> + <intro> + This sample uses the [StorageAccessFramework][1] introduced in Android 4.4 to implement a [DocumentsProvider][2]. + + See [Writing A Custom Document Provider guide][3] for all the details on how to do this. + + + [1]: https://developer.android.com/guide/topics/providers/document-provider.html + [2]: https://developer.android.com/reference/android/provider/DocumentsProvider.html + [3]: https://developer.android.com/guide/topics/providers/document-provider.html#custom + </intro> + </metadata> </sample>