Remettre dans les parametre la possibilité d'activer l'envoi automatique lorsquil y a du wifi ou de la 3G
Lorsque le Wifi (ou la 3G) est activée, on vérifie si ya des formulaires en échec d'envoi dans la boite d'envoi. Si oui, une notification est envoyée contenant le message suivant :
Connexion réseau active. Vous avez des formulaires prets à etre envoyé.
(A voir si c'est trop long comme message)
Le clic sur la notification ouvre l'application dans la boite d'envoi (formulaires à envoyer) et affiche le pop up suivant :
"voulez vous envoyer les formulaires à envoyer libellés "échec d'envoi". NON / OUI
Si NON, on ferme le popup, on reste sur la boite d'envoi.
Si OUI, on envoie tous les formulaires mentionné "Échec d'Envoi". On laisse les formulaire mentionné "Finalisé"