import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
+import android.util.Log;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.AdapterView;
public static Context mcontext;
public static Calendar scheduleTime;
+ private final String LOG_TAG = "[TMSample] "
+ + this.getClass()
+ .getSimpleName(); ;
+
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
case 1:
logs.setText("");
logs.setText(logMessage);
+ Log.i(LOG_TAG, logMessage);
}
}
};
@Override
public void onBackPressed() {
super.onBackPressed();
- // unregister the resource and set callback listener to null
- groupClientObj.leaveGroup();
}
// for update UI these functions will be called from GroupClient Class
public void displayToastMessage(String message) {
Toast toast = Toast.makeText(this, message, Toast.LENGTH_SHORT);
toast.show();
+ Log.i(LOG_TAG, message);
}
}