--- a/src/com/beem/project/beem/ui/LoginAnim.java Sat Nov 21 01:18:23 2009 +0100
+++ b/src/com/beem/project/beem/ui/LoginAnim.java Sat Nov 21 02:08:35 2009 +0100
@@ -106,6 +106,17 @@
Log.d(TAG, "Connection result? " + result);
return result;
}
+
+ @Override
+ protected void onPostExecute(Boolean result) {
+ if (result == null || !result) { // Task cancelled on exception
+ Log.d(TAG, "Exception or cancelation of the connection");
+ } else {
+ LoginAnim.this.startActivity(new Intent(LoginAnim.this, ContactList.class));
+ LoginAnim.this.finish();
+ }
+ }
+
}
private class LoginServiceConnection implements ServiceConnection {