X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=service%2Fthings-manager%2Fsampleapp%2Fandroid%2Fcon-server%2Fsrc%2Fcom%2Fexample%2Fcon_server%2FMainActivity.java;h=1acdc3bfbe0bba61f6da10b76913d89523059ffc;hb=8c01dff2c5bc5496f7dc1632c498943ec6ecb015;hp=63d92869ee84fccc14ca56fed60171f79d3a3ce8;hpb=935fdb9b67b6c10d007e652e9e2e028fd6ccfe09;p=platform%2Fupstream%2Fiotivity.git diff --git a/service/things-manager/sampleapp/android/con-server/src/com/example/con_server/MainActivity.java b/service/things-manager/sampleapp/android/con-server/src/com/example/con_server/MainActivity.java index 63d9286..1acdc3b 100644 --- a/service/things-manager/sampleapp/android/con-server/src/com/example/con_server/MainActivity.java +++ b/service/things-manager/sampleapp/android/con-server/src/com/example/con_server/MainActivity.java @@ -46,7 +46,7 @@ import android.widget.EditText; */ public class MainActivity extends Activity { - private final String LOG_TAG = this.getClass().getSimpleName(); + private final String LOG_TAG = "[CON-SERVER]" + this.getClass().getSimpleName(); private Handler mHandler; private static MainActivity mainActivityObj; private ConfigurationServer conServerObj; @@ -72,6 +72,7 @@ public class MainActivity extends Activity { switch (msg.what) { case 0: editText.setText(message); + Log.i(LOG_TAG, message); } } }; @@ -124,6 +125,7 @@ public class MainActivity extends Activity { AlertDialog dialog = dialogBuilder.create(); dialog.show(); + Log.i(LOG_TAG, "WiFi is not enabled/connected! Please connect the WiFi and start application again..."); return; } @@ -162,6 +164,7 @@ public class MainActivity extends Activity { dialog.setProgress(0); dialog.setMax(100); dialog.show(); + Log.i(LOG_TAG, "Rebooting.. Please wait ..."); Thread thread = new Thread() { @Override public void run() {