--- a/src/com/beem/project/beem/ui/Login.java Mon Aug 10 06:21:58 2009 +0200
+++ b/src/com/beem/project/beem/ui/Login.java Mon Aug 10 06:29:46 2009 +0200
@@ -55,7 +55,7 @@
public Login() { }
/**
- * Create an about "BEEM" dialog
+ * Create an about "BEEM" dialog.
*/
public void createAboutDialog() {
AlertDialog.Builder builder = new AlertDialog.Builder(this);
@@ -71,7 +71,7 @@
}
/**
- * Create Login activity
+ * @{inheritDoc}
*/
@Override
public void onCreate(Bundle savedInstanceState) {
@@ -123,16 +123,25 @@
}
+ /**
+ * Listener use to check the state of the connection with the server.
+ */
private class BeemConnectionListener extends IBeemConnectionListener.Stub {
+ /**
+ * Constructor
+ */
+ public BeemConnectionListener() { }
+
private class ErrorRunnable implements Runnable {
private final String mErrorMsg;
/**
* Constructor.
+ * @param errorMsg The message to display.
*/
- public ErrorRunnable(String errorMsg) {
+ public ErrorRunnable(final String errorMsg) {
mErrorMsg = errorMsg;
}
@@ -146,6 +155,9 @@
}
+ /**
+ * @{inheritDoc}
+ */
@Override
public void connectionClosed() throws RemoteException {
Log.e("Login", "CONNECTIONCLOSED");
@@ -232,7 +244,7 @@
}
/**
- * ServiceConnection use to connect to the Beem Service
+ * ServiceConnection use to connect to the Beem Service.
*/
private class BeemServiceConnection implements ServiceConnection {
private IXmppConnection mXmppConnection;