Android Open Source - Example sample MqttSample






Project Summary

ALOOH MQTT Sample(Android, Node.js).

Web Site / Source Repository

MqttSample is hosted in the following web site
https://github.com/ALOOH/MqttSample

If you think the Android project MqttSample listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Project Detail

The following table is the detailed list of MqttSample.

ItemValue
Java File Count15
Supported screen sizes[hdpi, xhdpi]
Minimum SDK Version8
Activity Count6
jar files usedpaho-mqtt-client-1.0.1.jar
Required Permissionsandroid.permission.ACCESS_COARSE_LOCATION
android.permission.ACCESS_FINE_LOCATION
android.permission.ACCESS_NETWORK_STATE
android.permission.INTERNET
android.permission.WRITE_EXTERNAL_STORAGE




Resource Files

There are 10 image files in MqttSample. The names of the image files are listed as follows.

alooh_bi_1.png
alooh_logo_land_w4.png
alooh_logo_w9.png
blackice.png
btn_bg.png
ic_action_search.png
input_head_bg.png
login_input_bg.png
quit.png
snow.png

The following screenshort is generated from the image listed above.

null




Java Source Files

MqttSample has the following Java source files.

com.cresprit.mqtt.manager.Connection.java
com.cresprit.mqtt.manager.ConnectionMgr.java
com.cresprit.mqtt.manager.DeviceListManager.java
com.cresprit.mqtt.manager.UserManager.java
com.cresprit.mqtt.service.MQTTService.java
com.cresprit.mqtt.ui.DeviceListActivity.java
com.cresprit.mqtt.ui.IMessageListener
.java
com.cresprit.mqtt.ui.IUpdateListener
.java
com.cresprit.mqtt.ui.LoginActivity.java
com.cresprit.mqtt.ui.MessageAdapter.java
com.cresprit.mqtt.ui.PublishActivity.java
com.cresprit.mqtt.ui.SubMenuActivity.java
com.cresprit.mqtt.ui.SubscribeActivity.java
com.cresprit.mqtt.ui.SubscribeCallback.java