removed unused project
|
@ -1,9 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="src" path="src"/>
|
||||
<classpathentry kind="src" path="gen"/>
|
||||
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
|
||||
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
|
||||
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
|
||||
<classpathentry kind="output" path="bin/classes"/>
|
||||
</classpath>
|
5
plugins/Osmand-RouteSteps/.gitignore
vendored
|
@ -1,5 +0,0 @@
|
|||
bin
|
||||
gen
|
||||
raw
|
||||
obj
|
||||
*.iml
|
|
@ -1,33 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>Osmand-ParkingPlugin</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>com.android.ide.eclipse.adt.ApkBuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
|
||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
|
@ -1,26 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="net.osmand.routeStepsPlugin"
|
||||
android:versionCode="6"
|
||||
android:versionName="1.0" >
|
||||
|
||||
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="16" />
|
||||
<uses-feature android:name="android.hardware.touchscreen" android:required="false"/>
|
||||
<supports-screens android:resizeable="true" android:smallScreens="true" android:normalScreens="true" android:largeScreens="true"
|
||||
android:xlargeScreens="true" android:anyDensity="true" />
|
||||
<application
|
||||
android:icon="@drawable/icon"
|
||||
android:label="OsmAnd Parking" >
|
||||
<activity
|
||||
android:name="net.osmand.routeStepsPlugin.RouteStepsActivity"
|
||||
android:label="Route Steps" >
|
||||
|
||||
<!--<intent-filter>-->
|
||||
<!--<action android:name="android.intent.action.MAIN" />-->
|
||||
<!--<category android:name="android.intent.category.LAUNCHER" />-->
|
||||
<!--</intent-filter>-->
|
||||
|
||||
</activity>
|
||||
</application>
|
||||
|
||||
</manifest>
|
|
@ -1,14 +0,0 @@
|
|||
# This file is automatically generated by Android Tools.
|
||||
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
|
||||
#
|
||||
# This file must be checked in Version Control Systems.
|
||||
#
|
||||
# To customize properties used by the Ant build system edit
|
||||
# "ant.properties", and override values to adapt the script to your
|
||||
# project structure.
|
||||
#
|
||||
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
|
||||
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
|
||||
|
||||
# Project target.
|
||||
target=android-19
|
Before Width: | Height: | Size: 9.2 KiB |
Before Width: | Height: | Size: 7.1 KiB |
Before Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 4 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 10 KiB |
|
@ -1,13 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent" >
|
||||
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:gravity="center_vertical|center_horizontal"
|
||||
android:text="@string/route_steps_plugin_installed"
|
||||
android:textSize="22sp"/>
|
||||
|
||||
</FrameLayout>
|
|
@ -1,7 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<resources><string name="default_buttons_no">Nee</string>
|
||||
<string name="default_buttons_yes">Ja</string>
|
||||
<string name="osmand_app_not_found">OsmAnd is nie geïnstalleer nie</string>
|
||||
<string name="app_name">OsmAnd Parkering</string>
|
||||
<string name="route_steps_plugin_installed">OsmAnd Parkering inlegmodule is geïnstalleer en aangeskakel in OsmAnd verstellings.</string>
|
||||
</resources>
|
|
@ -1,7 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<resources><string name="default_buttons_no">ليس</string>
|
||||
<string name="default_buttons_yes">نعم</string>
|
||||
<string name="osmand_app_not_found">لم يتم تثبيت OsmAnd</string>
|
||||
<string name="app_name">وقوف السيارات</string>
|
||||
<string name="route_steps_plugin_installed">يتم تثبيت البرنامج المساعد OsmAnd وقوف السيارات وتمكينها في إعدادات OsmAnd</string>
|
||||
</resources>
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="default_buttons_no">Не</string>
|
||||
<string name="default_buttons_yes">Да</string>
|
||||
<string name="osmand_app_not_found">Приложението OsmAnd не е инсталирано</string>
|
||||
<string name="app_name">Добавка Parking за OsmAnd</string>
|
||||
<string name="route_steps_plugin_installed">Добавката Parking е инсталирана и включена в настройките на OsmAnd.</string>
|
||||
</resources>
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<resources>
|
||||
<string name="default_buttons_no">Ne</string>
|
||||
<string name="default_buttons_yes">Da</string>
|
||||
<string name="osmand_app_not_found">OsmAnd is not installed</string>
|
||||
<string name="app_name">OsmAnd Parking Plugin</string>
|
||||
<string name="route_steps_plugin_installed">OsmAnd Parking Plugin is installed and enabled in OsmAnd settings.</string>
|
||||
</resources>
|
|
@ -1,7 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<resources><string name="default_buttons_yes">Sí</string>
|
||||
<string name="default_buttons_no">No</string>
|
||||
<string name="osmand_app_not_found">L\'OsmAnd no està instal·lat</string>
|
||||
<string name="app_name">OsmAnd Aparcament</string>
|
||||
<string name="route_steps_plugin_installed">El connector OsmAnd Aparcament està instal·lat i activat a la configuració de l\'OsmAnd.</string>
|
||||
</resources>
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="default_buttons_no">Ne</string>
|
||||
<string name="default_buttons_yes">Ano</string>
|
||||
<string name="osmand_app_not_found">OsmAnd není nainstalován</string>
|
||||
<string name="app_name">OsmAnd parkování</string>
|
||||
<string name="route_steps_plugin_installed">OsmAnd modul parkování je nainstalován a aktivován v nastavení OsmAnd.</string>
|
||||
</resources>
|
|
@ -1,3 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
</resources>
|
|
@ -1,7 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<resources><string name="default_buttons_no">Nej</string>
|
||||
<string name="default_buttons_yes">Ja</string>
|
||||
<string name="osmand_app_not_found">OsmAnd er ikke installeret</string>
|
||||
<string name="app_name">OsmAnd parkering</string>
|
||||
<string name="route_steps_plugin_installed">OsmAnd udvidelsen Parkering er installeret og aktiveret i OsmAnd indstillinger.</string>
|
||||
</resources>
|
|
@ -1,7 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<resources><string name="default_buttons_no">Nein</string>
|
||||
<string name="default_buttons_yes">Ja</string>
|
||||
<string name="osmand_app_not_found">OsmAnd ist nicht installiert</string>
|
||||
<string name="app_name">OsmAnd Parkplatz-Plugin</string>
|
||||
<string name="route_steps_plugin_installed">OsmAnd Parkplatz-Plugin wurde installiert und in den OsmAnd-Einstellungen aktiviert.</string>
|
||||
</resources>
|
|
@ -1,7 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<resources><string name="default_buttons_no">No</string>
|
||||
<string name="default_buttons_yes">Sí</string>
|
||||
<string name="osmand_app_not_found">OsmAnd no está instalado</string>
|
||||
<string name="app_name">Aparcamiento de OsmAnd</string>
|
||||
<string name="route_steps_plugin_installed">El Plugin Aparcamiento de OsmAnd está instalado y activado en la configuración de OsmAnd.</string>
|
||||
</resources>
|
|
@ -1,7 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<resources><string name="default_buttons_no">Ez</string>
|
||||
<string name="default_buttons_yes">Bai</string>
|
||||
<string name="osmand_app_not_found">OsmAnd ez dago instalatuta</string>
|
||||
<string name="app_name">OsmAnd Parking Plugin</string>
|
||||
<string name="route_steps_plugin_installed">OsmAnd Parking Plugin instalatuta eta aktibatuta dago OsmAnd-en konfigurazioan.</string>
|
||||
</resources>
|
|
@ -1,7 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<resources><string name="default_buttons_yes">بله</string>
|
||||
<string name="default_buttons_no">خیر</string>
|
||||
<string name="osmand_app_not_found">OsmAnd نصب نشده است</string>
|
||||
<string name="app_name">پارکینگ OsmAnd</string>
|
||||
<string name="route_steps_plugin_installed">افزونه پارکینگ OsmAnd نصب شده و در تنظیمات OsmAnd فعال شده است.</string>
|
||||
</resources>
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<resources>
|
||||
<string name="default_buttons_no">Ei</string>
|
||||
<string name="default_buttons_yes">Kyllä</string>
|
||||
<string name="osmand_app_not_found">OsmAnd ei ole asennettu</string>
|
||||
<string name="app_name">OsmAnd Parking</string>
|
||||
<string name="route_steps_plugin_installed">OsmAnd Parking lisäosa on asennettu ja aktivoitu OsmAnd:in asetuksista.</string>
|
||||
</resources>
|
|
@ -1,7 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<resources><string name="default_buttons_no">Non</string>
|
||||
<string name="default_buttons_yes">Oui</string>
|
||||
<string name="osmand_app_not_found">OsmAnd n\'est pas installé</string>
|
||||
<string name="app_name">Greffon Parking pour OsmAnd</string>
|
||||
<string name="route_steps_plugin_installed">Le greffon Parking est installé et activé dans les paramètres de OsmAnd.</string>
|
||||
</resources>
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<resources>
|
||||
<string name="default_buttons_no">לא</string>
|
||||
<string name="default_buttons_yes">כן</string>
|
||||
<string name="osmand_app_not_found">התכנית OsmAnd אינה מותקנת</string>
|
||||
<string name="app_name">חנייה עם OsmAnd</string>
|
||||
<string name="route_steps_plugin_installed">תוסף החנייה של OsmAnd מותקן ומופעל בהגדרות של OsmAnd.</string>
|
||||
</resources>
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<resources>
|
||||
<string name="default_buttons_no">नही</string>
|
||||
<string name="default_buttons_yes">हा</string>
|
||||
<string name="osmand_app_not_found">OsmAnd is not installed</string>
|
||||
<string name="app_name">ओएसएमएएनडी पार्किंग प्लगिन</string>
|
||||
<string name="route_steps_plugin_installed">OsmAnd Parking Plugin is installed and enabled in OsmAnd settings.</string>
|
||||
</resources>
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<resources>
|
||||
<string name="default_buttons_no">Ne</string>
|
||||
<string name="default_buttons_yes">Da</string>
|
||||
<string name="osmand_app_not_found">OsmAnd nije instaliran</string>
|
||||
<string name="app_name">OsmAnd Parkiralište</string>
|
||||
<string name="route_steps_plugin_installed">OsmAnd dodatak za parkirališta je instaliran i omogućen u OsmAnd postavkama.</string>
|
||||
</resources>
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="default_buttons_no">Nem</string>
|
||||
<string name="default_buttons_yes">Igen</string>
|
||||
<string name="osmand_app_not_found">Az OsmAnd nincs feltelepítve</string>
|
||||
<string name="app_name">OsmAnd Parkolás</string>
|
||||
<string name="route_steps_plugin_installed">OsmAnd Parkolási Bővítmény feltelepítve és engedélyezve az OsmAnd beállításaiban.</string>
|
||||
</resources>
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="default_buttons_no">No</string>
|
||||
<string name="default_buttons_yes">Yes</string>
|
||||
<string name="osmand_app_not_found">OsmAnd is not installed</string>
|
||||
<string name="app_name">OsmAnd Parking Plugin</string>
|
||||
<string name="route_steps_plugin_installed">OsmAnd Parking Plugin is installed and enabled in OsmAnd settings.</string>
|
||||
</resources>
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="default_buttons_no">No</string>
|
||||
<string name="default_buttons_yes">Yes</string>
|
||||
<string name="osmand_app_not_found">OsmAnd is not installed</string>
|
||||
<string name="app_name">OsmAnd Parking Plugin</string>
|
||||
<string name="route_steps_plugin_installed">OsmAnd Parking Plugin is installed and enabled in OsmAnd settings.</string>
|
||||
</resources>
|
|
@ -1,7 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<resources><string name="default_buttons_no">No</string>
|
||||
<string name="default_buttons_yes">Si</string>
|
||||
<string name="osmand_app_not_found">OsmAnd non è installato</string>
|
||||
<string name="app_name">OsmAnd Parking</string>
|
||||
<string name="route_steps_plugin_installed">Il Plugin Parcheggio per OsmAnd è installato e abilitato nelle impostazioni di OsmAnd.</string>
|
||||
</resources>
|
|
@ -1,7 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<resources><string name="default_buttons_no">いいえ</string>
|
||||
<string name="default_buttons_yes">はい</string>
|
||||
<string name="osmand_app_not_found">OsmAndがインストールされていません</string>
|
||||
<string name="app_name">OsmAnd駐車場</string>
|
||||
<string name="route_steps_plugin_installed">OsmAnd駐車場プラグインはインストールされており、設定は有効です。</string>
|
||||
</resources>
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="default_buttons_no">არა</string>
|
||||
<string name="default_buttons_yes">დიახ</string>
|
||||
<string name="osmand_app_not_found">OsmAnd ჩადგმული არაა</string>
|
||||
<string name="app_name">OsmAnd პარკინგი</string>
|
||||
<string name="route_steps_plugin_installed">OsmAnd-ის პარკინგის დამატება ჩადგმულია და ჩართულია პარამეტრებში.</string>
|
||||
</resources>
|
|
@ -1,7 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<resources><string name="default_buttons_no">Ne</string>
|
||||
<string name="default_buttons_yes">Taip</string>
|
||||
<string name="osmand_app_not_found">OsmAnd programa neįdiegta</string>
|
||||
<string name="app_name">OsmAnd parkavimo įskiepis</string>
|
||||
<string name="route_steps_plugin_installed">OsmAnd Parkavimo įskiepis įdiegiamas ir aktyvuojamas OsmAnd nustatymuose.</string>
|
||||
</resources>
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="default_buttons_no">Nē</string>
|
||||
<string name="default_buttons_yes">Jā</string>
|
||||
<string name="osmand_app_not_found">OsmAnd nav instalēts</string>
|
||||
<string name="app_name">OsmAnd Parkošanās</string>
|
||||
<string name="route_steps_plugin_installed">OsmAnd parkošanās spraudnis ir instalēts un iespējots OsmAnd uzstādījumos.</string>
|
||||
</resources>
|
|
@ -1,3 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<resources>
|
||||
</resources>
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="default_buttons_no">नाही</string>
|
||||
<string name="default_buttons_yes">हो</string>
|
||||
<string name="osmand_app_not_found">ओएसएमएएनडि इन्स्टॉल केलेले नाही</string>
|
||||
<string name="app_name">ओएसएमएएनडि पार्किंग</string>
|
||||
<string name="route_steps_plugin_installed">ओएसएमएएनडि पार्किंग प्लगिन इन्स्टॉल आणि चालू केले आहे.</string>
|
||||
</resources>
|
|
@ -1,7 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<resources><string name="default_buttons_yes">Ja</string>
|
||||
<string name="default_buttons_no">Nei</string>
|
||||
<string name="osmand_app_not_found">OsmAnd er ikke installert</string>
|
||||
<string name="app_name">OsmAnd - parkering</string>
|
||||
<string name="route_steps_plugin_installed">OsmAnd-pluginen er installert og aktivert i innstillingene for OsmAnd.</string>
|
||||
</resources>
|
|
@ -1,7 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<resources><string name="default_buttons_no">Nee</string>
|
||||
<string name="default_buttons_yes">Ja</string>
|
||||
<string name="osmand_app_not_found">OsmAnd is niet geïnstalleerd</string>
|
||||
<string name="app_name">OsmAnd parkeerplugin</string>
|
||||
<string name="route_steps_plugin_installed">OsmAnd parkeerplugin is geïnstalleerd en geactiveerd in de OsmAnd-instellingen.</string>
|
||||
</resources>
|
|
@ -1,7 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<resources><string name="default_buttons_no">Nie</string>
|
||||
<string name="default_buttons_yes">Tak</string>
|
||||
<string name="osmand_app_not_found">Osmand nie jest zainstalowany</string>
|
||||
<string name="app_name">Wtyczka parkowania dla OsmAnd</string>
|
||||
<string name="route_steps_plugin_installed">Wtyczka parkowania jest zainstalowana i włączona w ustawieniach OsmAnd.</string>
|
||||
</resources>
|
|
@ -1,7 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<resources><string name="default_buttons_no">Não</string>
|
||||
<string name="default_buttons_yes">Sim</string>
|
||||
<string name="osmand_app_not_found">Osmand não está instalado</string>
|
||||
<string name="app_name">OsmAnd Parking Plugin</string>
|
||||
<string name="route_steps_plugin_installed">OsmAnd Parking Plugin está instalado e activado nas opções OsmAnd.</string>
|
||||
</resources>
|
|
@ -1,7 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<resources><string name="default_buttons_no">Nu</string>
|
||||
<string name="default_buttons_yes">Da</string>
|
||||
<string name="osmand_app_not_found">OsmAnd nu este instalat</string>
|
||||
<string name="app_name">OsmAnd Parking</string>
|
||||
<string name="route_steps_plugin_installed">Plugin-ul OsmAnd Parking este instalat și activat în setările OsmAnd.</string>
|
||||
</resources>
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<resources>
|
||||
<string name="default_buttons_no">Нет</string>
|
||||
<string name="default_buttons_yes">Да</string>
|
||||
<string name="osmand_app_not_found">OsmAnd не установлен</string>
|
||||
<string name="app_name">Плагин парковки OsmAnd</string>
|
||||
<string name="route_steps_plugin_installed">Плагин парковки установлен и включен в настройках OsmAnd.</string>
|
||||
</resources>
|
|
@ -1,7 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<resources><string name="default_buttons_no">Nono</string>
|
||||
<string name="default_buttons_yes">Eja</string>
|
||||
<string name="osmand_app_not_found">OsmAnd no est installau</string>
|
||||
<string name="app_name">OsmAnd Parchezu</string>
|
||||
<string name="route_steps_plugin_installed">OsmAnd Parchezu est installau e insertau in sas impostaduras de OsmAnd.</string>
|
||||
</resources>
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="default_buttons_no">Nie</string>
|
||||
<string name="default_buttons_yes">Áno</string>
|
||||
<string name="osmand_app_not_found">Aplikácia OsmAnd nie je nainštalovaná</string>
|
||||
<string name="app_name">OsmAnd parkovanie</string>
|
||||
<string name="route_steps_plugin_installed">Parkovací zásuvný modul pre OsmAnd je nainštalovaný a povolený v nastaveniach aplikácie OsmAnd.</string>
|
||||
</resources>
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<resources>
|
||||
<string name="default_buttons_yes">Da</string>
|
||||
<string name="default_buttons_no">Ne</string>
|
||||
<string name="osmand_app_not_found">OsmAnd ni nameščen</string>
|
||||
<string name="app_name">OsmAnd parkiranje</string>
|
||||
<string name="route_steps_plugin_installed">Vtičnik OsmAnd parkiranje je nameščen in omogočen v OsmAnd nastavitvah.</string>
|
||||
</resources>
|
|
@ -1,7 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<resources><string name="default_buttons_no">Jo</string>
|
||||
<string name="default_buttons_yes">Po</string>
|
||||
<string name="osmand_app_not_found">OsmAnd nuk është instaluar</string>
|
||||
<string name="app_name">OsmAnd Parkim</string>
|
||||
<string name="route_steps_plugin_installed">Plugini OsmAnd Parkim është instaluar dhe aktivizuar në OsmAnd settings.</string>
|
||||
</resources>
|
|
@ -1,3 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<resources>
|
||||
</resources>
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<resources>
|
||||
<string name="default_buttons_no">Nej</string>
|
||||
<string name="default_buttons_yes">Ja</string>
|
||||
<string name="osmand_app_not_found">OsmAnd är inte installerad</string>
|
||||
<string name="app_name">OsmAnd - parkering</string>
|
||||
<string name="route_steps_plugin_installed">OsmAnd-pluginen Parkering är installerad och aktiverad i inställningarna för OsmAnd.</string>
|
||||
</resources>
|
|
@ -1,3 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<resources>
|
||||
</resources>
|
|
@ -1,5 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<resources>
|
||||
<string name="default_buttons_yes">Evet</string>
|
||||
<string name="default_buttons_no">Hayır</string>
|
||||
</resources>
|
|
@ -1,7 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<resources><string name="default_buttons_no">Ні</string>
|
||||
<string name="default_buttons_yes">Так</string>
|
||||
<string name="osmand_app_not_found">Osmand не встановлено</string>
|
||||
<string name="app_name">Паркування OsmAnd</string>
|
||||
<string name="route_steps_plugin_installed">Плагін Паркування OsmAnd встановлено та увімкнено у налаштуваннях OsmAnd.</string>
|
||||
</resources>
|
|
@ -1,7 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<resources><string name="default_buttons_yes">是</string>
|
||||
<string name="default_buttons_no">没有</string>
|
||||
<string name="osmand_app_not_found">OsmAnd 未安装</string>
|
||||
<string name="app_name">OsmAnd 停车场</string>
|
||||
<string name="route_steps_plugin_installed">OsmAnd 停车场插件已安装,并已在 OsmAnd 设置中启用。</string>
|
||||
</resources>
|
|
@ -1,7 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<resources><string name="default_buttons_no">否</string>
|
||||
<string name="default_buttons_yes">是</string>
|
||||
<string name="osmand_app_not_found">OsmAnd 並未安裝</string>
|
||||
<string name="route_steps_plugin_installed">OsmAnd 停車場外掛元件已安裝,並且已在 OsmAnd 設定裡啟用。</string>
|
||||
<string name="app_name">OsmAnd 停車場</string>
|
||||
</resources>
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="default_buttons_no">No</string>
|
||||
<string name="default_buttons_yes">Yes</string>
|
||||
<string name="osmand_app_not_found">OsmAnd is not installed</string>
|
||||
<string name="app_name">OsmAnd Route steps</string>
|
||||
<string name="route_steps_plugin_installed">OsmAnd Route Steps Plugin is installed and enabled in OsmAnd settings.</string>
|
||||
</resources>
|
|
@ -1,61 +0,0 @@
|
|||
package net.osmand.routeStepsPlugin;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.app.AlertDialog;
|
||||
import android.content.ActivityNotFoundException;
|
||||
import android.content.ComponentName;
|
||||
import android.content.DialogInterface;
|
||||
import android.content.Intent;
|
||||
import android.content.pm.PackageManager;
|
||||
import android.content.pm.ResolveInfo;
|
||||
import android.net.Uri;
|
||||
import android.os.Bundle;
|
||||
import net.osmand.routeSteps.R;
|
||||
|
||||
public class RouteStepsActivity extends Activity {
|
||||
private static final String OSMAND_COMPONENT = "net.osmand"; //$NON-NLS-1$
|
||||
private static final String OSMAND_COMPONENT_PLUS = "net.osmand.plus"; //$NON-NLS-1$
|
||||
private static final String OSMAND_ACTIVITY = "net.osmand.plus.activities.MainMenuActivity"; //$NON-NLS-1$
|
||||
|
||||
/** Called when the activity is first created. */
|
||||
@Override
|
||||
public void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.main);
|
||||
|
||||
Intent intentPlus = new Intent();
|
||||
intentPlus.setComponent(new ComponentName(OSMAND_COMPONENT_PLUS, OSMAND_ACTIVITY));
|
||||
intentPlus.setFlags(Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED);
|
||||
ResolveInfo resolved = getPackageManager().resolveActivity(intentPlus, PackageManager.MATCH_DEFAULT_ONLY);
|
||||
if(resolved != null) {
|
||||
stopService(intentPlus);
|
||||
startActivity(intentPlus);
|
||||
} else {
|
||||
Intent intentNormal = new Intent();
|
||||
intentNormal.setFlags(Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED);
|
||||
intentNormal.setComponent(new ComponentName(OSMAND_COMPONENT, OSMAND_ACTIVITY));
|
||||
resolved = getPackageManager().resolveActivity(intentNormal, PackageManager.MATCH_DEFAULT_ONLY);
|
||||
if (resolved != null) {
|
||||
stopService(intentNormal);
|
||||
startActivity(intentNormal);
|
||||
} else {
|
||||
AlertDialog.Builder builder = new AlertDialog.Builder(this);
|
||||
builder.setMessage(getString(R.string.osmand_app_not_found));
|
||||
builder.setPositiveButton(getString(R.string.default_buttons_yes), new DialogInterface.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(DialogInterface dialog, int which) {
|
||||
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("market://search?q=pname:" + OSMAND_COMPONENT_PLUS));
|
||||
try {
|
||||
stopService(intent);
|
||||
startActivity(intent);
|
||||
} catch (ActivityNotFoundException e) {
|
||||
}
|
||||
}
|
||||
});
|
||||
builder.setNegativeButton(getString(R.string.default_buttons_no), null);
|
||||
builder.show();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|