안드로이드 개발 질문/답변
(글 수 45,052)
안녕하세요..
A라는 Activity에서 B라는 Activity를 실행을 합니다.
그런데 이상하게도 B라는 Activity가 약 10초 있다가 뜨더라구요. ㅡㅡ;;;;
다른 activity를 테스트 해보니 바로 바로 실행이 되더라구요.
혹시 이런 문제 경험 해보신 분 계신가요?
아래에는 B라는 activity의 create 에 있는 내용입니다.
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,WindowManager.LayoutParams.FLAG_FULLSCREEN);
requestWindowFeature(Window.FEATURE_NO_TITLE);requestWindowFeature(Window.FEATURE_NO_TITLE);
setContentView(R.layout.alarm_alert);
intent = getIntent();
m_strError = intent.getStringExtra("error");
m_strTitle = intent.getStringExtra("title");
context = this.getApplicationContext();
TextView textTitle = (TextView)findViewById(R.id.alertTitle);
textTitle.setText(m_strTitle);
TextView textMsg = (TextView)findViewById(R.id.ErrorText);
textMsg.setText(m_strError);
Button button = (Button) findViewById(R.id.close);
button.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
ExitApp(context);
}
});


