It really depends on what you want.

In my app, the request to the server is made first. If this is successful 
(connection is OK, login is OK), then the data from the server is assigned 
to an Intent and this Intent is used to start an Activity to show that 
data. 

If the connection is wrong, a dialog message comes up explaining that.
If the login is wrong, then a login screen is shown. When the user logs in 
successfully from the login-screen, the request is repeated with the correct 
credentials (authorization token, session-cookie,...).


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to