*/
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;
switch (msg.what) {
case 0:
editText.setText(message);
+ Log.i(LOG_TAG, message);
}
}
};
AlertDialog dialog = dialogBuilder.create();
dialog.show();
+ Log.i(LOG_TAG, "WiFi is not enabled/connected! Please connect the WiFi and start application again...");
return;
}
dialog.setProgress(0);
dialog.setMax(100);
dialog.show();
+ Log.i(LOG_TAG, "Rebooting.. Please wait ...");
Thread thread = new Thread() {
@Override
public void run() {