├── .gitignore ├── AndroidManifest.xml ├── ant.properties ├── build.xml ├── libs ├── paho-mqtt-client-1.0.1-sources.jar └── paho-mqtt-client-1.0.1.jar ├── proguard-project.txt ├── project.properties ├── res ├── drawable-hdpi │ ├── ic_action_search.png │ ├── ic_launcher.png │ └── snow.png ├── drawable-ldpi │ └── ic_launcher.png ├── drawable-mdpi │ ├── ic_action_search.png │ ├── ic_launcher.png │ └── snow.png ├── drawable-xhdpi │ ├── ic_action_search.png │ ├── ic_launcher.png │ └── snow.png ├── drawable │ └── blackice.png ├── layout │ └── main.xml └── values │ ├── colors.xml │ └── strings.xml └── src └── de └── eclipsemagazin └── mqtt ├── publisher └── Thermometer.java └── push ├── BlackIceActivity.java ├── MQTTService.java └── PushCallback.java /.gitignore: -------------------------------------------------------------------------------- 1 | /.idea/ 2 | /gen/ 3 | /local.properties 4 | /out/ 5 | /mqtt-android-push.iml -------------------------------------------------------------------------------- /AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /ant.properties: -------------------------------------------------------------------------------- 1 | # This file is used to override default values used by the Ant build system. 2 | # 3 | # This file must be checked into Version Control Systems, as it is 4 | # integral to the build system of your project. 5 | 6 | # This file is only used by the Ant script. 7 | 8 | # You can use this to override default values such as 9 | # 'source.dir' for the location of your java source folder and 10 | # 'out.dir' for the location of your output folder. 11 | 12 | # You can also use it define how the release builds are signed by declaring 13 | # the following properties: 14 | # 'key.store' for the location of your keystore and 15 | # 'key.alias' for the name of the key to use. 16 | # The password will be asked during the build when you use the 'release' target. 17 | 18 | -------------------------------------------------------------------------------- /build.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 29 | 30 | 31 | 35 | 36 | 37 | 38 | 39 | 40 | 49 | 50 | 51 | 52 | 56 | 57 | 69 | 70 | 71 | 89 | 90 | 91 | 92 | 93 | -------------------------------------------------------------------------------- /libs/paho-mqtt-client-1.0.1-sources.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dobermai/android-mqtt-push/16b28097afdb45b08f061571467f95b78bd62b06/libs/paho-mqtt-client-1.0.1-sources.jar -------------------------------------------------------------------------------- /libs/paho-mqtt-client-1.0.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dobermai/android-mqtt-push/16b28097afdb45b08f061571467f95b78bd62b06/libs/paho-mqtt-client-1.0.1.jar -------------------------------------------------------------------------------- /proguard-project.txt: -------------------------------------------------------------------------------- 1 | # To enable ProGuard in your project, edit project.properties 2 | # to define the proguard.config property as described in that file. 3 | # 4 | # Add project specific ProGuard rules here. 5 | # By default, the flags in this file are appended to flags specified 6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt 7 | # You can edit the include path and order by changing the ProGuard 8 | # include property in project.properties. 9 | # 10 | # For more details, see 11 | # http://developer.android.com/guide/developing/tools/proguard.html 12 | 13 | # Add any project specific keep options here: 14 | 15 | # If your project uses WebView with JS, uncomment the following 16 | # and specify the fully qualified class name to the JavaScript interface 17 | # class: 18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 19 | # public *; 20 | #} 21 | -------------------------------------------------------------------------------- /project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=android-8 15 | -------------------------------------------------------------------------------- /res/drawable-hdpi/ic_action_search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dobermai/android-mqtt-push/16b28097afdb45b08f061571467f95b78bd62b06/res/drawable-hdpi/ic_action_search.png -------------------------------------------------------------------------------- /res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dobermai/android-mqtt-push/16b28097afdb45b08f061571467f95b78bd62b06/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-hdpi/snow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dobermai/android-mqtt-push/16b28097afdb45b08f061571467f95b78bd62b06/res/drawable-hdpi/snow.png -------------------------------------------------------------------------------- /res/drawable-ldpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dobermai/android-mqtt-push/16b28097afdb45b08f061571467f95b78bd62b06/res/drawable-ldpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-mdpi/ic_action_search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dobermai/android-mqtt-push/16b28097afdb45b08f061571467f95b78bd62b06/res/drawable-mdpi/ic_action_search.png -------------------------------------------------------------------------------- /res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dobermai/android-mqtt-push/16b28097afdb45b08f061571467f95b78bd62b06/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-mdpi/snow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dobermai/android-mqtt-push/16b28097afdb45b08f061571467f95b78bd62b06/res/drawable-mdpi/snow.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/ic_action_search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dobermai/android-mqtt-push/16b28097afdb45b08f061571467f95b78bd62b06/res/drawable-xhdpi/ic_action_search.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dobermai/android-mqtt-push/16b28097afdb45b08f061571467f95b78bd62b06/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/snow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dobermai/android-mqtt-push/16b28097afdb45b08f061571467f95b78bd62b06/res/drawable-xhdpi/snow.png -------------------------------------------------------------------------------- /res/drawable/blackice.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dobermai/android-mqtt-push/16b28097afdb45b08f061571467f95b78bd62b06/res/drawable/blackice.png -------------------------------------------------------------------------------- /res/layout/main.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 15 |