widerules / simpleim-android

Automatically exported from code.google.com/p/simpleim-android
0 stars 0 forks source link

In LoginActivity or RegisterActivity what to do if the service throws AlreadyLoggedInException? #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In LoginActivity or RegisterActivity what to do if the service throws 
AlreadyLoggedInException?

One solution is to check when connecting to the service (in onConnect) if 
service.isLoggedIn(). If it is true then redirect to LoggedUser activity.

Original issue reported on code.google.com by Tartu...@gmail.com on 10 Dec 2012 at 9:23

GoogleCodeExporter commented 9 years ago

Original comment by Tartu...@gmail.com on 10 Dec 2012 at 9:24

GoogleCodeExporter commented 9 years ago

Original comment by Tartu...@gmail.com on 17 Dec 2012 at 9:35