Add link to BS+ in prefs

git-svn-id: https://zxing.googlecode.com/svn/trunk@2402 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
srowen 2012-09-11 16:30:12 +00:00
parent 008c23fed8
commit 9d4cb4a715
32 changed files with 126 additions and 0 deletions

View file

@ -117,6 +117,8 @@
<string name="preferences_search_country">ابحث عن بلد</string>
<string name="preferences_supplemental_summary">محاولة لاسترداد مزيد من المعلومات حول محتويات الباركود</string>
<string name="preferences_supplemental_title">استرداد مزيد من المعلومات</string>
<string name="preferences_try_bsplus">محاولة الباركود +</string>
<string name="preferences_try_bsplus_summary">معززة مع الميزات الجديدة واجهة</string>
<string name="preferences_vibrate_title">اهتزاز</string>
<string name="result_address_book">تم العثور على معلومات جهة الاتصال</string>
<string name="result_calendar">تم العثور على حدث التقويم</string>

View file

@ -117,6 +117,8 @@
<string name="preferences_search_country">Държава при търсене</string>
<string name="preferences_supplemental_summary">Опитай да получиш повече информация за баркода</string>
<string name="preferences_supplemental_title">Търсене на разширения</string>
<string name="preferences_try_bsplus">Опитайте Баркод Скенер+</string>
<string name="preferences_try_bsplus_summary">Обогатен с нови характеристики и интерфейс</string>
<string name="preferences_vibrate_title">Вибрация</string>
<string name="result_address_book">Намерих информация за контакт</string>
<string name="result_calendar">Намерих календарно събитие</string>

View file

@ -117,6 +117,8 @@
<string name="preferences_search_country">Cerca per país</string>
<string name="preferences_supplemental_summary">Intenta obtenir més informació sobre els continguts del codi de barres</string>
<string name="preferences_supplemental_title">Aconsegueix més informació</string>
<string name="preferences_try_bsplus">Intenta Barcode Scanner+</string>
<string name="preferences_try_bsplus_summary">Millorat amb noves característiques i la interfície de</string>
<string name="preferences_vibrate_title">Vibració</string>
<string name="result_address_book">S\'ha trobat informació de contacte</string>
<string name="result_calendar">S\'ha trobat un esdeveniment</string>

View file

@ -117,6 +117,8 @@
<string name="preferences_search_country">Hledání země</string>
<string name="preferences_supplemental_summary">Získat více informací o obsahu čárového kódu</string>
<string name="preferences_supplemental_title">Získat více informací</string>
<string name="preferences_try_bsplus">Zkuste Barcode Scanner+</string>
<string name="preferences_try_bsplus_summary">Obohacen o nové funkce a rozhraní</string>
<string name="preferences_vibrate_title">Vibrace</string>
<string name="result_address_book">Našel jsem kontakt</string>
<string name="result_calendar">Našel jsem kalendář</string>

View file

@ -117,6 +117,8 @@
<string name="preferences_search_country">Søg efter land</string>
<string name="preferences_supplemental_summary">Prøv at få flere oplysninger om stregkodens indhold</string>
<string name="preferences_supplemental_title">Hent mere info</string>
<string name="preferences_try_bsplus">Prøv Barcode Scanner+</string>
<string name="preferences_try_bsplus_summary">Forbedret med nye funktioner og grænseflade</string>
<string name="preferences_vibrate_title">Vibrér</string>
<string name="result_address_book">Kontaktinfo fundet</string>
<string name="result_calendar">Kalendarbegivenhed fundet</string>

View file

@ -117,6 +117,8 @@
<string name="preferences_search_country">Suche Land</string>
<string name="preferences_supplemental_summary">Versuchen, weitere Informationen über Barcode-Inhalte abzurufen</string>
<string name="preferences_supplemental_title">Weitere Informationen abrufen</string>
<string name="preferences_try_bsplus">Versuchen Barcode Scanner+</string>
<string name="preferences_try_bsplus_summary">Angereichert mit neuen Features und Schnittstellen</string>
<string name="preferences_vibrate_title">Vibrieren</string>
<string name="result_address_book">Kontakt gefunden</string>
<string name="result_calendar">Termin gefunden</string>

View file

@ -117,6 +117,8 @@
<string name="preferences_search_country">Χώρα Αναζήτησης</string>
<string name="preferences_supplemental_summary">Προσπάθησε να βρείς περισσότερες πληροφορίες για τα περιεχόμενα του barcode</string>
<string name="preferences_supplemental_title">Αναζήτηση για επιπλέον πληροφορίες</string>
<string name="preferences_try_bsplus">Δοκιμάστε Barcode Scanner+</string>
<string name="preferences_try_bsplus_summary">Ενισχυμένη με νέα χαρακτηριστικά και διασύνδεση</string>
<string name="preferences_vibrate_title">Δόνηση</string>
<string name="result_address_book">Βρέθηκαν πληροφορίες επαφής</string>
<string name="result_calendar">Βρέθηκε συμβάν ημερολογίου</string>

View file

@ -117,6 +117,8 @@
<string name="preferences_search_country">Buscar país</string>
<string name="preferences_supplemental_summary">Trata de recuperar más información sobre el contenido del código de barras.</string>
<string name="preferences_supplemental_title">Recuperar más información</string>
<string name="preferences_try_bsplus">Trate Barcode Scanner+</string>
<string name="preferences_try_bsplus_summary">Mejorado con nuevas características y la interfaz de</string>
<string name="preferences_vibrate_title">Vibrar</string>
<string name="result_address_book">Información de contacto encontrada</string>
<string name="result_calendar">Evento de calendario encontrado</string>

View file

@ -117,6 +117,8 @@
<string name="preferences_search_country">Bilatu herrialdea</string>
<string name="preferences_supplemental_summary">Saiatu barra-kodearen edukiei buruzko informazio gehiago eskuratzen</string>
<string name="preferences_supplemental_title">Eskuratu informazio gehiago</string>
<string name="preferences_try_bsplus">Saiatu Barcode Scanner+</string>
<string name="preferences_try_bsplus_summary">Ezaugarri berri eta interfaze indartu</string>
<string name="preferences_vibrate_title">Bibratu</string>
<string name="result_address_book">Kontaktu-informazioa aurkitu da</string>
<string name="result_calendar">Egutegiko gertaera aurkitu da</string>

View file

@ -117,6 +117,8 @@
<string name="preferences_search_country">Etsi maasta</string>
<string name="preferences_supplemental_summary">Yritä hakea lisätietoja viivakoodin sisällöstä</string>
<string name="preferences_supplemental_title">Hae lisää tietoa</string>
<string name="preferences_try_bsplus">Kokeile Barcode Scanner+</string>
<string name="preferences_try_bsplus_summary">Parannettu uusia ominaisuuksia ja käyttöliittymä</string>
<string name="preferences_vibrate_title">Värinä</string>
<string name="result_address_book">Löydettiin yhteystietoja</string>
<string name="result_calendar">Löydettiin kalenteritapahtuma</string>

View file

@ -117,6 +117,8 @@
<string name="preferences_search_country">Pays de recherche</string>
<string name="preferences_supplemental_summary">Essayer de trouver plus d\'informations sur le contenu des codes-barres scannés</string>
<string name="preferences_supplemental_title">Trouver plus d\'informations</string>
<string name="preferences_try_bsplus">Essayez Barcode Scanner+</string>
<string name="preferences_try_bsplus_summary">Amélioré avec de nouvelles fonctionnalités et de l&#39;interface</string>
<string name="preferences_vibrate_title">Vibrer</string>
<string name="result_address_book">Information de contact trouvée</string>
<string name="result_calendar">Événement de l\'agenda trouvé</string>

View file

@ -117,6 +117,8 @@
<string name="preferences_search_country">חיפוש הארץ</string>
<string name="preferences_supplemental_summary">נסה למצא מידע נוסף על תוכן הברקוד</string>
<string name="preferences_supplemental_title">מצא מידע נוסף</string>
<string name="preferences_try_bsplus">נסה סורק ברקודים+</string>
<string name="preferences_try_bsplus_summary">משופר עם תכונות וממשק חדשים</string>
<string name="preferences_vibrate_title">רטט</string>
<string name="result_address_book">נמצא מידע של איש קשר</string>
<string name="result_calendar">נמצא אירוע</string>

View file

@ -117,6 +117,8 @@
<string name="preferences_search_country">खोज देश</string>
<string name="preferences_supplemental_summary">बारकोड सामग्री के बारे में में अधिक जानकारी पुनः प्राप्त करने की कोशिश करो</string>
<string name="preferences_supplemental_title">अधिक जानकारी पुनर्प्राप्त</string>
<string name="preferences_try_bsplus">बारकोड स्कैनर की कोशिश +</string>
<string name="preferences_try_bsplus_summary">नई सुविधाओं और इंटरफेस के साथ बढ़ाया</string>
<string name="preferences_vibrate_title">कांपना</string>
<string name="result_address_book">मिला संपर्क जानकारी</string>
<string name="result_calendar">मिला कैलेंडर घटना</string>

View file

@ -117,6 +117,8 @@
<string name="preferences_search_country">Ország keresése</string>
<string name="preferences_supplemental_summary">A vonalkóddal jelzett tartalomról megpróbál több információt letölteni.</string>
<string name="preferences_supplemental_title">További információk letöltése</string>
<string name="preferences_try_bsplus">Próbálja Barcode Scanner+</string>
<string name="preferences_try_bsplus_summary">Továbbfejlesztett új jellemzők és interfész</string>
<string name="preferences_vibrate_title">Rezgés</string>
<string name="result_address_book">Névjegy találat</string>
<string name="result_calendar">Naptár esemény találat</string>

View file

@ -117,6 +117,8 @@
<string name="preferences_search_country">Pencarian negara</string>
<string name="preferences_supplemental_summary">Mencoba mendapatkan beberapa informasi mengenai isi barcode</string>
<string name="preferences_supplemental_title">Ambil informasi lebih lanjut</string>
<string name="preferences_try_bsplus">Cobalah Scanner Barcode+</string>
<string name="preferences_try_bsplus_summary">Ditingkatkan dengan fitur baru dan antarmuka</string>
<string name="preferences_vibrate_title">Bergetar</string>
<string name="result_address_book">Informasi kontak ditemukan</string>
<string name="result_calendar">Kalendar acara ditemukan</string>

View file

@ -117,6 +117,8 @@
<string name="preferences_search_country">Cerca paese</string>
<string name="preferences_supplemental_summary">Prova a cercare ulteriori informazioni sul contenuto del codice a barre</string>
<string name="preferences_supplemental_title">Recupera altre informazioni</string>
<string name="preferences_try_bsplus">Prova Barcode Scanner+</string>
<string name="preferences_try_bsplus_summary">Arricchito con nuove funzionalità e interfaccia</string>
<string name="preferences_vibrate_title">Vibra</string>
<string name="result_address_book">Info contatto trovata</string>
<string name="result_calendar">Evento calendario trovato</string>

View file

@ -117,6 +117,8 @@
<string name="preferences_search_country">חיפוש הארץ</string>
<string name="preferences_supplemental_summary">נסה למצא מידע נוסף על תוכן הברקוד</string>
<string name="preferences_supplemental_title">מצא מידע נוסף</string>
<string name="preferences_try_bsplus">נסה סורק ברקודים+</string>
<string name="preferences_try_bsplus_summary">משופר עם תכונות וממשק חדשים</string>
<string name="preferences_vibrate_title">רטט</string>
<string name="result_address_book">נמצא מידע של איש קשר</string>
<string name="result_calendar">נמצא אירוע</string>

View file

@ -117,6 +117,8 @@
<string name="preferences_search_country">検索国</string>
<string name="preferences_supplemental_summary">バーコード内容についての詳細情報を取得してみてください</string>
<string name="preferences_supplemental_title">取得の詳細情報をもっと見る</string>
<string name="preferences_try_bsplus">バーコードスキャナを試してみてください+</string>
<string name="preferences_try_bsplus_summary">新機能とインターフェースで強化</string>
<string name="preferences_vibrate_title">バイブ</string>
<string name="result_address_book">連絡先がヒットしました</string>
<string name="result_calendar">カレンダーの予定がヒットしました</string>

View file

@ -117,6 +117,8 @@
<string name="preferences_search_country">국가별 검색</string>
<string name="preferences_supplemental_summary">바코드 내용에 대한 자세한 정보를 검색하려고</string>
<string name="preferences_supplemental_title">검색 상세 정보</string>
<string name="preferences_try_bsplus">바코드 스캐너를 사용해보십시오 +</string>
<string name="preferences_try_bsplus_summary">새로운 기능 및 인터페이스 개선</string>
<string name="preferences_vibrate_title">진동</string>
<string name="result_address_book">연락처 정보를 찾았습니다</string>
<string name="result_calendar">일정 이벤트를 찾았습니다</string>

View file

@ -117,6 +117,8 @@
<string name="preferences_search_country">Zoeken op land</string>
<string name="preferences_supplemental_summary">Meer informatie over de inhoud van de barcode proberen op te halen</string>
<string name="preferences_supplemental_title">Meer informatie ophalen</string>
<string name="preferences_try_bsplus">Probeer Barcode Scanner+</string>
<string name="preferences_try_bsplus_summary">Uitgebreid met nieuwe functies en interface</string>
<string name="preferences_vibrate_title">Trillen</string>
<string name="result_address_book">Contactpersooninformatie gevonden</string>
<string name="result_calendar">Agendagebeurtenis gevonden</string>

View file

@ -117,6 +117,8 @@
<string name="preferences_search_country">Szukaj kraju</string>
<string name="preferences_supplemental_summary">Prosimy spróbować wyszukać więcej informacji na temat kodów kreskowych treści</string>
<string name="preferences_supplemental_title">Pobierz więcej informacji</string>
<string name="preferences_try_bsplus">Spróbuj Barcode Scanner+</string>
<string name="preferences_try_bsplus_summary">Wzbogacony o nowe funkcje i interfejs</string>
<string name="preferences_vibrate_title">Wibruj</string>
<string name="result_address_book">Znaleziono dane kontaktu</string>
<string name="result_calendar">Znaleziono wydarzenie kalendarza</string>

View file

@ -117,6 +117,8 @@
<string name="preferences_search_country">País busca</string>
<string name="preferences_supplemental_summary">Tentar recuperar mais informação sobre os conteúdos dos códigos de barras</string>
<string name="preferences_supplemental_title">Recuperar mais informação</string>
<string name="preferences_try_bsplus">Tente Barcode Scanner+</string>
<string name="preferences_try_bsplus_summary">Aprimorado com novos recursos e interface</string>
<string name="preferences_vibrate_title">Vibrar</string>
<string name="result_address_book">Info de contacto encontrada</string>
<string name="result_calendar">Evento de calendário encontrado</string>

View file

@ -117,6 +117,8 @@
<string name="preferences_search_country">Поиск страны</string>
<string name="preferences_supplemental_summary">Показывать подробную информацию о штрих-коде</string>
<string name="preferences_supplemental_title">Подробности</string>
<string name="preferences_try_bsplus">Попробуйте Сканер штрих-кодов+</string>
<string name="preferences_try_bsplus_summary">Расширение с новыми функциями и интерфейсом</string>
<string name="preferences_vibrate_title">Вибрировать</string>
<string name="result_address_book">Найдены контактные данные</string>
<string name="result_calendar">Найдено событие для календаря</string>

View file

@ -117,6 +117,8 @@
<string name="preferences_search_country">Vyhľadávanie pre krajinu</string>
<string name="preferences_supplemental_summary">Skúsiť získať viac informácií o obsahu čiarového kódu</string>
<string name="preferences_supplemental_title">Získať viac informácií</string>
<string name="preferences_try_bsplus">Skúste Barcode Scanner+</string>
<string name="preferences_try_bsplus_summary">Obohatený o nové funkcie a rozhrania</string>
<string name="preferences_vibrate_title">Vibrácia</string>
<string name="result_address_book">Nájdená informácia o kontakte</string>
<string name="result_calendar">Nájdená udalosť kalendára</string>

View file

@ -117,6 +117,8 @@
<string name="preferences_search_country">Išči po državi</string>
<string name="preferences_supplemental_summary">Poskusite pridobiti več informacij o vsebini črtne kode</string>
<string name="preferences_supplemental_title">Naloži Več info</string>
<string name="preferences_try_bsplus">Poskusite Barcode Scanner+</string>
<string name="preferences_try_bsplus_summary">Izboljšan z novimi funkcijami in vmesnikom</string>
<string name="preferences_vibrate_title">Vibriraj</string>
<string name="result_address_book">Najdene informacije o kontaktu</string>
<string name="result_calendar">Najden koledarski dogodek</string>

View file

@ -117,6 +117,8 @@
<string name="preferences_search_country">Sök land</string>
<string name="preferences_supplemental_summary">Försök att hämta mer information om streckkodens innehåll</string>
<string name="preferences_supplemental_title">Hämta mer info</string>
<string name="preferences_try_bsplus">Prova Barcode Scanner+</string>
<string name="preferences_try_bsplus_summary">Förstärkt med nya funktioner och gränssnitt</string>
<string name="preferences_vibrate_title">Vibrera</string>
<string name="result_address_book">Hittade kontaktinformation</string>
<string name="result_calendar">Hittade kalenderpost</string>

View file

@ -117,6 +117,8 @@
<string name="preferences_search_country">Arama Ülke</string>
<string name="preferences_supplemental_summary">Barkod içeriği hakkında daha fazla bilgi almayı dene</string>
<string name="preferences_supplemental_title">Daha fazla bilgi </string>
<string name="preferences_try_bsplus">Barkod Tarayıcısı+ deneyin</string>
<string name="preferences_try_bsplus_summary">Yeni özellikler ve arayüz ile gelişmiş</string>
<string name="preferences_vibrate_title">Titreşim </string>
<string name="result_address_book">Bulunan kişi bilgisi</string>
<string name="result_calendar">Bulunan takvim etkinliği</string>

View file

@ -117,6 +117,8 @@
<string name="preferences_search_country">搜索国家</string>
<string name="preferences_supplemental_summary">尝试检索关于条码内容的更多信息</string>
<string name="preferences_supplemental_title">检索更多信息</string>
<string name="preferences_try_bsplus">尝试条码扫描器+</string>
<string name="preferences_try_bsplus_summary">增强新的功能和接口</string>
<string name="preferences_vibrate_title">振动</string>
<string name="result_address_book">找到联系人信息</string>
<string name="result_calendar">找到日历事件</string>

View file

@ -117,6 +117,8 @@
<string name="preferences_search_country">搜索國家</string>
<string name="preferences_supplemental_summary">嘗試透過條碼搜尋更多的資訊</string>
<string name="preferences_supplemental_title">搜尋更多資訊</string>
<string name="preferences_try_bsplus">嘗試條碼掃描器+</string>
<string name="preferences_try_bsplus_summary">增強新的功能和接口</string>
<string name="preferences_vibrate_title">震動</string>
<string name="result_address_book">找到聯絡人</string>
<string name="result_calendar">找到日曆事件</string>

View file

@ -115,6 +115,8 @@
<string name="preferences_result_title">Result settings</string>
<string name="preferences_scanning_title">When scanning for barcodes, decode\u2026</string>
<string name="preferences_search_country">Search country</string>
<string name="preferences_try_bsplus">Try Barcode Scanner+</string>
<string name="preferences_try_bsplus_summary">Enhanced with new features and interface</string>
<string name="preferences_supplemental_summary">Try to retrieve more information about the barcode contents</string>
<string name="preferences_supplemental_title">Retrieve more info</string>
<string name="preferences_vibrate_title">Vibrate</string>

View file

@ -88,4 +88,9 @@
android:title="@string/preferences_disable_continuous_focus_title"
android:summary="@string/preferences_disable_continuous_focus_summary"/>
</PreferenceCategory>
<PreferenceCategory android:title="@string/preferences_try_bsplus">
<com.google.zxing.client.android.pref.BSPlusPreference
android:title="@string/preferences_try_bsplus"
android:summary="@string/preferences_try_bsplus_summary"/>
</PreferenceCategory>
</PreferenceScreen>

View file

@ -0,0 +1,61 @@
/*
* Copyright (C) 2012 ZXing authors
*
* 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.
*/
package com.google.zxing.client.android.pref;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.preference.Preference;
import android.util.AttributeSet;
/**
* A dummy pref that launches Play to the BS+ page.
*
* @author Sean Owen
*/
public final class BSPlusPreference extends Preference {
private static final String MARKET_URL = "market://details?id=com.srowen.bs.android";
public BSPlusPreference(Context context, AttributeSet attrs, int defStyle) {
super(context, attrs, defStyle);
configureClickListener();
}
public BSPlusPreference(Context context, AttributeSet attrs) {
super(context, attrs);
configureClickListener();
}
public BSPlusPreference(Context context) {
super(context);
configureClickListener();
}
private void configureClickListener() {
setOnPreferenceClickListener(new OnPreferenceClickListener() {
@Override
public boolean onPreferenceClick(Preference preference) {
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(MARKET_URL));
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET);
getContext().startActivity(intent);
return true;
}
});
}
}