Bug #208
authorVincent Veronis <veroni_v@epitech.net>
Fri, 30 Oct 2009 15:30:13 +0100
changeset 485 1a0e8e12b088
parent 476 c5d4ef5b597d
child 486 e12e3c23e31b
Bug #208
default.properties
src/com/beem/project/beem/service/XmppConnectionAdapter.java
--- a/default.properties	Fri Oct 30 13:03:01 2009 +0100
+++ b/default.properties	Fri Oct 30 15:30:13 2009 +0100
@@ -8,7 +8,7 @@
 # project structure.
 
 # Project target.
-target=android-4
+target=android-3
 # apk configurations. This property allows creation of APK files with limited
 # resources. For example, if your application contains many locales and
 # you wish to release multiple smaller apks instead of a large one, you can
--- a/src/com/beem/project/beem/service/XmppConnectionAdapter.java	Fri Oct 30 13:03:01 2009 +0100
+++ b/src/com/beem/project/beem/service/XmppConnectionAdapter.java	Fri Oct 30 15:30:13 2009 +0100
@@ -154,7 +154,9 @@
 		mConListener.connectionFailed(e.getMessage());
 	    else
 		mConListener.connectionFailed("Error On Connection");
-	}
+	} catch (IllegalStateException e) {
+	    mConListener.connectionFailed(e.getMessage());
+	} 
 	return false;
     }