diff --git a/OpenPods/.idea/dictionaries/Electric.xml b/OpenPods/.idea/dictionaries/Electric.xml
index 4da9183..df948aa 100644
--- a/OpenPods/.idea/dictionaries/Electric.xml
+++ b/OpenPods/.idea/dictionaries/Electric.xml
@@ -3,6 +3,8 @@
airpod
airpods
+ dgrey
+ uuids
\ No newline at end of file
diff --git a/OpenPods/app/src/main/AndroidManifest.xml b/OpenPods/app/src/main/AndroidManifest.xml
index 7b3f096..b19161c 100644
--- a/OpenPods/app/src/main/AndroidManifest.xml
+++ b/OpenPods/app/src/main/AndroidManifest.xml
@@ -8,6 +8,7 @@
+
+ android:supportsRtl="true"
+ android:theme="@style/AppTheme">
-
+
@@ -30,10 +33,15 @@
+ android:label="@string/about"
+ android:launchMode="singleTop"
+ android:parentActivityName=".SettingsActivity" />
+ android:name=".SettingsActivity"
+ android:label="@string/settings"
+ android:launchMode="singleTop"
+ android:parentActivityName=".MainActivity" />
= Build.VERSION_CODES.O) { //on oreo and newer, create a notification channel
+ // On Oreo (API27) and newer, create a notification channel.
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
NotificationChannel channel = new NotificationChannel(TAG, TAG, NotificationManager.IMPORTANCE_LOW);
+ channel.setSound(null, null);
channel.enableVibration(false);
channel.enableLights(false);
channel.setShowBadge(true);
@@ -312,6 +315,12 @@ public class PodsService extends Service {
mBuilder.setOngoing(true);
mBuilder.setSmallIcon(R.mipmap.notification_icon);
+ /*
+ // Adding a pending intent that would open the app if the user clicks on the notification.
+ PendingIntent pendingIntent = PendingIntent.getActivity(getApplicationContext(), 0, new Intent(getApplicationContext(), MainActivity.class), PendingIntent.FLAG_UPDATE_CURRENT);
+ mBuilder.setContentIntent(pendingIntent);
+ */
+
//noinspection InfiniteLoopStatement
for (; ; ) {
/*&&System.currentTimeMillis()-lastSeenConnected
+
+
diff --git a/OpenPods/app/src/main/res/drawable/ic_check_dgrey_48dp.xml b/OpenPods/app/src/main/res/drawable/ic_check_dgrey_48dp.xml
index 73ee4ab..13c3931 100644
--- a/OpenPods/app/src/main/res/drawable/ic_check_dgrey_48dp.xml
+++ b/OpenPods/app/src/main/res/drawable/ic_check_dgrey_48dp.xml
@@ -1,7 +1,7 @@
+ android:paddingTop="32dp">
+ android:layout_marginBottom="8dp"
+ android:text="@string/supportedDevicesTitle"
+ android:textSize="17sp" />
+ android:text="@string/supportedDevicesItems" />
+
+
diff --git a/OpenPods/app/src/main/res/layout/location_disabled_big.xml b/OpenPods/app/src/main/res/layout/location_disabled_big.xml
index 21363ea..ef3cbd7 100644
--- a/OpenPods/app/src/main/res/layout/location_disabled_big.xml
+++ b/OpenPods/app/src/main/res/layout/location_disabled_big.xml
@@ -2,7 +2,6 @@
@@ -11,6 +10,6 @@
android:layout_height="match_parent"
android:gravity="center"
android:text="@string/locationDisabledText"
- android:textColor="@color/black" />
+ android:textColor="@color/textColorPrimary" />
diff --git a/OpenPods/app/src/main/res/layout/location_disabled_small.xml b/OpenPods/app/src/main/res/layout/location_disabled_small.xml
index 1f5b573..bd4c2bb 100644
--- a/OpenPods/app/src/main/res/layout/location_disabled_small.xml
+++ b/OpenPods/app/src/main/res/layout/location_disabled_small.xml
@@ -2,7 +2,6 @@
@@ -11,6 +10,6 @@
android:layout_height="match_parent"
android:gravity="center"
android:text="@string/locationDisabledText"
- android:textColor="@color/black" />
+ android:textColor="@color/textColorPrimary" />
diff --git a/OpenPods/app/src/main/res/layout/status_big.xml b/OpenPods/app/src/main/res/layout/status_big.xml
index f5b54c9..b245565 100644
--- a/OpenPods/app/src/main/res/layout/status_big.xml
+++ b/OpenPods/app/src/main/res/layout/status_big.xml
@@ -3,7 +3,6 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:background="@color/white"
android:gravity="center"
android:padding="12dp"
tools:ignore="RtlHardcoded,ContentDescription">
@@ -12,7 +11,7 @@
android:id="@+id/leftPod"
android:layout_width="60dp"
android:layout_height="wrap_content"
- android:layout_alignParentStart="true"
+ android:layout_alignParentLeft="true"
android:layout_alignParentTop="true">
+ android:textColor="@color/textColorPrimary" />
+
+
+ android:textColor="@color/textColorPrimary" />
+
+
+ android:textColor="@color/textColorPrimary" />
+
+
@@ -12,7 +11,7 @@
android:id="@+id/leftPod"
android:layout_width="80dp"
android:layout_height="30dp"
- android:layout_alignParentStart="true"
+ android:layout_alignParentLeft="true"
android:layout_alignParentTop="true">
+ android:textColor="@color/textColorPrimary" />
+
+
+ android:textColor="@color/textColorPrimary" />
+
+
+ android:textColor="@color/textColorPrimary" />
+
+
Diese App erlaubt es dir, den Status deiner AirPods auf einem beliebigen Android-Gerät zu überprüfen
Für den Dienst benötigen wir die Berechtigung zur Verwendung von Bluetooth LE (Standort) und die Berechtigung zum Betrieb im Hintergrund
Erlauben
- Die App zeigt eine Benachrichtigung, wenn deine AirPods verbunden sind
- Du kannst die App jetzt verstecken, wenn du möchtest
+ Die App zeigt eine Benachrichtigung, wenn deine AirPods verbunden sind
+ Du kannst die App jetzt verstecken, wenn du möchtest
Einstellungen
Es sieht so aus, als hätte dieses Gerät kein Bluetooth LE
Du musst Standortinformationen aktivieren, damit OpenPods den Status deiner AirPods auslesen kann
- Unterstützte Geräte:\n• Apple AirPods 1\n• Apple AirPods 2\n• Apple AirPods Pro
+ Unterstützte Geräte:
+ • Apple AirPods 1st gen\n• Apple AirPods 2nd gen\n• Apple AirPods Pro
App verstecken
Das Icon wird bald verschwinden
diff --git a/OpenPods/app/src/main/res/values-es/strings.xml b/OpenPods/app/src/main/res/values-es/strings.xml
index 3b66438..4e20cad 100644
--- a/OpenPods/app/src/main/res/values-es/strings.xml
+++ b/OpenPods/app/src/main/res/values-es/strings.xml
@@ -1,14 +1,16 @@
+
Esta aplicación te permite ver el estado de tus AirPods en cualquier dispositivo Android.
Para operar necesitamos permiso para usar Bluetooth LE (Localización) y permiso para ejecutar la app en segundo plano.
Permitir
- Esta aplicación mostrará una notificación cuando tus AirPods estén conectados.
- Puedes ocultar la app si lo prefieres.
+ Esta aplicación mostrará una notificación cuando tus AirPods estén conectados.
+ Puedes ocultar la app si lo prefieres.
Ajustes
Parece que éste dispositivo no tiene Bluetooth LE.
Necesitas activar la Localización para permitir que OpenPods lea el estado.
- Dispositivos compatibles:\n• Apple AirPods 1ª generación\n• Apple AirPods 2ª generación\n• Apple AirPods Pro
+ Dispositivos compatibles:
+ • Apple AirPods 1ª generación\n• Apple AirPods 2ª generación\n• Apple AirPods Pro
Ocultar app
El icono desaparecerá pronto
diff --git a/OpenPods/app/src/main/res/values-it/strings.xml b/OpenPods/app/src/main/res/values-it/strings.xml
index 394cd05..e097b51 100644
--- a/OpenPods/app/src/main/res/values-it/strings.xml
+++ b/OpenPods/app/src/main/res/values-it/strings.xml
@@ -3,13 +3,14 @@
Questa app consente di monitorare lo stato delle tue AirPods su Android
Per funzionare, abbiamo bisogno dei permessi per Bluetooth LE (Posizione) e di esecuzione in background
Consenti
- L\'app mostrerà una notifica quando le tue AirPods sono connesse
- Puoi nascondere l\'app se vuoi
+ L\'app mostrerà una notifica quando le tue AirPods sono connesse
+ Puoi nascondere l\'app se vuoi
Impostazioni
Questo dispositivo non supporta Bluetooth LE
Attiva la posizione per permttere a OpenPods di leggere lo stato
- Dispositivi supportati:\n• Apple AirPods 1st gen\n• Apple AirPods 2nd gen\n• Apple AirPods Pro
+ Dispositivi supportati:
+ • Apple AirPods 1st gen\n• Apple AirPods 2nd gen\n• Apple AirPods Pro
Nascondi app
L\'icona sarà rimossa presto
diff --git a/OpenPods/app/src/main/res/values-iw-rIL/strings.xml b/OpenPods/app/src/main/res/values-iw-rIL/strings.xml
new file mode 100644
index 0000000..d6aa895
--- /dev/null
+++ b/OpenPods/app/src/main/res/values-iw-rIL/strings.xml
@@ -0,0 +1,25 @@
+
+
+ אפליקציה זו מאפשרת לך לבדוק את המצב של האיירפודס שלך מכל מכשיר אנדרואיד
+ כדי שאפליקציה זו תוכל לדפקד, הינך צריך לאפשר גישה ל-Bluetooth LE (מיקום) ולריצה בקרע
+ אפשר
+ האפליקציה תשלח התראה כאשר האיירפודס מחוברות
+ אתה יכול להסתיר אפליקציה זו
+ הגדרות
+
+ נראה כי מכשיר זה אינו תומך ב-Bluetooth LE
+ אתה צריך להפעיל שיתוף מקום בכדי לאפשר ל-OpenPods לקרוא את סטטוס האוזניות
+ מכשירים נתמכים
+ • אפל איירפודס דור ראשון \n• אפל איירפודס דור שני \n• אפל איירפודס פרו
+
+ הסתר אפליקציה
+ האייקון יעלם בקרוב
+ חיסכון בסוללה (לא מומלץ)
+ הפעל זאת אם Bluetooth משתמש בהרבה סוללה
+ אודות
+
+ פותח על ידי פדריקו דוסנה
+ אתר המפתח
+ Github
+ תרומהS
+
diff --git a/OpenPods/app/src/main/res/values-night/colors.xml b/OpenPods/app/src/main/res/values-night/colors.xml
new file mode 100644
index 0000000..bc34083
--- /dev/null
+++ b/OpenPods/app/src/main/res/values-night/colors.xml
@@ -0,0 +1,11 @@
+
+
+ #448AFF
+ #0D47A1
+ #448AFF
+ #FFFFFF
+
+ #FFFFFF
+ #000000
+ @android:color/darker_gray
+
diff --git a/OpenPods/app/src/main/res/values-nl/strings.xml b/OpenPods/app/src/main/res/values-nl/strings.xml
index a652225..8ee3dee 100644
--- a/OpenPods/app/src/main/res/values-nl/strings.xml
+++ b/OpenPods/app/src/main/res/values-nl/strings.xml
@@ -1,15 +1,16 @@
+
- OpenPods
Met deze app kun je de status van je AirPods bekijken op elk Android-apparaat
De app heeft toegang nodig tot Bluetooth LE (locatie), en moet op de achtergrond worden uitgevoerd
Toestaan
- De app toont een melding zodra je je AirPods verbindt
- Als je wilt, kun je deze app verbergen
+ De app toont een melding zodra je je AirPods verbindt
+ Als je wilt, kun je deze app verbergen
Instellingen
Het lijkt erop dat dit apparaat niet beschikt over Bluetooth LE
Schakel je locatie in zodat OpenPods de status kan uitlezen
- Ondersteunde apparaten:\n• Apple AirPods 1e gen.\n• Apple AirPods 2e gen.\n• Apple AirPods Pro
+ Ondersteunde apparaten:
+ • Apple AirPods 1e gen\n• Apple AirPods 2e gen\n• Apple AirPods Pro
App verbergen
Het pictogram verdwijnt spoedig
@@ -21,5 +22,4 @@
Website
GitHub
Doneren
-
diff --git a/OpenPods/app/src/main/res/values-ru/strings.xml b/OpenPods/app/src/main/res/values-ru/strings.xml
index bcc5080..e5a478a 100644
--- a/OpenPods/app/src/main/res/values-ru/strings.xml
+++ b/OpenPods/app/src/main/res/values-ru/strings.xml
@@ -1,14 +1,16 @@
+
Это приложение позволяет Вам проверить статус ваших AirPods на любом Android-устройстве
Для работы нам нужно Bluetooth LE(местоположение) и разрешение на запуск в фоновом режиме
Разрешить
- Приложение покажет уведомление, когда будет установлено соединение с AirPods
- Вы можете скрыть это приложение, если хотите
+ Приложение покажет уведомление, когда будет установлено соединение с AirPods
+ Вы можете скрыть это приложение, если хотите
Настройки
Похоже, что Bluetooth LE не поддерживается на Вашем устройстве
Вам нужно включить местоположение, чтобы разрешить OpenPods читать статус
- Поддерживаемые устройства:\n• Apple AirPods 1st gen\n• Apple AirPods 2nd gen\n• Apple AirPods Pro
+ Поддерживаемые устройства:
+ • Apple AirPods 1st gen\n• Apple AirPods 2nd gen\n• Apple AirPods Pro
Скрыть приложение
Иконка скоро исчезнет
@@ -20,5 +22,4 @@
Сайт
Github
Поддержать
-
diff --git a/OpenPods/app/src/main/res/values-uk/strings.xml b/OpenPods/app/src/main/res/values-uk/strings.xml
index a8f3a96..f0b8765 100644
--- a/OpenPods/app/src/main/res/values-uk/strings.xml
+++ b/OpenPods/app/src/main/res/values-uk/strings.xml
@@ -1,16 +1,16 @@
- OpenPods
Цей додаток дозволяє Вам перевірити статус ваших AirPods на будь-якому Android-пристрої
Для роботи ми використовуємо Bluetooth LE (місцезнаходження) та дозвіл на роботу додатку в фоновому режимі
Дозволити
- Цей додаток покаже сповіщення, коли Ваші AirPods будуть підключені
- Ви можете сховати цей додаток, якщо бажаєте
+ Цей додаток покаже сповіщення, коли Ваші AirPods будуть підключені
+ Ви можете сховати цей додаток, якщо бажаєте
Налаштування
Схоже, що цей пристрій не підтримує Bluetooth LE
Вам потрібно ввімкнути місцезнаходження, для того, щоб дозволити OpenPods читати статус
- Supported devices:\n• Apple AirPods 1st gen\n• Apple AirPods 2nd gen\n• Apple AirPods Pro
+ Supported devices:
+ • Apple AirPods 1st gen\n• Apple AirPods 2nd gen\n• Apple AirPods Pro
Сховати додаток
Іконка скоро зникне
@@ -22,5 +22,4 @@
Сайт
Github
Підтримати
-
diff --git a/OpenPods/app/src/main/res/values-zh-rCN/strings.xml b/OpenPods/app/src/main/res/values-zh-rCN/strings.xml
index 701a63b..b7f4c47 100644
--- a/OpenPods/app/src/main/res/values-zh-rCN/strings.xml
+++ b/OpenPods/app/src/main/res/values-zh-rCN/strings.xml
@@ -3,13 +3,14 @@
此应用可以让您在任何安卓设备上查看 AirPods 的状态
我们需要蓝牙、定位以及在后台运行的权限来正常运作
允许
- 当您的 AirPods 接入时,我们会在通知栏显示通知
- 您可以隐藏此应用
+ 当您的 AirPods 接入时,我们会在通知栏显示通知
+ 您可以隐藏此应用
Settings
看起来您的设备并不支持蓝牙
您需要开启定位来让 OpenPods 读取状态
- 支持的设备:\n• Apple AirPods 一代\n• Apple AirPods 二代\n• Apple AirPods Pro
+ 支持的设备:
+ • Apple AirPods 一代\n• Apple AirPods 二代\n• Apple AirPods Pro
隐藏
桌面图标很快就会被隐藏掉
diff --git a/OpenPods/app/src/main/res/values/colors.xml b/OpenPods/app/src/main/res/values/colors.xml
index 78a51c8..bfbf423 100644
--- a/OpenPods/app/src/main/res/values/colors.xml
+++ b/OpenPods/app/src/main/res/values/colors.xml
@@ -3,7 +3,9 @@
#448AFF
#0D47A1
#448AFF
+ #000000
- #FFF
- #000
+ #FFFFFF
+ #000000
+ #737373
diff --git a/OpenPods/app/src/main/res/values/strings.xml b/OpenPods/app/src/main/res/values/strings.xml
index 8edbd5a..1475ca1 100644
--- a/OpenPods/app/src/main/res/values/strings.xml
+++ b/OpenPods/app/src/main/res/values/strings.xml
@@ -1,15 +1,17 @@
+
OpenPods
This app lets you check the status of your AirPods on any Android device
To operate, we need permission to use Bluetooth LE (Location) and permission to run in background
Allow
- The app will show a notification when your AirPods are connected
- You can hide this app if you want
+ The app will show a notification when your AirPods are connected
+ You can hide this app if you want
Settings
It looks like this device doesn\'t have Bluetooth LE
You need to turn on Location to allow OpenPods to read the status
- Supported devices:\n• Apple AirPods 1st gen\n• Apple AirPods 2nd gen\n• Apple AirPods Pro
+ Supported devices:
+ • Apple AirPods 1st gen\n• Apple AirPods 2nd gen\n• Apple AirPods Pro
Hide app
The icon will disappear soon
@@ -21,5 +23,4 @@
Website
Github
Donate
-
diff --git a/OpenPods/app/src/main/res/values/styles.xml b/OpenPods/app/src/main/res/values/styles.xml
index fdc037f..270a02f 100644
--- a/OpenPods/app/src/main/res/values/styles.xml
+++ b/OpenPods/app/src/main/res/values/styles.xml
@@ -1,6 +1,6 @@
-
-
-
-
-
diff --git a/OpenPods/app/src/main/res/xml/backup_descriptor.xml b/OpenPods/app/src/main/res/xml/backup_descriptor.xml
new file mode 100644
index 0000000..0968891
--- /dev/null
+++ b/OpenPods/app/src/main/res/xml/backup_descriptor.xml
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file