Hi Guys,
I have been playing with some of the examples and tutorials. Freedom your MQTT example is excellent. What I am planning to do as a project is install an android app that runs as a service in the background. Connects and listens to MQTT messages on a broker. If a specific message is received the app will bring up some form of notification and alert sound.
Now I don't know the best way to go about this.
1) Can the service handle all of the MQTT checking and reconnecting in the background?
2) If a message is received do I need to start an activity and load a layout to bring this up on the android display?
Any help on this would be greatly appreciated. Freedoms example works well but is in the foreground.
Big thanks Guys
Dans
I have been playing with some of the examples and tutorials. Freedom your MQTT example is excellent. What I am planning to do as a project is install an android app that runs as a service in the background. Connects and listens to MQTT messages on a broker. If a specific message is received the app will bring up some form of notification and alert sound.
Now I don't know the best way to go about this.
1) Can the service handle all of the MQTT checking and reconnecting in the background?
2) If a message is received do I need to start an activity and load a layout to bring this up on the android display?
Any help on this would be greatly appreciated. Freedoms example works well but is in the foreground.
Big thanks Guys
Dans