diff options
Diffstat (limited to 'photoviewer/sample')
67 files changed, 0 insertions, 717 deletions
diff --git a/photoviewer/sample/Android.mk b/photoviewer/sample/Android.mk deleted file mode 100644 index 8346e7c..0000000 --- a/photoviewer/sample/Android.mk +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 2011, The Android Open Source Project -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -LOCAL_PATH:= $(call my-dir) - -#Include res dir from photoviewer -photo_dir := ..//res -res_dirs := $(photo_dir) res - -################################################## -# Build APK -include $(CLEAR_VARS) - -src_dirs := src -LOCAL_PACKAGE_NAME := PhotoViewerSample - -LOCAL_STATIC_JAVA_LIBRARIES += android-common-photoviewer -LOCAL_STATIC_JAVA_LIBRARIES += android-common -LOCAL_STATIC_JAVA_LIBRARIES += android-support-v4 -LOCAL_STATIC_JAVA_LIBRARIES += android-support-v13 - -LOCAL_SDK_VERSION := 16 - -LOCAL_SRC_FILES := $(call all-java-files-under, $(src_dirs)) \ - $(call all-logtags-files-under, $(src_dirs)) -LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(res_dirs)) $(LOCAL_PATH)/res -LOCAL_AAPT_FLAGS := --auto-add-overlay -LOCAL_AAPT_FLAGS += --extra-packages com.android.ex.photo - -include $(BUILD_PACKAGE) - - -################################################## -# Build all sub-directories - -include $(call all-makefiles-under,$(LOCAL_PATH)) diff --git a/photoviewer/sample/AndroidManifest.xml b/photoviewer/sample/AndroidManifest.xml deleted file mode 100644 index 8a75d6a..0000000 --- a/photoviewer/sample/AndroidManifest.xml +++ /dev/null @@ -1,35 +0,0 @@ -<manifest xmlns:android="http://schemas.android.com/apk/res/android" - package="com.example.photoviewersample" - android:versionCode="1" - android:versionName="1.0" > - - <uses-sdk - android:minSdkVersion="14" - android:targetSdkVersion="16" /> - - <application - android:icon="@drawable/ic_launcher" - android:label="@string/app_name" - android:theme="@style/AppTheme" > - <activity - android:name=".MainActivity" - android:label="@string/app_name" > - <intent-filter> - <action android:name="android.intent.action.MAIN" /> - - <category android:name="android.intent.category.LAUNCHER" /> - </intent-filter> - </activity> - <activity - android:name="com.android.ex.photo.PhotoViewActivity" - android:label="@string/app_name" - android:theme="@style/PhotoViewTheme" > - </activity> - <provider - android:name=".SampleProvider" - android:exported="false" - android:authorities="com.example.photoviewersample.SampleProvider"> - </provider> - </application> - -</manifest>
\ No newline at end of file diff --git a/photoviewer/sample/assets/blah.png b/photoviewer/sample/assets/blah.png Binary files differdeleted file mode 100644 index f895669..0000000 --- a/photoviewer/sample/assets/blah.png +++ /dev/null diff --git a/photoviewer/sample/assets/galaxy.png b/photoviewer/sample/assets/galaxy.png Binary files differdeleted file mode 100644 index 3fcfec8..0000000 --- a/photoviewer/sample/assets/galaxy.png +++ /dev/null diff --git a/photoviewer/sample/assets/johannson.png b/photoviewer/sample/assets/johannson.png Binary files differdeleted file mode 100644 index 0b6be7f..0000000 --- a/photoviewer/sample/assets/johannson.png +++ /dev/null diff --git a/photoviewer/sample/assets/planets.png b/photoviewer/sample/assets/planets.png Binary files differdeleted file mode 100644 index 1644c48..0000000 --- a/photoviewer/sample/assets/planets.png +++ /dev/null diff --git a/photoviewer/sample/res/drawable-hdpi/ic_action_search.png b/photoviewer/sample/res/drawable-hdpi/ic_action_search.png Binary files differdeleted file mode 100644 index 67de12d..0000000 --- a/photoviewer/sample/res/drawable-hdpi/ic_action_search.png +++ /dev/null diff --git a/photoviewer/sample/res/drawable-hdpi/ic_launcher.png b/photoviewer/sample/res/drawable-hdpi/ic_launcher.png Binary files differdeleted file mode 100644 index fba1ff0..0000000 --- a/photoviewer/sample/res/drawable-hdpi/ic_launcher.png +++ /dev/null diff --git a/photoviewer/sample/res/drawable-mdpi/ic_action_search.png b/photoviewer/sample/res/drawable-mdpi/ic_action_search.png Binary files differdeleted file mode 100644 index 134d549..0000000 --- a/photoviewer/sample/res/drawable-mdpi/ic_action_search.png +++ /dev/null diff --git a/photoviewer/sample/res/drawable-mdpi/ic_launcher.png b/photoviewer/sample/res/drawable-mdpi/ic_launcher.png Binary files differdeleted file mode 100644 index 72a445d..0000000 --- a/photoviewer/sample/res/drawable-mdpi/ic_launcher.png +++ /dev/null diff --git a/photoviewer/sample/res/drawable-xhdpi/ic_action_search.png b/photoviewer/sample/res/drawable-xhdpi/ic_action_search.png Binary files differdeleted file mode 100644 index d699c6b..0000000 --- a/photoviewer/sample/res/drawable-xhdpi/ic_action_search.png +++ /dev/null diff --git a/photoviewer/sample/res/drawable-xhdpi/ic_launcher.png b/photoviewer/sample/res/drawable-xhdpi/ic_launcher.png Binary files differdeleted file mode 100644 index 002e7b0..0000000 --- a/photoviewer/sample/res/drawable-xhdpi/ic_launcher.png +++ /dev/null diff --git a/photoviewer/sample/res/layout/activity_main.xml b/photoviewer/sample/res/layout/activity_main.xml deleted file mode 100644 index ae94392..0000000 --- a/photoviewer/sample/res/layout/activity_main.xml +++ /dev/null @@ -1,16 +0,0 @@ -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:tools="http://schemas.android.com/tools" - android:layout_width="match_parent" - android:layout_height="match_parent" > - - <Button - android:id="@+id/button" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_centerHorizontal="true" - android:layout_centerVertical="true" - android:padding="@dimen/padding_medium" - android:text="@string/launch" - tools:context=".MainActivity" /> - -</RelativeLayout> diff --git a/photoviewer/sample/res/menu/activity_main.xml b/photoviewer/sample/res/menu/activity_main.xml deleted file mode 100644 index cfc10fd..0000000 --- a/photoviewer/sample/res/menu/activity_main.xml +++ /dev/null @@ -1,6 +0,0 @@ -<menu xmlns:android="http://schemas.android.com/apk/res/android"> - <item android:id="@+id/menu_settings" - android:title="@string/menu_settings" - android:orderInCategory="100" - android:showAsAction="never" /> -</menu> diff --git a/photoviewer/sample/res/values-af/strings.xml b/photoviewer/sample/res/values-af/strings.xml deleted file mode 100644 index 952a3b5..0000000 --- a/photoviewer/sample/res/values-af/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"PhotoViewerSample"</string> - <string name="menu_settings" msgid="1259682084875185697">"Instellings"</string> - <string name="title_activity_main" msgid="7695239211427024237">"MainActivity"</string> - <string name="launch" msgid="2345080120370773520">"Begin fotokyker"</string> -</resources> diff --git a/photoviewer/sample/res/values-am/strings.xml b/photoviewer/sample/res/values-am/strings.xml deleted file mode 100644 index 0d4989a..0000000 --- a/photoviewer/sample/res/values-am/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"PhotoViewerSample"</string> - <string name="menu_settings" msgid="1259682084875185697">"ቅንብሮች"</string> - <string name="title_activity_main" msgid="7695239211427024237">"MainActivity"</string> - <string name="launch" msgid="2345080120370773520">"ፎቶ ተመልካችን አስነሳ"</string> -</resources> diff --git a/photoviewer/sample/res/values-ar/strings.xml b/photoviewer/sample/res/values-ar/strings.xml deleted file mode 100644 index 8f71f28..0000000 --- a/photoviewer/sample/res/values-ar/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"PhotoViewerSample"</string> - <string name="menu_settings" msgid="1259682084875185697">"الإعدادات"</string> - <string name="title_activity_main" msgid="7695239211427024237">"MainActivity"</string> - <string name="launch" msgid="2345080120370773520">"تشغيل عارض الصور"</string> -</resources> diff --git a/photoviewer/sample/res/values-be/strings.xml b/photoviewer/sample/res/values-be/strings.xml deleted file mode 100644 index d52e8ad..0000000 --- a/photoviewer/sample/res/values-be/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"PhotoViewerSample"</string> - <string name="menu_settings" msgid="1259682084875185697">"Налады"</string> - <string name="title_activity_main" msgid="7695239211427024237">"MainActivity"</string> - <string name="launch" msgid="2345080120370773520">"Запусцiць Photo Viewer"</string> -</resources> diff --git a/photoviewer/sample/res/values-bg/strings.xml b/photoviewer/sample/res/values-bg/strings.xml deleted file mode 100644 index 37d2ea7..0000000 --- a/photoviewer/sample/res/values-bg/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"PhotoViewerSample"</string> - <string name="menu_settings" msgid="1259682084875185697">"Настройки"</string> - <string name="title_activity_main" msgid="7695239211427024237">"MainActivity"</string> - <string name="launch" msgid="2345080120370773520">"Стартиране на Photo Viewer"</string> -</resources> diff --git a/photoviewer/sample/res/values-ca/strings.xml b/photoviewer/sample/res/values-ca/strings.xml deleted file mode 100644 index 11ca3ff..0000000 --- a/photoviewer/sample/res/values-ca/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"Mostra del lector de fotos"</string> - <string name="menu_settings" msgid="1259682084875185697">"Configuració"</string> - <string name="title_activity_main" msgid="7695239211427024237">"Activitat principal"</string> - <string name="launch" msgid="2345080120370773520">"Inicia el lector de fotos"</string> -</resources> diff --git a/photoviewer/sample/res/values-cs/strings.xml b/photoviewer/sample/res/values-cs/strings.xml deleted file mode 100644 index 8f222fc..0000000 --- a/photoviewer/sample/res/values-cs/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"Příklad prohlížeče fotografií"</string> - <string name="menu_settings" msgid="1259682084875185697">"Nastavení"</string> - <string name="title_activity_main" msgid="7695239211427024237">"Hlavní aktivita"</string> - <string name="launch" msgid="2345080120370773520">"Spustit prohlížeč fotografií"</string> -</resources> diff --git a/photoviewer/sample/res/values-da/strings.xml b/photoviewer/sample/res/values-da/strings.xml deleted file mode 100644 index 4a8d3c7..0000000 --- a/photoviewer/sample/res/values-da/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"PhotoViewerSample"</string> - <string name="menu_settings" msgid="1259682084875185697">"Indstillinger"</string> - <string name="title_activity_main" msgid="7695239211427024237">"MainActivity"</string> - <string name="launch" msgid="2345080120370773520">"Start fotofremviser"</string> -</resources> diff --git a/photoviewer/sample/res/values-de/strings.xml b/photoviewer/sample/res/values-de/strings.xml deleted file mode 100644 index 03f1ba6..0000000 --- a/photoviewer/sample/res/values-de/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"PhotoViewerSample"</string> - <string name="menu_settings" msgid="1259682084875185697">"Einstellungen"</string> - <string name="title_activity_main" msgid="7695239211427024237">"MainActivity"</string> - <string name="launch" msgid="2345080120370773520">"Photo Viewer starten"</string> -</resources> diff --git a/photoviewer/sample/res/values-el/strings.xml b/photoviewer/sample/res/values-el/strings.xml deleted file mode 100644 index 6e5ec4a..0000000 --- a/photoviewer/sample/res/values-el/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"PhotoViewerSample"</string> - <string name="menu_settings" msgid="1259682084875185697">"Ρυθμίσεις"</string> - <string name="title_activity_main" msgid="7695239211427024237">"MainActivity"</string> - <string name="launch" msgid="2345080120370773520">"Εκκίνηση του Προγράμματος προβολής φωτογραφιών"</string> -</resources> diff --git a/photoviewer/sample/res/values-en-rGB/strings.xml b/photoviewer/sample/res/values-en-rGB/strings.xml deleted file mode 100644 index 66a0898..0000000 --- a/photoviewer/sample/res/values-en-rGB/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"PhotoViewerSample"</string> - <string name="menu_settings" msgid="1259682084875185697">"Settings"</string> - <string name="title_activity_main" msgid="7695239211427024237">"MainActivity"</string> - <string name="launch" msgid="2345080120370773520">"Launch Photo Viewer"</string> -</resources> diff --git a/photoviewer/sample/res/values-es-rUS/strings.xml b/photoviewer/sample/res/values-es-rUS/strings.xml deleted file mode 100644 index ab4e5a0..0000000 --- a/photoviewer/sample/res/values-es-rUS/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"PhotoViewerSample"</string> - <string name="menu_settings" msgid="1259682084875185697">"Configuración"</string> - <string name="title_activity_main" msgid="7695239211427024237">"Actividad principal"</string> - <string name="launch" msgid="2345080120370773520">"Iniciar Photo Viewer"</string> -</resources> diff --git a/photoviewer/sample/res/values-es/strings.xml b/photoviewer/sample/res/values-es/strings.xml deleted file mode 100644 index 8af0dbc..0000000 --- a/photoviewer/sample/res/values-es/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"Ejemplo de Photo Viewer"</string> - <string name="menu_settings" msgid="1259682084875185697">"Ajustes"</string> - <string name="title_activity_main" msgid="7695239211427024237">"Actividad principal"</string> - <string name="launch" msgid="2345080120370773520">"Iniciar Photo Viewer"</string> -</resources> diff --git a/photoviewer/sample/res/values-et/strings.xml b/photoviewer/sample/res/values-et/strings.xml deleted file mode 100644 index 9532a25..0000000 --- a/photoviewer/sample/res/values-et/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"PhotoViewerSample"</string> - <string name="menu_settings" msgid="1259682084875185697">"Seaded"</string> - <string name="title_activity_main" msgid="7695239211427024237">"MainActivity"</string> - <string name="launch" msgid="2345080120370773520">"Fotovaaturi käivitamine"</string> -</resources> diff --git a/photoviewer/sample/res/values-fa/strings.xml b/photoviewer/sample/res/values-fa/strings.xml deleted file mode 100644 index ea17cdb..0000000 --- a/photoviewer/sample/res/values-fa/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"نمونه نمایشگر تصویر"</string> - <string name="menu_settings" msgid="1259682084875185697">"تنظیمات"</string> - <string name="title_activity_main" msgid="7695239211427024237">"MainActivity"</string> - <string name="launch" msgid="2345080120370773520">"راهاندازی نمایشگر تصویر"</string> -</resources> diff --git a/photoviewer/sample/res/values-fi/strings.xml b/photoviewer/sample/res/values-fi/strings.xml deleted file mode 100644 index 7bd9359..0000000 --- a/photoviewer/sample/res/values-fi/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"PhotoViewerSample"</string> - <string name="menu_settings" msgid="1259682084875185697">"Asetukset"</string> - <string name="title_activity_main" msgid="7695239211427024237">"MainActivity"</string> - <string name="launch" msgid="2345080120370773520">"Käynnistä Photo Viewer"</string> -</resources> diff --git a/photoviewer/sample/res/values-fr/strings.xml b/photoviewer/sample/res/values-fr/strings.xml deleted file mode 100644 index 6e3cf79..0000000 --- a/photoviewer/sample/res/values-fr/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"PhotoViewerSample"</string> - <string name="menu_settings" msgid="1259682084875185697">"Paramètres"</string> - <string name="title_activity_main" msgid="7695239211427024237">"MainActivity"</string> - <string name="launch" msgid="2345080120370773520">"Lancer la visionneuse de photos"</string> -</resources> diff --git a/photoviewer/sample/res/values-hi/strings.xml b/photoviewer/sample/res/values-hi/strings.xml deleted file mode 100644 index 33f30b0..0000000 --- a/photoviewer/sample/res/values-hi/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"PhotoViewerSample"</string> - <string name="menu_settings" msgid="1259682084875185697">"सेटिंग"</string> - <string name="title_activity_main" msgid="7695239211427024237">"MainActivity"</string> - <string name="launch" msgid="2345080120370773520">"फ़ोटो व्यूअर लॉन्च करें"</string> -</resources> diff --git a/photoviewer/sample/res/values-hr/strings.xml b/photoviewer/sample/res/values-hr/strings.xml deleted file mode 100644 index c5f11d0..0000000 --- a/photoviewer/sample/res/values-hr/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"PhotoViewerSample"</string> - <string name="menu_settings" msgid="1259682084875185697">"Postavke"</string> - <string name="title_activity_main" msgid="7695239211427024237">"MainActivity"</string> - <string name="launch" msgid="2345080120370773520">"Pokreni Photo Viewer"</string> -</resources> diff --git a/photoviewer/sample/res/values-hu/strings.xml b/photoviewer/sample/res/values-hu/strings.xml deleted file mode 100644 index 6a38dba..0000000 --- a/photoviewer/sample/res/values-hu/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"PhotoViewerSample"</string> - <string name="menu_settings" msgid="1259682084875185697">"Beállítások"</string> - <string name="title_activity_main" msgid="7695239211427024237">"MainActivity"</string> - <string name="launch" msgid="2345080120370773520">"A Photo Viewer elindítása"</string> -</resources> diff --git a/photoviewer/sample/res/values-in/strings.xml b/photoviewer/sample/res/values-in/strings.xml deleted file mode 100644 index ac1e887..0000000 --- a/photoviewer/sample/res/values-in/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"PhotoViewerSample"</string> - <string name="menu_settings" msgid="1259682084875185697">"Setelan"</string> - <string name="title_activity_main" msgid="7695239211427024237">"MainActivity"</string> - <string name="launch" msgid="2345080120370773520">"Luncurkan Penampil Foto"</string> -</resources> diff --git a/photoviewer/sample/res/values-it/strings.xml b/photoviewer/sample/res/values-it/strings.xml deleted file mode 100644 index 7c37c68..0000000 --- a/photoviewer/sample/res/values-it/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"PhotoViewerSample"</string> - <string name="menu_settings" msgid="1259682084875185697">"Impostazioni"</string> - <string name="title_activity_main" msgid="7695239211427024237">"MainActivity"</string> - <string name="launch" msgid="2345080120370773520">"Avvia Photo Viewer"</string> -</resources> diff --git a/photoviewer/sample/res/values-iw/strings.xml b/photoviewer/sample/res/values-iw/strings.xml deleted file mode 100644 index 5087894..0000000 --- a/photoviewer/sample/res/values-iw/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"PhotoViewerSample"</string> - <string name="menu_settings" msgid="1259682084875185697">"הגדרות"</string> - <string name="title_activity_main" msgid="7695239211427024237">"MainActivity"</string> - <string name="launch" msgid="2345080120370773520">"הפעל את מציג התמונות"</string> -</resources> diff --git a/photoviewer/sample/res/values-ja/strings.xml b/photoviewer/sample/res/values-ja/strings.xml deleted file mode 100644 index d5bdf48..0000000 --- a/photoviewer/sample/res/values-ja/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"PhotoViewerSample"</string> - <string name="menu_settings" msgid="1259682084875185697">"設定"</string> - <string name="title_activity_main" msgid="7695239211427024237">"MainActivity"</string> - <string name="launch" msgid="2345080120370773520">"フォトビューアを起動"</string> -</resources> diff --git a/photoviewer/sample/res/values-ko/strings.xml b/photoviewer/sample/res/values-ko/strings.xml deleted file mode 100644 index 0366b9e..0000000 --- a/photoviewer/sample/res/values-ko/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"사진 뷰어 샘플"</string> - <string name="menu_settings" msgid="1259682084875185697">"설정"</string> - <string name="title_activity_main" msgid="7695239211427024237">"주요 활동"</string> - <string name="launch" msgid="2345080120370773520">"사진 뷰어 실행"</string> -</resources> diff --git a/photoviewer/sample/res/values-lt/strings.xml b/photoviewer/sample/res/values-lt/strings.xml deleted file mode 100644 index fe66735..0000000 --- a/photoviewer/sample/res/values-lt/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"Nuotraukų peržiūros priemonės pavyzdys"</string> - <string name="menu_settings" msgid="1259682084875185697">"Nustatymai"</string> - <string name="title_activity_main" msgid="7695239211427024237">"Pagrindinė veikla"</string> - <string name="launch" msgid="2345080120370773520">"Paleisti nuotraukų peržiūros priemonę"</string> -</resources> diff --git a/photoviewer/sample/res/values-lv/strings.xml b/photoviewer/sample/res/values-lv/strings.xml deleted file mode 100644 index 43ffeec..0000000 --- a/photoviewer/sample/res/values-lv/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"Fotoattēlu skatītāja paraugs"</string> - <string name="menu_settings" msgid="1259682084875185697">"Iestatījumi"</string> - <string name="title_activity_main" msgid="7695239211427024237">"Galvenās darbības"</string> - <string name="launch" msgid="2345080120370773520">"Palaist fotoattēlu skatītāju"</string> -</resources> diff --git a/photoviewer/sample/res/values-ms/strings.xml b/photoviewer/sample/res/values-ms/strings.xml deleted file mode 100644 index 8ad0bca..0000000 --- a/photoviewer/sample/res/values-ms/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"PhotoViewerSample"</string> - <string name="menu_settings" msgid="1259682084875185697">"Tetapan"</string> - <string name="title_activity_main" msgid="7695239211427024237">"Aktiviti Utama"</string> - <string name="launch" msgid="2345080120370773520">"Lancarkan Photo Viewer"</string> -</resources> diff --git a/photoviewer/sample/res/values-nb/strings.xml b/photoviewer/sample/res/values-nb/strings.xml deleted file mode 100644 index 85e04e6..0000000 --- a/photoviewer/sample/res/values-nb/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"PhotoViewerSample"</string> - <string name="menu_settings" msgid="1259682084875185697">"Innstillinger"</string> - <string name="title_activity_main" msgid="7695239211427024237">"MainActivity"</string> - <string name="launch" msgid="2345080120370773520">"Start Photo Viewer"</string> -</resources> diff --git a/photoviewer/sample/res/values-nl/strings.xml b/photoviewer/sample/res/values-nl/strings.xml deleted file mode 100644 index 6a4b531..0000000 --- a/photoviewer/sample/res/values-nl/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"PhotoViewerSample"</string> - <string name="menu_settings" msgid="1259682084875185697">"Instellingen"</string> - <string name="title_activity_main" msgid="7695239211427024237">"MainActivity"</string> - <string name="launch" msgid="2345080120370773520">"Fotoviewer starten"</string> -</resources> diff --git a/photoviewer/sample/res/values-pl/strings.xml b/photoviewer/sample/res/values-pl/strings.xml deleted file mode 100644 index 282bde1..0000000 --- a/photoviewer/sample/res/values-pl/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"PhotoViewerSample"</string> - <string name="menu_settings" msgid="1259682084875185697">"Ustawienia"</string> - <string name="title_activity_main" msgid="7695239211427024237">"MainActivity"</string> - <string name="launch" msgid="2345080120370773520">"Uruchom przeglądarkę zdjęć"</string> -</resources> diff --git a/photoviewer/sample/res/values-pt-rPT/strings.xml b/photoviewer/sample/res/values-pt-rPT/strings.xml deleted file mode 100644 index 46f8f28..0000000 --- a/photoviewer/sample/res/values-pt-rPT/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"ExemploVisualizadorFotos"</string> - <string name="menu_settings" msgid="1259682084875185697">"Definições"</string> - <string name="title_activity_main" msgid="7695239211427024237">"AtividadePrincipal"</string> - <string name="launch" msgid="2345080120370773520">"Iniciar Visualizador de Fotos"</string> -</resources> diff --git a/photoviewer/sample/res/values-pt/strings.xml b/photoviewer/sample/res/values-pt/strings.xml deleted file mode 100644 index 16e146a..0000000 --- a/photoviewer/sample/res/values-pt/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"AmostraPhotoViewer"</string> - <string name="menu_settings" msgid="1259682084875185697">"Configurações"</string> - <string name="title_activity_main" msgid="7695239211427024237">"AtividadePrincipal"</string> - <string name="launch" msgid="2345080120370773520">"Iniciar o Visualizador de fotos"</string> -</resources> diff --git a/photoviewer/sample/res/values-ro/strings.xml b/photoviewer/sample/res/values-ro/strings.xml deleted file mode 100644 index 00f370e..0000000 --- a/photoviewer/sample/res/values-ro/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"PhotoViewerSample"</string> - <string name="menu_settings" msgid="1259682084875185697">"Setări"</string> - <string name="title_activity_main" msgid="7695239211427024237">"MainActivity"</string> - <string name="launch" msgid="2345080120370773520">"Lansaţi Photo Viewer"</string> -</resources> diff --git a/photoviewer/sample/res/values-ru/strings.xml b/photoviewer/sample/res/values-ru/strings.xml deleted file mode 100644 index 2f68e2d..0000000 --- a/photoviewer/sample/res/values-ru/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"PhotoViewerSample"</string> - <string name="menu_settings" msgid="1259682084875185697">"Настройки"</string> - <string name="title_activity_main" msgid="7695239211427024237">"Основные действия"</string> - <string name="launch" msgid="2345080120370773520">"Смотреть фото"</string> -</resources> diff --git a/photoviewer/sample/res/values-sk/strings.xml b/photoviewer/sample/res/values-sk/strings.xml deleted file mode 100644 index a7e5d7b..0000000 --- a/photoviewer/sample/res/values-sk/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"Príklad prehliadača fotografií"</string> - <string name="menu_settings" msgid="1259682084875185697">"Nastavenia"</string> - <string name="title_activity_main" msgid="7695239211427024237">"Hlavná aktivita"</string> - <string name="launch" msgid="2345080120370773520">"Spustiť prehliadač fotografií"</string> -</resources> diff --git a/photoviewer/sample/res/values-sl/strings.xml b/photoviewer/sample/res/values-sl/strings.xml deleted file mode 100644 index b365610..0000000 --- a/photoviewer/sample/res/values-sl/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"PhotoViewerSample"</string> - <string name="menu_settings" msgid="1259682084875185697">"Nastavitve"</string> - <string name="title_activity_main" msgid="7695239211427024237">"MainActivity"</string> - <string name="launch" msgid="2345080120370773520">"Zaženi pregledovalnik fotografij"</string> -</resources> diff --git a/photoviewer/sample/res/values-sr/strings.xml b/photoviewer/sample/res/values-sr/strings.xml deleted file mode 100644 index ed2433f..0000000 --- a/photoviewer/sample/res/values-sr/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"PhotoViewerSample"</string> - <string name="menu_settings" msgid="1259682084875185697">"Подешавања"</string> - <string name="title_activity_main" msgid="7695239211427024237">"MainActivity"</string> - <string name="launch" msgid="2345080120370773520">"Покрени фото прегледач"</string> -</resources> diff --git a/photoviewer/sample/res/values-sv/strings.xml b/photoviewer/sample/res/values-sv/strings.xml deleted file mode 100644 index ffd5e95..0000000 --- a/photoviewer/sample/res/values-sv/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"PhotoViewerSample"</string> - <string name="menu_settings" msgid="1259682084875185697">"Inställningar"</string> - <string name="title_activity_main" msgid="7695239211427024237">"MainActivity"</string> - <string name="launch" msgid="2345080120370773520">"Starta fotovisaren"</string> -</resources> diff --git a/photoviewer/sample/res/values-sw/strings.xml b/photoviewer/sample/res/values-sw/strings.xml deleted file mode 100644 index 6e6b913..0000000 --- a/photoviewer/sample/res/values-sw/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"SampuliKionyeshaPicha"</string> - <string name="menu_settings" msgid="1259682084875185697">"Mipangilio"</string> - <string name="title_activity_main" msgid="7695239211427024237">"ShughuliKuu"</string> - <string name="launch" msgid="2345080120370773520">"Zindua Kionyesha Picha"</string> -</resources> diff --git a/photoviewer/sample/res/values-th/strings.xml b/photoviewer/sample/res/values-th/strings.xml deleted file mode 100644 index 1643fe2..0000000 --- a/photoviewer/sample/res/values-th/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"ตัวอย่างโปรแกรมดูรูปภาพ"</string> - <string name="menu_settings" msgid="1259682084875185697">"การตั้งค่า"</string> - <string name="title_activity_main" msgid="7695239211427024237">"กิจกรรมหลัก"</string> - <string name="launch" msgid="2345080120370773520">"เปิดโปรแกรมดูรูปภาพ"</string> -</resources> diff --git a/photoviewer/sample/res/values-tl/strings.xml b/photoviewer/sample/res/values-tl/strings.xml deleted file mode 100644 index c815b11..0000000 --- a/photoviewer/sample/res/values-tl/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"PhotoViewerSample"</string> - <string name="menu_settings" msgid="1259682084875185697">"Mga Setting"</string> - <string name="title_activity_main" msgid="7695239211427024237">"MainActivity"</string> - <string name="launch" msgid="2345080120370773520">"Ilunsad ang Viewer ng Larawan"</string> -</resources> diff --git a/photoviewer/sample/res/values-tr/strings.xml b/photoviewer/sample/res/values-tr/strings.xml deleted file mode 100644 index 8ef780f..0000000 --- a/photoviewer/sample/res/values-tr/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"PhotoViewerSample"</string> - <string name="menu_settings" msgid="1259682084875185697">"Ayarlar"</string> - <string name="title_activity_main" msgid="7695239211427024237">"MainActivity"</string> - <string name="launch" msgid="2345080120370773520">"Photo Viewer\'ı Başlat"</string> -</resources> diff --git a/photoviewer/sample/res/values-uk/strings.xml b/photoviewer/sample/res/values-uk/strings.xml deleted file mode 100644 index dc813ab..0000000 --- a/photoviewer/sample/res/values-uk/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"PhotoViewerSample"</string> - <string name="menu_settings" msgid="1259682084875185697">"Налаштування"</string> - <string name="title_activity_main" msgid="7695239211427024237">"MainActivity"</string> - <string name="launch" msgid="2345080120370773520">"Запустити інструмент перегляду фотографій"</string> -</resources> diff --git a/photoviewer/sample/res/values-vi/strings.xml b/photoviewer/sample/res/values-vi/strings.xml deleted file mode 100644 index 910a52c..0000000 --- a/photoviewer/sample/res/values-vi/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"PhotoViewerSample"</string> - <string name="menu_settings" msgid="1259682084875185697">"Cài đặt"</string> - <string name="title_activity_main" msgid="7695239211427024237">"MainActivity"</string> - <string name="launch" msgid="2345080120370773520">"Khởi chạy trình xem ảnh"</string> -</resources> diff --git a/photoviewer/sample/res/values-zh-rCN/strings.xml b/photoviewer/sample/res/values-zh-rCN/strings.xml deleted file mode 100644 index 69795a6..0000000 --- a/photoviewer/sample/res/values-zh-rCN/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"PhotoViewerSample"</string> - <string name="menu_settings" msgid="1259682084875185697">"设置"</string> - <string name="title_activity_main" msgid="7695239211427024237">"MainActivity"</string> - <string name="launch" msgid="2345080120370773520">"启动照片浏览器"</string> -</resources> diff --git a/photoviewer/sample/res/values-zh-rTW/strings.xml b/photoviewer/sample/res/values-zh-rTW/strings.xml deleted file mode 100644 index 73dd1fa..0000000 --- a/photoviewer/sample/res/values-zh-rTW/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"PhotoViewerSample"</string> - <string name="menu_settings" msgid="1259682084875185697">"設定"</string> - <string name="title_activity_main" msgid="7695239211427024237">"MainActivity"</string> - <string name="launch" msgid="2345080120370773520">"啟動相片檢視器"</string> -</resources> diff --git a/photoviewer/sample/res/values-zu/strings.xml b/photoviewer/sample/res/values-zu/strings.xml deleted file mode 100644 index e42c901..0000000 --- a/photoviewer/sample/res/values-zu/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="app_name" msgid="559800164925277094">"PhotoViewerSample"</string> - <string name="menu_settings" msgid="1259682084875185697">"Izilungiselelo"</string> - <string name="title_activity_main" msgid="7695239211427024237">"MainActivity"</string> - <string name="launch" msgid="2345080120370773520">"Vula isibonisi sesithombe"</string> -</resources> diff --git a/photoviewer/sample/res/values/dimens.xml b/photoviewer/sample/res/values/dimens.xml deleted file mode 100644 index ec96646..0000000 --- a/photoviewer/sample/res/values/dimens.xml +++ /dev/null @@ -1,7 +0,0 @@ -<resources> - - <dimen name="padding_small">8dp</dimen> - <dimen name="padding_medium">8dp</dimen> - <dimen name="padding_large">16dp</dimen> - -</resources>
\ No newline at end of file diff --git a/photoviewer/sample/res/values/strings.xml b/photoviewer/sample/res/values/strings.xml deleted file mode 100644 index be31909..0000000 --- a/photoviewer/sample/res/values/strings.xml +++ /dev/null @@ -1,8 +0,0 @@ -<resources> - - <string name="app_name">PhotoViewerSample</string> - <string name="menu_settings">Settings</string> - <string name="title_activity_main">MainActivity</string> - <string name="launch">Launch Photo Viewer</string> - -</resources>
\ No newline at end of file diff --git a/photoviewer/sample/res/values/styles.xml b/photoviewer/sample/res/values/styles.xml deleted file mode 100644 index 1c089a7..0000000 --- a/photoviewer/sample/res/values/styles.xml +++ /dev/null @@ -1,5 +0,0 @@ -<resources> - - <style name="AppTheme" parent="android:Theme.Holo.Light.DarkActionBar" /> - -</resources>
\ No newline at end of file diff --git a/photoviewer/sample/src/com/example/photoviewersample/MainActivity.java b/photoviewer/sample/src/com/example/photoviewersample/MainActivity.java deleted file mode 100644 index efc2064..0000000 --- a/photoviewer/sample/src/com/example/photoviewersample/MainActivity.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.example.photoviewersample; - -import android.app.Activity; -import android.os.Bundle; -import android.view.View; -import android.view.View.OnClickListener; - -import com.android.ex.photo.Intents; -import com.android.ex.photo.Intents.PhotoViewIntentBuilder; - -public class MainActivity extends Activity implements OnClickListener { - - @Override - public void onCreate(Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - setContentView(R.layout.activity_main); - View b = findViewById(R.id.button); - b.setOnClickListener(this); - } - - @Override - public void onClick(View v) { - final PhotoViewIntentBuilder builder = - Intents.newPhotoViewActivityIntentBuilder(this); - builder - .setPhotosUri("content://com.example.photoviewersample.SampleProvider/photos"); - - startActivity(builder.build()); - } -} diff --git a/photoviewer/sample/src/com/example/photoviewersample/SampleProvider.java b/photoviewer/sample/src/com/example/photoviewersample/SampleProvider.java deleted file mode 100644 index 86ae82b..0000000 --- a/photoviewer/sample/src/com/example/photoviewersample/SampleProvider.java +++ /dev/null @@ -1,179 +0,0 @@ -package com.example.photoviewersample; - -import android.content.ContentProvider; -import android.content.ContentValues; -import android.content.UriMatcher; -import android.content.res.AssetFileDescriptor; -import android.database.Cursor; -import android.database.MatrixCursor; -import android.net.Uri; - -import java.io.FileNotFoundException; -import java.io.IOException; -import java.util.List; - -public class SampleProvider extends ContentProvider { - private static final int PHOTOS = 1; - private static final int PHOTO_INDIVIDUAL_1 = 2; - private static final int PHOTO_INDIVIDUAL_2 = 3; - private static final int PHOTO_INDIVIDUAL_3 = 4; - private static final int PHOTO_INDIVIDUAL_4 = 5; - - private static final String PROVIDER_URI = "com.example.photoviewersample.SampleProvider"; - - // Creates a UriMatcher object. - private static final UriMatcher sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH); - - static - { - sUriMatcher.addURI(PROVIDER_URI, "photos", PHOTOS); - sUriMatcher.addURI(PROVIDER_URI, "photos/1", PHOTO_INDIVIDUAL_1); - sUriMatcher.addURI(PROVIDER_URI, "photos/2", PHOTO_INDIVIDUAL_2); - sUriMatcher.addURI(PROVIDER_URI, "photos/3", PHOTO_INDIVIDUAL_3); - sUriMatcher.addURI(PROVIDER_URI, "photos/4", PHOTO_INDIVIDUAL_4); - } - - @Override - public int delete(Uri uri, String selection, String[] selectionArgs) { - // TODO Auto-generated method stub - return 0; - } - - @Override - public String getType(Uri uri) { - // TODO Auto-generated method stub - return null; - } - - @Override - public Uri insert(Uri uri, ContentValues values) { - // TODO Auto-generated method stub - return null; - } - - @Override - public boolean onCreate() { - // TODO Auto-generated method stub - return false; - } - - @Override - public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, - String sortOrder) { - MatrixCursor matrix = new MatrixCursor(projection); - - /* - * Choose the table to query and a sort order based on the code returned for the incoming - * URI. Here, too, only the statements for table 3 are shown. - */ - switch (sUriMatcher.match(uri)) { - // If the incoming URI was for all of the photos table - case PHOTOS: - addRow(matrix, PHOTO_INDIVIDUAL_1); - addRow(matrix, PHOTO_INDIVIDUAL_2); - addRow(matrix, PHOTO_INDIVIDUAL_3); - addRow(matrix, PHOTO_INDIVIDUAL_4); - break; - - // If the incoming URI was for a single row - case PHOTO_INDIVIDUAL_1: - addRow(matrix, PHOTO_INDIVIDUAL_1); - break; - case PHOTO_INDIVIDUAL_2: - addRow(matrix, PHOTO_INDIVIDUAL_2); - break; - case PHOTO_INDIVIDUAL_3: - addRow(matrix, PHOTO_INDIVIDUAL_3); - break; - case PHOTO_INDIVIDUAL_4: - addRow(matrix, PHOTO_INDIVIDUAL_4); - break; - - default: - // If the URI is not recognized, you should do some error handling here. - } - // call the code to actually do the query - - return matrix; - } - - /** - * Adds a single row to the Cursor. A real implementation should - * check the projection to properly match the columns. - */ - private void addRow(MatrixCursor matrix, int match_id) { - switch (match_id) { - case PHOTO_INDIVIDUAL_1: - matrix.newRow() - .add("content://" + PROVIDER_URI + "/photos/1") // uri - .add("blah.png") // displayName - .add("content://" + PROVIDER_URI + "/photos/1/contentUri") // contentUri - .add("content://" + PROVIDER_URI + "/photos/1/thumbnailUri") // thumbnailUri - .add("image/png"); // contentType - break; - case PHOTO_INDIVIDUAL_2: - matrix.newRow() - .add("content://" + PROVIDER_URI + "/photos/2") // uri - .add("johannson.png") // displayName - .add("content://" + PROVIDER_URI + "/photos/2/contentUri") // contentUri - .add("content://" + PROVIDER_URI + "/photos/2/thumbnailUri") // thumbnailUri - .add("image/png"); // contentType - break; - case PHOTO_INDIVIDUAL_3: - matrix.newRow() - .add("content://" + PROVIDER_URI + "/photos/3") // uri - .add("planets.png") // displayName - .add("content://" + PROVIDER_URI + "/photos/3/contentUri") // contentUri - .add("content://" + PROVIDER_URI + "/photos/3/thumbnailUri") // thumbnailUri - .add("image/png"); // contentType - break; - case PHOTO_INDIVIDUAL_4: - matrix.newRow() - .add("content://" + PROVIDER_URI + "/photos/4") // uri - .add("galaxy.png") // displayName - .add("content://" + PROVIDER_URI + "/photos/4/contentUri") // contentUri - .add("content://" + PROVIDER_URI + "/photos/4/thumbnailUri") // thumbnailUri - .add("image/png"); // contentType - break; - - default: - // If the URI is not recognized, you should do some error handling here. - } - } - - @Override - public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { - // TODO Auto-generated method stub - return 0; - } - - @Override - public AssetFileDescriptor openAssetFile(Uri uri, String mode) throws FileNotFoundException { - List<String> pathSegments = uri.getPathSegments(); - final int id = Integer.parseInt(pathSegments.get(1)); - String fileName; - switch (id) { - case 1: - fileName = "blah.png"; - break; - case 2: - fileName = "johannson.png"; - break; - case 3: - fileName = "planets.png"; - break; - case 4: - fileName = "galaxy.png"; - break; - default: - fileName = null; - break; - } - try { - return getContext().getAssets().openFd(fileName); - } catch (IOException e) { - e.printStackTrace(); - return null; - } - } -} |