├── app ├── .idea │ ├── .name │ ├── copyright │ │ └── profiles_settings.xml │ ├── scopes │ │ └── scope_settings.xml │ ├── encodings.xml │ ├── vcs.xml │ ├── misc.xml │ ├── modules.xml │ ├── compiler.xml │ ├── app.iml │ └── workspace.xml ├── src │ ├── main │ │ ├── logo-web.png │ │ ├── ic_stat_gcm-web.png │ │ ├── res │ │ │ ├── mipmap-hdpi │ │ │ │ ├── logo.png │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_stat_gcm.png │ │ │ ├── mipmap-mdpi │ │ │ │ ├── logo.png │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_stat_gcm.png │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── logo.png │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_stat_gcm.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── logo.png │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_stat_gcm.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── logo.png │ │ │ │ └── ic_stat_gcm.png │ │ │ ├── drawable-hdpi │ │ │ │ ├── ic_action.png │ │ │ │ ├── ic_error.png │ │ │ │ ├── ic_info.png │ │ │ │ └── ic_stat_gcm.png │ │ │ ├── drawable-ldpi │ │ │ │ ├── ic_action.png │ │ │ │ ├── ic_error.png │ │ │ │ └── ic_info.png │ │ │ ├── drawable-mdpi │ │ │ │ ├── ic_action.png │ │ │ │ ├── ic_error.png │ │ │ │ ├── ic_info.png │ │ │ │ └── ic_stat_gcm.png │ │ │ ├── drawable-xhdpi │ │ │ │ ├── ic_error.png │ │ │ │ ├── ic_info.png │ │ │ │ ├── ic_action.png │ │ │ │ └── ic_stat_gcm.png │ │ │ ├── drawable-xxhdpi │ │ │ │ ├── ic_info.png │ │ │ │ ├── ic_action.png │ │ │ │ ├── ic_error.png │ │ │ │ └── ic_stat_gcm.png │ │ │ ├── values │ │ │ │ ├── styles.xml │ │ │ │ ├── dimens.xml │ │ │ │ ├── strings.xml │ │ │ │ └── strings_activity_settings.xml │ │ │ ├── values-w820dp │ │ │ │ └── dimens.xml │ │ │ ├── menu │ │ │ │ └── menu_main.xml │ │ │ ├── xml │ │ │ │ ├── pref_headers.xml │ │ │ │ ├── pref_data_sync.xml │ │ │ │ ├── pref_notification.xml │ │ │ │ └── pref_general.xml │ │ │ └── layout │ │ │ │ ├── activity_main.xml │ │ │ │ └── row_layout.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── pcortex │ │ │ │ └── pcgmclient │ │ │ │ ├── GcmBroadcastReceiver.java │ │ │ │ ├── PackageReplacedReceiver.java │ │ │ │ ├── GcmUpgradePackageIntentService.java │ │ │ │ ├── AppAdapter.java │ │ │ │ ├── AppSettings.java │ │ │ │ ├── AppFunctions.java │ │ │ │ ├── MainActivity.java │ │ │ │ ├── GcmNotificationIntentService.java │ │ │ │ ├── BackendTask.java │ │ │ │ └── SettingsActivity.java │ │ └── AndroidManifest.xml │ └── androidTest │ │ └── java │ │ └── com │ │ └── pcortex │ │ └── pcgmclient │ │ └── ApplicationTest.java ├── proguard-rules.pro ├── build.gradle └── app.iml ├── settings.gradle ├── gradle ├── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties └── gradle.iml ├── .gitignore ├── README.md ├── PCGMClient.iml ├── gradle.properties ├── gradlew.bat └── gradlew /app/.idea/.name: -------------------------------------------------------------------------------- 1 | app -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | -------------------------------------------------------------------------------- /app/src/main/logo-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fcgdam/PGCMClient/master/app/src/main/logo-web.png -------------------------------------------------------------------------------- /app/.idea/copyright/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /app/src/main/ic_stat_gcm-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fcgdam/PGCMClient/master/app/src/main/ic_stat_gcm-web.png -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fcgdam/PGCMClient/master/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fcgdam/PGCMClient/master/app/src/main/res/mipmap-hdpi/logo.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fcgdam/PGCMClient/master/app/src/main/res/mipmap-mdpi/logo.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fcgdam/PGCMClient/master/app/src/main/res/mipmap-xhdpi/logo.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fcgdam/PGCMClient/master/app/src/main/res/mipmap-xxhdpi/logo.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fcgdam/PGCMClient/master/app/src/main/res/mipmap-xxxhdpi/logo.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_action.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fcgdam/PGCMClient/master/app/src/main/res/drawable-hdpi/ic_action.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fcgdam/PGCMClient/master/app/src/main/res/drawable-hdpi/ic_error.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fcgdam/PGCMClient/master/app/src/main/res/drawable-hdpi/ic_info.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-ldpi/ic_action.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fcgdam/PGCMClient/master/app/src/main/res/drawable-ldpi/ic_action.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-ldpi/ic_error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fcgdam/PGCMClient/master/app/src/main/res/drawable-ldpi/ic_error.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-ldpi/ic_info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fcgdam/PGCMClient/master/app/src/main/res/drawable-ldpi/ic_info.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_action.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fcgdam/PGCMClient/master/app/src/main/res/drawable-mdpi/ic_action.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fcgdam/PGCMClient/master/app/src/main/res/drawable-mdpi/ic_error.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fcgdam/PGCMClient/master/app/src/main/res/drawable-mdpi/ic_info.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fcgdam/PGCMClient/master/app/src/main/res/drawable-xhdpi/ic_error.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fcgdam/PGCMClient/master/app/src/main/res/drawable-xhdpi/ic_info.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fcgdam/PGCMClient/master/app/src/main/res/drawable-xxhdpi/ic_info.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fcgdam/PGCMClient/master/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_stat_gcm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fcgdam/PGCMClient/master/app/src/main/res/mipmap-hdpi/ic_stat_gcm.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fcgdam/PGCMClient/master/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_stat_gcm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fcgdam/PGCMClient/master/app/src/main/res/mipmap-mdpi/ic_stat_gcm.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_stat_gcm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fcgdam/PGCMClient/master/app/src/main/res/drawable-hdpi/ic_stat_gcm.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_stat_gcm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fcgdam/PGCMClient/master/app/src/main/res/drawable-mdpi/ic_stat_gcm.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_action.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fcgdam/PGCMClient/master/app/src/main/res/drawable-xhdpi/ic_action.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_action.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fcgdam/PGCMClient/master/app/src/main/res/drawable-xxhdpi/ic_action.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fcgdam/PGCMClient/master/app/src/main/res/drawable-xxhdpi/ic_error.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fcgdam/PGCMClient/master/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_stat_gcm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fcgdam/PGCMClient/master/app/src/main/res/mipmap-xhdpi/ic_stat_gcm.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fcgdam/PGCMClient/master/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_stat_gcm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fcgdam/PGCMClient/master/app/src/main/res/mipmap-xxhdpi/ic_stat_gcm.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_stat_gcm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fcgdam/PGCMClient/master/app/src/main/res/drawable-xhdpi/ic_stat_gcm.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_stat_gcm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fcgdam/PGCMClient/master/app/src/main/res/drawable-xxhdpi/ic_stat_gcm.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_stat_gcm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fcgdam/PGCMClient/master/app/src/main/res/mipmap-xxxhdpi/ic_stat_gcm.png -------------------------------------------------------------------------------- /app/.idea/scopes/scope_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | -------------------------------------------------------------------------------- /app/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /app/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Wed Apr 10 15:27:10 PDT 2013 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip 7 | -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16dp 4 | 16dp 5 | 6 | 300dp 7 | 8 | -------------------------------------------------------------------------------- /app/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 64dp 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/menu/menu_main.xml: -------------------------------------------------------------------------------- 1 | 4 | 6 | 7 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Built application files 2 | *.apk 3 | *.ap_ 4 | 5 | # Files for the Dalvik VM 6 | *.dex 7 | 8 | # Java class files 9 | *.class 10 | 11 | # Generated files 12 | bin/ 13 | gen/ 14 | 15 | # Gradle files 16 | .gradle/ 17 | build/ 18 | 19 | # Local configuration file (sdk path, etc) 20 | local.properties 21 | 22 | # Proguard folder generated by Eclipse 23 | proguard/ 24 | 25 | # Log Files 26 | *.log 27 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # PGCMClient 2 | Google Cloud Messaging Generic Client 3 | 4 | # Purpose 5 | 6 | This is an Android application based on Google GCM client sample, that doesn't need to be compiled to use GCM. 7 | On the application settings it is possible to define the Project ID key that is needed to establish a connection to Google GCM servers. 8 | Also it also calls a back end server where it publish it's GCM registration ID. That server can be anything. 9 | -------------------------------------------------------------------------------- /app/src/androidTest/java/com/pcortex/pcgmclient/ApplicationTest.java: -------------------------------------------------------------------------------- 1 | package com.pcortex.pcgmclient; 2 | 3 | import android.app.Application; 4 | import android.test.ApplicationTestCase; 5 | 6 | /** 7 | * Testing Fundamentals 8 | */ 9 | public class ApplicationTest extends ApplicationTestCase { 10 | public ApplicationTest() { 11 | super(Application.class); 12 | } 13 | } -------------------------------------------------------------------------------- /gradle/gradle.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /app/src/main/res/xml/pref_headers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |
7 | 8 |
11 | 12 | 15 | 16 | -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /opt/adt-bundle-linux-x86_64-20140702/sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | 3 | android { 4 | compileSdkVersion 21 5 | buildToolsVersion "21.1.2" 6 | 7 | defaultConfig { 8 | applicationId "com.pcortex.pcgmclient" 9 | minSdkVersion 18 10 | targetSdkVersion 18 11 | versionCode 1 12 | versionName "1.0" 13 | } 14 | buildTypes { 15 | release { 16 | minifyEnabled false 17 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 18 | } 19 | } 20 | } 21 | 22 | dependencies { 23 | compile fileTree(dir: 'libs', include: ['*.jar']) 24 | compile 'com.android.support:support-v4:20+' 25 | compile 'com.google.android.gms:play-services:6.5.87' 26 | compile 'com.android.support:appcompat-v7:21.0.3' 27 | } 28 | -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | GCM Generic Client 3 | 4 | Hello world! 5 | Settings 6 | Send 7 | Clear 8 | Info 9 | Error 10 | Unknown 11 | 12 | 13 | Welcome 14 | Important Information 15 | 16 | 17 | 18 | Generic GCM Client 19 | Please make sure that Project ID is defined 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /app/.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /PCGMClient.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m 13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 14 | 15 | # When configured, Gradle will run in incubating parallel mode. 16 | # This option should only be used with decoupled projects. More details, visit 17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 18 | # org.gradle.parallel=true -------------------------------------------------------------------------------- /app/src/main/java/com/pcortex/pcgmclient/GcmBroadcastReceiver.java: -------------------------------------------------------------------------------- 1 | package com.pcortex.pcgmclient; 2 | 3 | import android.app.Activity; 4 | import android.content.ComponentName; 5 | import android.content.Context; 6 | import android.content.Intent; 7 | import android.support.v4.content.WakefulBroadcastReceiver; 8 | 9 | /** 10 | * Created by fdam on 10-03-2015. 11 | */ 12 | public class GcmBroadcastReceiver extends WakefulBroadcastReceiver { 13 | 14 | @Override 15 | public void onReceive(Context context, Intent intent) { 16 | // Explicitly specify that GcmIntentService will handle the intent. 17 | ComponentName comp = new ComponentName(context.getPackageName(), 18 | GcmNotificationIntentService.class.getName()); 19 | 20 | // Start the service, keeping the device awake while it is launching. 21 | startWakefulService(context, intent.setComponent(comp)); 22 | setResultCode(Activity.RESULT_OK); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /app/src/main/res/xml/pref_data_sync.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 14 | 15 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /app/src/main/java/com/pcortex/pcgmclient/PackageReplacedReceiver.java: -------------------------------------------------------------------------------- 1 | package com.pcortex.pcgmclient; 2 | 3 | import android.app.Activity; 4 | import android.content.ComponentName; 5 | import android.content.Context; 6 | import android.content.Intent; 7 | import android.support.v4.content.WakefulBroadcastReceiver; 8 | 9 | /** 10 | * Created by fdam on 13-03-2015. 11 | */ 12 | public class PackageReplacedReceiver extends WakefulBroadcastReceiver { 13 | 14 | @Override 15 | public void onReceive(Context context, Intent intent) { 16 | if (intent != null && intent.getAction().equals(Intent.ACTION_MY_PACKAGE_REPLACED)) { 17 | // Explicitly specify that GcmIntentService will handle the intent. 18 | ComponentName comp = new ComponentName(context.getPackageName(), 19 | GcmUpgradePackageIntentService.class.getName()); 20 | 21 | // Start the service, keeping the device awake while it is launching. 22 | startWakefulService(context, intent.setComponent(comp)); 23 | 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /app/.idea/app.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /app/src/main/res/xml/pref_notification.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 9 | 10 | 11 | 12 | 13 | 19 | 20 | 21 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 8 | 13 | 14 |