souliss / soulissapp

SoulissApp is an Android Application for Souliss Framework
https://play.google.com/store/apps/details?id=it.angelic.soulissclient
MIT License
33 stars 33 forks source link

ONLINE / OFFLINE Icon #79

Closed plinioseniore closed 8 years ago

plinioseniore commented 8 years ago

Actually the ONLINE / OFFLINE icon doesn't show the proper information, I suggest to use three states instead of two:

Actually, if the user exit in a middle view (like the node view) and the goes back after some time, SoulissApp is offline and you need to go back to the main menu to get it ONLINE. The best would be that it automatically starts to detect the Gateway once back in the app.

SoulissApp should check for OFFLINE/SYNCH/ONLINE but this should not affect the command, that should be always available.

shineangelic commented 8 years ago

there is no synch stage, if soulissApp is Offline it will continuosly try to go back online, as the app is opened. A backoff is implemented to reduce traffic when offline time increases.

plinioseniore commented 8 years ago

Yep, but in this way you will start in OFFLINE and then you will go in ONLINE and every time that you close and open the app you will see OFFLINE. Use a SYNCH while SoulissApp is connecting and no more than N retries has expired will give a better understanding.

That's my two cents.

shineangelic commented 8 years ago

your two cent always costs a lot :dancers: