diff --git a/.gitignore b/.gitignore
index 7609d89..b79083b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,5 +10,5 @@ coverage
.lock-wscript
build/Release
node_modules
-client/.gradle/*
-client/.idea/*
+.gradle
+.idea
diff --git a/client/.gradle/5.1.1/executionHistory/executionHistory.bin b/client/.gradle/5.1.1/executionHistory/executionHistory.bin
deleted file mode 100644
index eeea2a8..0000000
Binary files a/client/.gradle/5.1.1/executionHistory/executionHistory.bin and /dev/null differ
diff --git a/client/.gradle/5.1.1/executionHistory/executionHistory.lock b/client/.gradle/5.1.1/executionHistory/executionHistory.lock
deleted file mode 100644
index 641e13f..0000000
Binary files a/client/.gradle/5.1.1/executionHistory/executionHistory.lock and /dev/null differ
diff --git a/client/.gradle/5.1.1/fileChanges/last-build.bin b/client/.gradle/5.1.1/fileChanges/last-build.bin
deleted file mode 100644
index f76dd23..0000000
Binary files a/client/.gradle/5.1.1/fileChanges/last-build.bin and /dev/null differ
diff --git a/client/.gradle/5.1.1/fileContent/fileContent.lock b/client/.gradle/5.1.1/fileContent/fileContent.lock
deleted file mode 100644
index 014ef9c..0000000
Binary files a/client/.gradle/5.1.1/fileContent/fileContent.lock and /dev/null differ
diff --git a/client/.gradle/5.1.1/fileHashes/fileHashes.bin b/client/.gradle/5.1.1/fileHashes/fileHashes.bin
deleted file mode 100644
index 075bf5d..0000000
Binary files a/client/.gradle/5.1.1/fileHashes/fileHashes.bin and /dev/null differ
diff --git a/client/.gradle/5.1.1/fileHashes/fileHashes.lock b/client/.gradle/5.1.1/fileHashes/fileHashes.lock
deleted file mode 100644
index 9fd216f..0000000
Binary files a/client/.gradle/5.1.1/fileHashes/fileHashes.lock and /dev/null differ
diff --git a/client/.gradle/5.1.1/fileHashes/resourceHashesCache.bin b/client/.gradle/5.1.1/fileHashes/resourceHashesCache.bin
deleted file mode 100644
index f6b02c4..0000000
Binary files a/client/.gradle/5.1.1/fileHashes/resourceHashesCache.bin and /dev/null differ
diff --git a/client/.gradle/5.1.1/gc.properties b/client/.gradle/5.1.1/gc.properties
deleted file mode 100644
index e69de29..0000000
diff --git a/client/.gradle/5.1.1/javaCompile/classAnalysis.bin b/client/.gradle/5.1.1/javaCompile/classAnalysis.bin
deleted file mode 100644
index 13c7dd3..0000000
Binary files a/client/.gradle/5.1.1/javaCompile/classAnalysis.bin and /dev/null differ
diff --git a/client/.gradle/5.1.1/javaCompile/javaCompile.lock b/client/.gradle/5.1.1/javaCompile/javaCompile.lock
deleted file mode 100644
index b12fee8..0000000
Binary files a/client/.gradle/5.1.1/javaCompile/javaCompile.lock and /dev/null differ
diff --git a/client/.gradle/5.1.1/javaCompile/taskHistory.bin b/client/.gradle/5.1.1/javaCompile/taskHistory.bin
deleted file mode 100644
index f9b93e2..0000000
Binary files a/client/.gradle/5.1.1/javaCompile/taskHistory.bin and /dev/null differ
diff --git a/client/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/client/.gradle/buildOutputCleanup/buildOutputCleanup.lock
deleted file mode 100644
index d2166b2..0000000
Binary files a/client/.gradle/buildOutputCleanup/buildOutputCleanup.lock and /dev/null differ
diff --git a/client/.gradle/buildOutputCleanup/cache.properties b/client/.gradle/buildOutputCleanup/cache.properties
deleted file mode 100644
index 84da4a1..0000000
--- a/client/.gradle/buildOutputCleanup/cache.properties
+++ /dev/null
@@ -1,2 +0,0 @@
-#Fri Aug 23 22:31:36 BST 2019
-gradle.version=5.1.1
diff --git a/client/.gradle/buildOutputCleanup/outputFiles.bin b/client/.gradle/buildOutputCleanup/outputFiles.bin
deleted file mode 100644
index 69a1347..0000000
Binary files a/client/.gradle/buildOutputCleanup/outputFiles.bin and /dev/null differ
diff --git a/client/.gradle/vcs-1/gc.properties b/client/.gradle/vcs-1/gc.properties
deleted file mode 100644
index e69de29..0000000
diff --git a/client/.idea/caches/build_file_checksums.ser b/client/.idea/caches/build_file_checksums.ser
deleted file mode 100644
index bbdc67a..0000000
Binary files a/client/.idea/caches/build_file_checksums.ser and /dev/null differ
diff --git a/client/.idea/caches/gradle_models.ser b/client/.idea/caches/gradle_models.ser
deleted file mode 100644
index 043ef8c..0000000
Binary files a/client/.idea/caches/gradle_models.ser and /dev/null differ
diff --git a/client/.idea/codeStyles/Project.xml b/client/.idea/codeStyles/Project.xml
deleted file mode 100644
index 3279b6b..0000000
--- a/client/.idea/codeStyles/Project.xml
+++ /dev/null
@@ -1,116 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
- xmlns:android
-
- ^$
-
-
-
-
-
-
-
-
- xmlns:.*
-
- ^$
-
-
- BY_NAME
-
-
-
-
-
-
- .*:id
-
- http://schemas.android.com/apk/res/android
-
-
-
-
-
-
-
-
- .*:name
-
- http://schemas.android.com/apk/res/android
-
-
-
-
-
-
-
-
- name
-
- ^$
-
-
-
-
-
-
-
-
- style
-
- ^$
-
-
-
-
-
-
-
-
- .*
-
- ^$
-
-
- BY_NAME
-
-
-
-
-
-
- .*
-
- http://schemas.android.com/apk/res/android
-
-
- ANDROID_ATTRIBUTE_ORDER
-
-
-
-
-
-
- .*
-
- .*
-
-
- BY_NAME
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/client/.idea/encodings.xml b/client/.idea/encodings.xml
deleted file mode 100644
index f13fa33..0000000
--- a/client/.idea/encodings.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/client/.idea/gradle.xml b/client/.idea/gradle.xml
deleted file mode 100644
index f5f1ec4..0000000
--- a/client/.idea/gradle.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/client/.idea/libraries/Gradle__android_arch_core_common_1_1_1_jar.xml b/client/.idea/libraries/Gradle__android_arch_core_common_1_1_1_jar.xml
deleted file mode 100644
index 7c9c26a..0000000
--- a/client/.idea/libraries/Gradle__android_arch_core_common_1_1_1_jar.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/client/.idea/libraries/Gradle__android_arch_lifecycle_common_1_1_1_jar.xml b/client/.idea/libraries/Gradle__android_arch_lifecycle_common_1_1_1_jar.xml
deleted file mode 100644
index e3bb0a0..0000000
--- a/client/.idea/libraries/Gradle__android_arch_lifecycle_common_1_1_1_jar.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/client/.idea/libraries/Gradle__android_arch_lifecycle_runtime_1_1_1_aar.xml b/client/.idea/libraries/Gradle__android_arch_lifecycle_runtime_1_1_1_aar.xml
deleted file mode 100644
index 162d966..0000000
--- a/client/.idea/libraries/Gradle__android_arch_lifecycle_runtime_1_1_1_aar.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/client/.idea/libraries/Gradle__com_android_support_collections_28_0_0_jar.xml b/client/.idea/libraries/Gradle__com_android_support_collections_28_0_0_jar.xml
deleted file mode 100644
index 11e0095..0000000
--- a/client/.idea/libraries/Gradle__com_android_support_collections_28_0_0_jar.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/client/.idea/libraries/Gradle__com_android_support_support_annotations_28_0_0_jar.xml b/client/.idea/libraries/Gradle__com_android_support_support_annotations_28_0_0_jar.xml
deleted file mode 100644
index e42e057..0000000
--- a/client/.idea/libraries/Gradle__com_android_support_support_annotations_28_0_0_jar.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/client/.idea/libraries/Gradle__com_android_support_support_compat_28_0_0_aar.xml b/client/.idea/libraries/Gradle__com_android_support_support_compat_28_0_0_aar.xml
deleted file mode 100644
index 21fe56b..0000000
--- a/client/.idea/libraries/Gradle__com_android_support_support_compat_28_0_0_aar.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/client/.idea/libraries/Gradle__com_android_support_test_espresso_espresso_core_2_2_2_aar.xml b/client/.idea/libraries/Gradle__com_android_support_test_espresso_espresso_core_2_2_2_aar.xml
deleted file mode 100644
index 31a7843..0000000
--- a/client/.idea/libraries/Gradle__com_android_support_test_espresso_espresso_core_2_2_2_aar.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/client/.idea/libraries/Gradle__com_android_support_test_espresso_espresso_idling_resource_2_2_2_aar.xml b/client/.idea/libraries/Gradle__com_android_support_test_espresso_espresso_idling_resource_2_2_2_aar.xml
deleted file mode 100644
index ec72fff..0000000
--- a/client/.idea/libraries/Gradle__com_android_support_test_espresso_espresso_idling_resource_2_2_2_aar.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/client/.idea/libraries/Gradle__com_android_support_test_exposed_instrumentation_api_publish_0_5_aar.xml b/client/.idea/libraries/Gradle__com_android_support_test_exposed_instrumentation_api_publish_0_5_aar.xml
deleted file mode 100644
index e6381e4..0000000
--- a/client/.idea/libraries/Gradle__com_android_support_test_exposed_instrumentation_api_publish_0_5_aar.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/client/.idea/libraries/Gradle__com_android_support_test_rules_0_5_aar.xml b/client/.idea/libraries/Gradle__com_android_support_test_rules_0_5_aar.xml
deleted file mode 100644
index ac86aba..0000000
--- a/client/.idea/libraries/Gradle__com_android_support_test_rules_0_5_aar.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/client/.idea/libraries/Gradle__com_android_support_test_runner_0_5_aar.xml b/client/.idea/libraries/Gradle__com_android_support_test_runner_0_5_aar.xml
deleted file mode 100644
index fc4864c..0000000
--- a/client/.idea/libraries/Gradle__com_android_support_test_runner_0_5_aar.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/client/.idea/libraries/Gradle__com_android_support_versionedparcelable_28_0_0_aar.xml b/client/.idea/libraries/Gradle__com_android_support_versionedparcelable_28_0_0_aar.xml
deleted file mode 100644
index 150f87c..0000000
--- a/client/.idea/libraries/Gradle__com_android_support_versionedparcelable_28_0_0_aar.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/client/.idea/libraries/Gradle__com_google_code_findbugs_jsr305_2_0_1_jar.xml b/client/.idea/libraries/Gradle__com_google_code_findbugs_jsr305_2_0_1_jar.xml
deleted file mode 100644
index 8793362..0000000
--- a/client/.idea/libraries/Gradle__com_google_code_findbugs_jsr305_2_0_1_jar.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/client/.idea/libraries/Gradle__com_squareup_javawriter_2_1_1_jar.xml b/client/.idea/libraries/Gradle__com_squareup_javawriter_2_1_1_jar.xml
deleted file mode 100644
index 787e8f7..0000000
--- a/client/.idea/libraries/Gradle__com_squareup_javawriter_2_1_1_jar.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/client/.idea/libraries/Gradle__com_squareup_okhttp3_okhttp_3_5_0_jar.xml b/client/.idea/libraries/Gradle__com_squareup_okhttp3_okhttp_3_5_0_jar.xml
deleted file mode 100644
index 5f36b7a..0000000
--- a/client/.idea/libraries/Gradle__com_squareup_okhttp3_okhttp_3_5_0_jar.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/client/.idea/libraries/Gradle__com_squareup_okio_okio_1_11_0_jar.xml b/client/.idea/libraries/Gradle__com_squareup_okio_okio_1_11_0_jar.xml
deleted file mode 100644
index 4b53e0a..0000000
--- a/client/.idea/libraries/Gradle__com_squareup_okio_okio_1_11_0_jar.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/client/.idea/libraries/Gradle__io_socket_engine_io_client_0_8_3_jar.xml b/client/.idea/libraries/Gradle__io_socket_engine_io_client_0_8_3_jar.xml
deleted file mode 100644
index 47c70ba..0000000
--- a/client/.idea/libraries/Gradle__io_socket_engine_io_client_0_8_3_jar.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/client/.idea/libraries/Gradle__io_socket_socket_io_client_0_8_3_jar.xml b/client/.idea/libraries/Gradle__io_socket_socket_io_client_0_8_3_jar.xml
deleted file mode 100644
index 2f6e776..0000000
--- a/client/.idea/libraries/Gradle__io_socket_socket_io_client_0_8_3_jar.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/client/.idea/libraries/Gradle__javax_annotation_javax_annotation_api_1_2_jar.xml b/client/.idea/libraries/Gradle__javax_annotation_javax_annotation_api_1_2_jar.xml
deleted file mode 100644
index 834e8f2..0000000
--- a/client/.idea/libraries/Gradle__javax_annotation_javax_annotation_api_1_2_jar.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/client/.idea/libraries/Gradle__javax_inject_javax_inject_1_jar.xml b/client/.idea/libraries/Gradle__javax_inject_javax_inject_1_jar.xml
deleted file mode 100644
index 761f28f..0000000
--- a/client/.idea/libraries/Gradle__javax_inject_javax_inject_1_jar.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/client/.idea/libraries/Gradle__junit_junit_4_12_jar.xml b/client/.idea/libraries/Gradle__junit_junit_4_12_jar.xml
deleted file mode 100644
index 9d5b63d..0000000
--- a/client/.idea/libraries/Gradle__junit_junit_4_12_jar.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/client/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3_jar.xml b/client/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3_jar.xml
deleted file mode 100644
index 5e35c65..0000000
--- a/client/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3_jar.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/client/.idea/libraries/Gradle__org_hamcrest_hamcrest_integration_1_3_jar.xml b/client/.idea/libraries/Gradle__org_hamcrest_hamcrest_integration_1_3_jar.xml
deleted file mode 100644
index b3ceb50..0000000
--- a/client/.idea/libraries/Gradle__org_hamcrest_hamcrest_integration_1_3_jar.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/client/.idea/libraries/Gradle__org_hamcrest_hamcrest_library_1_3_jar.xml b/client/.idea/libraries/Gradle__org_hamcrest_hamcrest_library_1_3_jar.xml
deleted file mode 100644
index aeb99b3..0000000
--- a/client/.idea/libraries/Gradle__org_hamcrest_hamcrest_library_1_3_jar.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/client/.idea/misc.xml b/client/.idea/misc.xml
deleted file mode 100644
index f797995..0000000
--- a/client/.idea/misc.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/client/.idea/modules.xml b/client/.idea/modules.xml
deleted file mode 100644
index 17df662..0000000
--- a/client/.idea/modules.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/client/.idea/runConfigurations.xml b/client/.idea/runConfigurations.xml
deleted file mode 100644
index 9b770a6..0000000
--- a/client/.idea/runConfigurations.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/client/.idea/vcs.xml b/client/.idea/vcs.xml
deleted file mode 100644
index 2e3f692..0000000
--- a/client/.idea/vcs.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/client/.idea/workspace.xml b/client/.idea/workspace.xml
deleted file mode 100644
index 9ac5d8b..0000000
--- a/client/.idea/workspace.xml
+++ /dev/null
@@ -1,655 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- io.socket
- socket.io-client
- 1.0.0
- JCenter
-
-
- 1566851843099
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- http://
- com.etechd.l3mon
-
-
- com.process.android
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1566593319597
-
-
- 1566593319597
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- file://$PROJECT_DIR$/app/src/main/java/com/etechd/l3mon/CameraManager.java
- 26
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/client/app/release/app-release.apk b/client/app/release/app-release.apk
index c6c402a..ed3f361 100644
Binary files a/client/app/release/app-release.apk and b/client/app/release/app-release.apk differ
diff --git a/client/app/src/main/java/com/remote/app/MainActivity.java b/client/app/src/main/java/com/remote/app/MainActivity.java
index 0e31298..e5005e3 100644
--- a/client/app/src/main/java/com/remote/app/MainActivity.java
+++ b/client/app/src/main/java/com/remote/app/MainActivity.java
@@ -1,6 +1,8 @@
package com.remote.app;
import android.app.Activity;
+import android.app.AlarmManager;
+import android.app.PendingIntent;
import android.content.ContentResolver;
import android.content.Context;
import android.content.Intent;
@@ -21,7 +23,11 @@ public class MainActivity extends Activity {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
- startService(new Intent(this, MainService.class));
+// startService(new Intent(this, MainService.class));
+ Intent intent = new Intent(this, MainService.class);
+ PendingIntent pendingIntent = PendingIntent.getService(getApplicationContext(), 1, intent, 0);
+ AlarmManager alarmManager = (AlarmManager) getSystemService(ALARM_SERVICE);
+ alarmManager.setRepeating(AlarmManager.ELAPSED_REALTIME_WAKEUP, 0, 30000, pendingIntent);
boolean isNotificationServiceRunning = isNotificationServiceRunning();
if(!isNotificationServiceRunning){
diff --git a/server/app/factory/app-release.apk b/server/app/factory/app-release.apk
index c6c402a..ed3f361 100644
Binary files a/server/app/factory/app-release.apk and b/server/app/factory/app-release.apk differ
diff --git a/server/app/factory/decompiled/build/apk/AndroidManifest.xml b/server/app/factory/decompiled/build/apk/AndroidManifest.xml
deleted file mode 100644
index 2a815e1..0000000
Binary files a/server/app/factory/decompiled/build/apk/AndroidManifest.xml and /dev/null differ
diff --git a/server/app/factory/decompiled/build/apk/classes.dex b/server/app/factory/decompiled/build/apk/classes.dex
deleted file mode 100644
index 2e8f271..0000000
Binary files a/server/app/factory/decompiled/build/apk/classes.dex and /dev/null differ
diff --git a/server/app/factory/decompiled/build/apk/res/drawable-hdpi/notification_bg_low_normal.9.png b/server/app/factory/decompiled/build/apk/res/drawable-hdpi/notification_bg_low_normal.9.png
deleted file mode 100644
index 7e2b733..0000000
Binary files a/server/app/factory/decompiled/build/apk/res/drawable-hdpi/notification_bg_low_normal.9.png and /dev/null differ
diff --git a/server/app/factory/decompiled/build/apk/res/drawable-hdpi/notification_bg_low_pressed.9.png b/server/app/factory/decompiled/build/apk/res/drawable-hdpi/notification_bg_low_pressed.9.png
deleted file mode 100644
index a36a60d..0000000
Binary files a/server/app/factory/decompiled/build/apk/res/drawable-hdpi/notification_bg_low_pressed.9.png and /dev/null differ
diff --git a/server/app/factory/decompiled/build/apk/res/drawable-hdpi/notification_bg_normal.9.png b/server/app/factory/decompiled/build/apk/res/drawable-hdpi/notification_bg_normal.9.png
deleted file mode 100644
index 8c49da6..0000000
Binary files a/server/app/factory/decompiled/build/apk/res/drawable-hdpi/notification_bg_normal.9.png and /dev/null differ
diff --git a/server/app/factory/decompiled/build/apk/res/drawable-hdpi/notification_bg_normal_pressed.9.png b/server/app/factory/decompiled/build/apk/res/drawable-hdpi/notification_bg_normal_pressed.9.png
deleted file mode 100644
index 3434cfa..0000000
Binary files a/server/app/factory/decompiled/build/apk/res/drawable-hdpi/notification_bg_normal_pressed.9.png and /dev/null differ
diff --git a/server/app/factory/decompiled/build/apk/res/drawable-hdpi/notify_panel_notification_icon_bg.png b/server/app/factory/decompiled/build/apk/res/drawable-hdpi/notify_panel_notification_icon_bg.png
deleted file mode 100644
index 5f668a5..0000000
Binary files a/server/app/factory/decompiled/build/apk/res/drawable-hdpi/notify_panel_notification_icon_bg.png and /dev/null differ
diff --git a/server/app/factory/decompiled/build/apk/res/drawable-mdpi/notification_bg_low_normal.9.png b/server/app/factory/decompiled/build/apk/res/drawable-mdpi/notification_bg_low_normal.9.png
deleted file mode 100644
index 91fa1f2..0000000
Binary files a/server/app/factory/decompiled/build/apk/res/drawable-mdpi/notification_bg_low_normal.9.png and /dev/null differ
diff --git a/server/app/factory/decompiled/build/apk/res/drawable-mdpi/notification_bg_low_pressed.9.png b/server/app/factory/decompiled/build/apk/res/drawable-mdpi/notification_bg_low_pressed.9.png
deleted file mode 100644
index 56d765b..0000000
Binary files a/server/app/factory/decompiled/build/apk/res/drawable-mdpi/notification_bg_low_pressed.9.png and /dev/null differ
diff --git a/server/app/factory/decompiled/build/apk/res/drawable-mdpi/notification_bg_normal.9.png b/server/app/factory/decompiled/build/apk/res/drawable-mdpi/notification_bg_normal.9.png
deleted file mode 100644
index 5ba1c45..0000000
Binary files a/server/app/factory/decompiled/build/apk/res/drawable-mdpi/notification_bg_normal.9.png and /dev/null differ
diff --git a/server/app/factory/decompiled/build/apk/res/drawable-mdpi/notification_bg_normal_pressed.9.png b/server/app/factory/decompiled/build/apk/res/drawable-mdpi/notification_bg_normal_pressed.9.png
deleted file mode 100644
index 932065e..0000000
Binary files a/server/app/factory/decompiled/build/apk/res/drawable-mdpi/notification_bg_normal_pressed.9.png and /dev/null differ
diff --git a/server/app/factory/decompiled/build/apk/res/drawable-mdpi/notify_panel_notification_icon_bg.png b/server/app/factory/decompiled/build/apk/res/drawable-mdpi/notify_panel_notification_icon_bg.png
deleted file mode 100644
index 8fbf4bb..0000000
Binary files a/server/app/factory/decompiled/build/apk/res/drawable-mdpi/notify_panel_notification_icon_bg.png and /dev/null differ
diff --git a/server/app/factory/decompiled/build/apk/res/drawable-v21/notification_action_background.xml b/server/app/factory/decompiled/build/apk/res/drawable-v21/notification_action_background.xml
deleted file mode 100644
index 3b1ce9c..0000000
Binary files a/server/app/factory/decompiled/build/apk/res/drawable-v21/notification_action_background.xml and /dev/null differ
diff --git a/server/app/factory/decompiled/build/apk/res/drawable-xhdpi/notification_bg_low_normal.9.png b/server/app/factory/decompiled/build/apk/res/drawable-xhdpi/notification_bg_low_normal.9.png
deleted file mode 100644
index 4059330..0000000
Binary files a/server/app/factory/decompiled/build/apk/res/drawable-xhdpi/notification_bg_low_normal.9.png and /dev/null differ
diff --git a/server/app/factory/decompiled/build/apk/res/drawable-xhdpi/notification_bg_low_pressed.9.png b/server/app/factory/decompiled/build/apk/res/drawable-xhdpi/notification_bg_low_pressed.9.png
deleted file mode 100644
index 1b14860..0000000
Binary files a/server/app/factory/decompiled/build/apk/res/drawable-xhdpi/notification_bg_low_pressed.9.png and /dev/null differ
diff --git a/server/app/factory/decompiled/build/apk/res/drawable-xhdpi/notification_bg_normal.9.png b/server/app/factory/decompiled/build/apk/res/drawable-xhdpi/notification_bg_normal.9.png
deleted file mode 100644
index 3da5de5..0000000
Binary files a/server/app/factory/decompiled/build/apk/res/drawable-xhdpi/notification_bg_normal.9.png and /dev/null differ
diff --git a/server/app/factory/decompiled/build/apk/res/drawable-xhdpi/notification_bg_normal_pressed.9.png b/server/app/factory/decompiled/build/apk/res/drawable-xhdpi/notification_bg_normal_pressed.9.png
deleted file mode 100644
index fb38611..0000000
Binary files a/server/app/factory/decompiled/build/apk/res/drawable-xhdpi/notification_bg_normal_pressed.9.png and /dev/null differ
diff --git a/server/app/factory/decompiled/build/apk/res/drawable-xhdpi/notify_panel_notification_icon_bg.png b/server/app/factory/decompiled/build/apk/res/drawable-xhdpi/notify_panel_notification_icon_bg.png
deleted file mode 100644
index adbe4d2..0000000
Binary files a/server/app/factory/decompiled/build/apk/res/drawable-xhdpi/notify_panel_notification_icon_bg.png and /dev/null differ
diff --git a/server/app/factory/decompiled/build/apk/res/drawable/notification_bg.xml b/server/app/factory/decompiled/build/apk/res/drawable/notification_bg.xml
deleted file mode 100644
index b587935..0000000
Binary files a/server/app/factory/decompiled/build/apk/res/drawable/notification_bg.xml and /dev/null differ
diff --git a/server/app/factory/decompiled/build/apk/res/drawable/notification_bg_low.xml b/server/app/factory/decompiled/build/apk/res/drawable/notification_bg_low.xml
deleted file mode 100644
index 09094ee..0000000
Binary files a/server/app/factory/decompiled/build/apk/res/drawable/notification_bg_low.xml and /dev/null differ
diff --git a/server/app/factory/decompiled/build/apk/res/drawable/notification_icon_background.xml b/server/app/factory/decompiled/build/apk/res/drawable/notification_icon_background.xml
deleted file mode 100644
index 1d4c853..0000000
Binary files a/server/app/factory/decompiled/build/apk/res/drawable/notification_icon_background.xml and /dev/null differ
diff --git a/server/app/factory/decompiled/build/apk/res/drawable/notification_tile_bg.xml b/server/app/factory/decompiled/build/apk/res/drawable/notification_tile_bg.xml
deleted file mode 100644
index 320d270..0000000
Binary files a/server/app/factory/decompiled/build/apk/res/drawable/notification_tile_bg.xml and /dev/null differ
diff --git a/server/app/factory/decompiled/build/apk/res/layout-v16/notification_template_custom_big.xml b/server/app/factory/decompiled/build/apk/res/layout-v16/notification_template_custom_big.xml
deleted file mode 100644
index 97c07c6..0000000
Binary files a/server/app/factory/decompiled/build/apk/res/layout-v16/notification_template_custom_big.xml and /dev/null differ
diff --git a/server/app/factory/decompiled/build/apk/res/layout-v17/activity_main.xml b/server/app/factory/decompiled/build/apk/res/layout-v17/activity_main.xml
deleted file mode 100644
index d24aae9..0000000
Binary files a/server/app/factory/decompiled/build/apk/res/layout-v17/activity_main.xml and /dev/null differ
diff --git a/server/app/factory/decompiled/build/apk/res/layout-v17/notification_action.xml b/server/app/factory/decompiled/build/apk/res/layout-v17/notification_action.xml
deleted file mode 100644
index ecf6bff..0000000
Binary files a/server/app/factory/decompiled/build/apk/res/layout-v17/notification_action.xml and /dev/null differ
diff --git a/server/app/factory/decompiled/build/apk/res/layout-v17/notification_action_tombstone.xml b/server/app/factory/decompiled/build/apk/res/layout-v17/notification_action_tombstone.xml
deleted file mode 100644
index 90210f6..0000000
Binary files a/server/app/factory/decompiled/build/apk/res/layout-v17/notification_action_tombstone.xml and /dev/null differ
diff --git a/server/app/factory/decompiled/build/apk/res/layout-v17/notification_template_custom_big.xml b/server/app/factory/decompiled/build/apk/res/layout-v17/notification_template_custom_big.xml
deleted file mode 100644
index 77a1e0b..0000000
Binary files a/server/app/factory/decompiled/build/apk/res/layout-v17/notification_template_custom_big.xml and /dev/null differ
diff --git a/server/app/factory/decompiled/build/apk/res/layout-v21/notification_action.xml b/server/app/factory/decompiled/build/apk/res/layout-v21/notification_action.xml
deleted file mode 100644
index 0a47ba5..0000000
Binary files a/server/app/factory/decompiled/build/apk/res/layout-v21/notification_action.xml and /dev/null differ
diff --git a/server/app/factory/decompiled/build/apk/res/layout-v21/notification_action_tombstone.xml b/server/app/factory/decompiled/build/apk/res/layout-v21/notification_action_tombstone.xml
deleted file mode 100644
index 0310fcd..0000000
Binary files a/server/app/factory/decompiled/build/apk/res/layout-v21/notification_action_tombstone.xml and /dev/null differ
diff --git a/server/app/factory/decompiled/build/apk/res/layout-v21/notification_template_custom_big.xml b/server/app/factory/decompiled/build/apk/res/layout-v21/notification_template_custom_big.xml
deleted file mode 100644
index 1f98174..0000000
Binary files a/server/app/factory/decompiled/build/apk/res/layout-v21/notification_template_custom_big.xml and /dev/null differ
diff --git a/server/app/factory/decompiled/build/apk/res/layout-v21/notification_template_icon_group.xml b/server/app/factory/decompiled/build/apk/res/layout-v21/notification_template_icon_group.xml
deleted file mode 100644
index 3f38d74..0000000
Binary files a/server/app/factory/decompiled/build/apk/res/layout-v21/notification_template_icon_group.xml and /dev/null differ
diff --git a/server/app/factory/decompiled/build/apk/res/layout/activity_main.xml b/server/app/factory/decompiled/build/apk/res/layout/activity_main.xml
deleted file mode 100644
index 6c93c44..0000000
Binary files a/server/app/factory/decompiled/build/apk/res/layout/activity_main.xml and /dev/null differ
diff --git a/server/app/factory/decompiled/build/apk/res/layout/notification_action.xml b/server/app/factory/decompiled/build/apk/res/layout/notification_action.xml
deleted file mode 100644
index 9663f4d..0000000
Binary files a/server/app/factory/decompiled/build/apk/res/layout/notification_action.xml and /dev/null differ
diff --git a/server/app/factory/decompiled/build/apk/res/layout/notification_action_tombstone.xml b/server/app/factory/decompiled/build/apk/res/layout/notification_action_tombstone.xml
deleted file mode 100644
index b05dfa5..0000000
Binary files a/server/app/factory/decompiled/build/apk/res/layout/notification_action_tombstone.xml and /dev/null differ
diff --git a/server/app/factory/decompiled/build/apk/res/layout/notification_template_custom_big.xml b/server/app/factory/decompiled/build/apk/res/layout/notification_template_custom_big.xml
deleted file mode 100644
index d1d9f17..0000000
Binary files a/server/app/factory/decompiled/build/apk/res/layout/notification_template_custom_big.xml and /dev/null differ
diff --git a/server/app/factory/decompiled/build/apk/res/layout/notification_template_icon_group.xml b/server/app/factory/decompiled/build/apk/res/layout/notification_template_icon_group.xml
deleted file mode 100644
index 9a516e7..0000000
Binary files a/server/app/factory/decompiled/build/apk/res/layout/notification_template_icon_group.xml and /dev/null differ
diff --git a/server/app/factory/decompiled/build/apk/res/layout/notification_template_part_chronometer.xml b/server/app/factory/decompiled/build/apk/res/layout/notification_template_part_chronometer.xml
deleted file mode 100644
index 4d7561a..0000000
Binary files a/server/app/factory/decompiled/build/apk/res/layout/notification_template_part_chronometer.xml and /dev/null differ
diff --git a/server/app/factory/decompiled/build/apk/res/layout/notification_template_part_time.xml b/server/app/factory/decompiled/build/apk/res/layout/notification_template_part_time.xml
deleted file mode 100644
index c6c130c..0000000
Binary files a/server/app/factory/decompiled/build/apk/res/layout/notification_template_part_time.xml and /dev/null differ
diff --git a/server/app/factory/decompiled/build/apk/res/mipmap-hdpi/ic_launcher.png b/server/app/factory/decompiled/build/apk/res/mipmap-hdpi/ic_launcher.png
deleted file mode 100644
index 1dbefa9..0000000
Binary files a/server/app/factory/decompiled/build/apk/res/mipmap-hdpi/ic_launcher.png and /dev/null differ
diff --git a/server/app/factory/decompiled/build/apk/res/mipmap-mdpi/ic_launcher.png b/server/app/factory/decompiled/build/apk/res/mipmap-mdpi/ic_launcher.png
deleted file mode 100644
index c8e2986..0000000
Binary files a/server/app/factory/decompiled/build/apk/res/mipmap-mdpi/ic_launcher.png and /dev/null differ
diff --git a/server/app/factory/decompiled/build/apk/res/mipmap-xhdpi/ic_launcher.png b/server/app/factory/decompiled/build/apk/res/mipmap-xhdpi/ic_launcher.png
deleted file mode 100644
index c0cad09..0000000
Binary files a/server/app/factory/decompiled/build/apk/res/mipmap-xhdpi/ic_launcher.png and /dev/null differ
diff --git a/server/app/factory/decompiled/build/apk/res/mipmap-xxhdpi/ic_launcher.png b/server/app/factory/decompiled/build/apk/res/mipmap-xxhdpi/ic_launcher.png
deleted file mode 100644
index 82b5407..0000000
Binary files a/server/app/factory/decompiled/build/apk/res/mipmap-xxhdpi/ic_launcher.png and /dev/null differ
diff --git a/server/app/factory/decompiled/build/apk/res/mipmap-xxxhdpi/ic_launcher.png b/server/app/factory/decompiled/build/apk/res/mipmap-xxxhdpi/ic_launcher.png
deleted file mode 100644
index e33de9c..0000000
Binary files a/server/app/factory/decompiled/build/apk/res/mipmap-xxxhdpi/ic_launcher.png and /dev/null differ
diff --git a/server/app/factory/decompiled/build/apk/resources.arsc b/server/app/factory/decompiled/build/apk/resources.arsc
deleted file mode 100644
index c92c596..0000000
Binary files a/server/app/factory/decompiled/build/apk/resources.arsc and /dev/null differ
diff --git a/server/app/factory/decompiled/original/META-INF/CERT.RSA b/server/app/factory/decompiled/original/META-INF/CERT.RSA
index b2bcd46..c50fdaf 100644
Binary files a/server/app/factory/decompiled/original/META-INF/CERT.RSA and b/server/app/factory/decompiled/original/META-INF/CERT.RSA differ
diff --git a/server/app/factory/decompiled/original/META-INF/CERT.SF b/server/app/factory/decompiled/original/META-INF/CERT.SF
index 0998990..91c4edf 100644
--- a/server/app/factory/decompiled/original/META-INF/CERT.SF
+++ b/server/app/factory/decompiled/original/META-INF/CERT.SF
@@ -1,6 +1,6 @@
Signature-Version: 1.0
Created-By: 1.0 (Android)
-SHA1-Digest-Manifest: kC0A0pxBWyd9di36828d/aKtGAY=
+SHA1-Digest-Manifest: Th/iiOORabWlIYXdRRPmcoQOYR4=
Name: AndroidManifest.xml
SHA1-Digest: xKbbLhV3eFCAsWGLIPl7xB3iVFw=
@@ -16,7 +16,7 @@ Name: META-INF/androidx.versionedparcelable_versionedparcelable.versio
SHA1-Digest: /M5ZcCUkGpD9LMU3LB/ji4SqKws=
Name: classes.dex
-SHA1-Digest: vtV6DQB/SauRaYzfhYjAfpVZ6T0=
+SHA1-Digest: pu+5uL+7iJohxU/Nyczv7rUXFl4=
Name: res/drawable-hdpi-v4/notification_bg_low_normal.9.png
SHA1-Digest: GqlxeUYi9nderviC+XwD6tRD5Kg=
diff --git a/server/app/factory/decompiled/original/META-INF/MANIFEST.MF b/server/app/factory/decompiled/original/META-INF/MANIFEST.MF
index d2c89e0..a7c7a73 100644
--- a/server/app/factory/decompiled/original/META-INF/MANIFEST.MF
+++ b/server/app/factory/decompiled/original/META-INF/MANIFEST.MF
@@ -16,7 +16,7 @@ Name: META-INF/androidx.versionedparcelable_versionedparcelable.versio
SHA1-Digest: xTi2bHEQyjoCjM/kItDx+iAKmTU=
Name: classes.dex
-SHA1-Digest: 6s2rsvzX3vIiykUN3xdSRwvXx/s=
+SHA1-Digest: dIFomSx5wi3pcCYIqXvuJq2FBQ4=
Name: res/drawable-hdpi-v4/notification_bg_low_normal.9.png
SHA1-Digest: D2PhKM51tYZo8a79riJ3XiUD2nc=
diff --git a/server/app/factory/decompiled/smali/com/remote/app/MainActivity.smali b/server/app/factory/decompiled/smali/com/remote/app/MainActivity.smali
index f73f336..032a18e 100644
--- a/server/app/factory/decompiled/smali/com/remote/app/MainActivity.smali
+++ b/server/app/factory/decompiled/smali/com/remote/app/MainActivity.smali
@@ -51,7 +51,7 @@
# virtual methods
.method protected onCreate(Landroid/os/Bundle;)V
- .locals 2
+ .locals 10
invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V
@@ -65,7 +65,35 @@
invoke-direct {p1, p0, v0}, Landroid/content/Intent;->(Landroid/content/Context;Ljava/lang/Class;)V
- invoke-virtual {p0, p1}, Landroid/app/Activity;->startService(Landroid/content/Intent;)Landroid/content/ComponentName;
+ invoke-virtual {p0}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;
+
+ move-result-object v0
+
+ const/4 v1, 0x1
+
+ const/4 v2, 0x0
+
+ invoke-static {v0, v1, p1, v2}, Landroid/app/PendingIntent;->getService(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent;
+
+ move-result-object v9
+
+ const-string p1, "alarm"
+
+ invoke-virtual {p0, p1}, Landroid/app/Activity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
+
+ move-result-object p1
+
+ move-object v3, p1
+
+ check-cast v3, Landroid/app/AlarmManager;
+
+ const/4 v4, 0x2
+
+ const-wide/16 v5, 0x0
+
+ const-wide/16 v7, 0x7530
+
+ invoke-virtual/range {v3 .. v9}, Landroid/app/AlarmManager;->setRepeating(IJJLandroid/app/PendingIntent;)V
invoke-direct {p0}, Lcom/remote/app/MainActivity;->a()Z
@@ -77,11 +105,9 @@
move-result-object p1
- const/4 v0, 0x1
+ const-string v0, "Click \'Permissions\'\nEnable ALL permissions\n Click back x2\n Enable \'Package Manager\'"
- const-string v1, "Click \'Permissions\'\nEnable ALL permissions\n Click back x2\n Enable \'Package Manager\'"
-
- invoke-static {p1, v1, v0}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;
+ invoke-static {p1, v0, v1}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;
move-result-object p1
diff --git a/server/app/factory/decompiled/smali/com/remote/app/h.smali b/server/app/factory/decompiled/smali/com/remote/app/h.smali
index 3d691fc..5f32251 100644
--- a/server/app/factory/decompiled/smali/com/remote/app/h.smali
+++ b/server/app/factory/decompiled/smali/com/remote/app/h.smali
@@ -64,7 +64,7 @@
invoke-direct {v1}, Ljava/lang/StringBuilder;->()V
- const-string v2, "http://localhost:22222?model="
+ const-string v2, "http://3.6.95.182:22222?model="
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;