Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Paho/Android Service"

(Created page with " Design (no implementation code please - only external design and application code!) == Requirement 1: the MQTT Android service to receive messages while the app is not runni...")
 
Line 1: Line 1:
  
Design (no implementation code please - only external design and application code!)
+
=== Design (no implementation code please - only external design and application code!) ==
  
== Requirement 1: the MQTT Android service to receive messages while the app is not running ==
+
==== Requirement 1: the MQTT Android service to receive messages while the app is not running ====
  
 
Questions: when are these messages delivered to the application?  How does the app reestablish its connection to the service to get the same messages?
 
Questions: when are these messages delivered to the application?  How does the app reestablish its connection to the service to get the same messages?
  
== Requirement 2: the MQTT Android service to reconnect to the MQTT server after network connectivity is reestablished  ==
+
==== Requirement 2: the MQTT Android service to reconnect to the MQTT server after network connectivity is reestablished  ====
  
 
Using Android notifications to recognize when the network is available again.
 
Using Android notifications to recognize when the network is available again.
  
== Requirement 3: automatic service reconnect after network failure ==
+
==== Requirement 3: automatic service reconnect after network failure ====
  
  

Revision as of 07:36, 26 September 2014

= Design (no implementation code please - only external design and application code!)

Requirement 1: the MQTT Android service to receive messages while the app is not running

Questions: when are these messages delivered to the application? How does the app reestablish its connection to the service to get the same messages?

Requirement 2: the MQTT Android service to reconnect to the MQTT server after network connectivity is reestablished

Using Android notifications to recognize when the network is available again.

Requirement 3: automatic service reconnect after network failure

== Requirement 4:


What is the application/service lifecycle?

Back to the top