diff --git a/.gitignore b/.gitignore index d3f5d3e..9539001 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,19 @@ gen/ # Local configuration file (sdk path, etc) local.properties + +# IntelliJ +*.iws +*.ipr +*.iml + +# These dependencies should be resolved in other way, probably through maven. +# If you're not using maven for your Android project +# - clone https://github.com/fusesource/mqtt-client +# - run `mvn install` +# - copy the files from the ~/.m2/repository/ directory +libs/hawtbuf-1.9.jar +libs/hawtdispatch-1.12.jar +libs/hawtdispatch-transport-1.12.jar +libs/mqtt-client-1.5-SNAPSHOT.jar + diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 395e191..a9d7ac1 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -1,22 +1,23 @@ + package="org.example.mqtt" + android:versionCode="2" + android:versionName="1.1"> - + + android:icon="@drawable/ic_launcher" + android:label="@string/app_name" + android:theme="@android:style/Theme.Light"> + android:name="org.example.mqtt.MQTTActivity" + android:label="@string/app_name"> - + - + diff --git a/res/layout-large/main.xml b/res/layout-large/main.xml new file mode 100644 index 0000000..149e369 --- /dev/null +++ b/res/layout-large/main.xml @@ -0,0 +1,142 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +