Add some thing for the progress dialog
authorDa Risk <darisk972@gmail.com>
Mon, 06 Apr 2009 18:20:57 +0200
changeset 73 4d9067c5e08e
parent 72 cdedc3a25d39
child 74 ffe07347ceba
Add some thing for the progress dialog
src/com/beem/project/beem/BeemApplication.java
--- a/src/com/beem/project/beem/BeemApplication.java	Mon Apr 06 18:12:30 2009 +0200
+++ b/src/com/beem/project/beem/BeemApplication.java	Mon Apr 06 18:20:57 2009 +0200
@@ -94,6 +94,9 @@
 	    mBeemApp = new BeemApplication();
 	}
 	mBeemApp.mProgressDialog = new ProgressDialog(activity);
+	mBeemApp.mProgressDialog.setTitle("Beem");
+	mBeemApp.mProgressDialog.setIcon(R.drawable.logo);
+	mBeemApp.mProgressDialog.setMessage("Connexion en cours");
 	mBeemApp.mApplicationContext = activity.getApplication();
 	mBeemApp.mPrivateResources = activity.getResources();
 	mBeemApp.onCreate();
@@ -184,7 +187,7 @@
 	@Override
 	public void connectionClosedOnError() throws RemoteException {
 	    // TODO Auto-generated method stub
-	    // lancer l'activity signin en lui passant le message d'erreur ^^
+	    // afficher une notification et reafficher le progress dialog
 	}
 
 	/**