2013-08-30 6 views
-1

당신의 도움이 필요합니다 ... 앱을 가지고 있는데, onCreate()에 스플래시 화면이 있습니다. 다음은 코드입니다.Android - 앱이 다운 됨

public class MainActivity extends Activity { 
private final int SPLASH_DISPLAY_LENGHT = 3000; 
@Override 
    public void onCreate(Bundle icicle) { 
     super.onCreate(icicle); 
     super.setTheme(R.style.Fullscreen); 
     setContentView(R.layout.activity_main); 

     /* New Handler to start the Menu-Activity 
     * and close this Splash-Screen after some seconds.*/ 
     new Handler().postDelayed(new Runnable(){ 
      @Override 
      public void run() { 
       /* Create an Intent that will start the Menu-Activity. */ 
       Intent mainIntent = new Intent(MainActivity.this,List.class); 
       MainActivity.this.startActivity(mainIntent); 
       MainActivity.this.finish(); 
      } 
     }, SPLASH_DISPLAY_LENGHT); 
    } 

Macbook air, Insalled Ubuntu에서 OS X를 제거하고 프로젝트를 가져 왔습니다. 이제 그냥 충돌 ... 나 좀 도와 줄래? 더 자세한 내용이 필요하면 부탁드립니다!

답변

0

가져온 유틸리티를 삭제하고 다시 가져 왔습니다 ... 이제는 정상적으로 작동합니다.

관련 문제