import android.app.Activity;
import android.content.Intent;
import android.widget.Toast;
public class ActivityBase extends Activity{
protected void showMsg (String pMsg,int showTime) {
Toast.makeText(this,pMsg,Toast.LENGTH_LONG).show();
}
protected void openActivity (Class<?> pClass){
Intent _Intent = new Intent();
_Intent.setClass(this,pClass);
startActivity(_Intent);
}
}