2011-08-24 5 views
0

이 코드를 사용하여 진행 대화 상자를 표시하려고합니다. 진행 대화 상자가 적용되지 않습니다.

pd = ProgressDialog.show(v.getRootView().getContext(), "", "Please Wait....",true,true); 
       MyThread mt = new MyThread(SAVE1); 
       mt.setPriority(Thread.MIN_PRIORITY); 
       mt.start(); 
pd = ProgressDialog.show(v.getRootView().getContext(), "", "Please Wait....",true,true); 
       MyThread mt = new MyThread(SAVE1); 
       mt.setPriority(Thread.MIN_PRIORITY); 
       mt.start(); 

하지만 진행률 대화 상자가 진행률 대화 상자 (예 : 일부 이미지 반올림)가 아닌 경우에만 볼 수 있습니다.

+0

내가 데이터를로드 –

+0

여기에 내 대답을 참조입니다 때까지 당신이 진행 막대를로드 할 필요가 있다고 생각 http://stackoverflow.com/questions/6894698/rotating-wheel-progress-dialog-while-deleting-folder- from-sd-card/6894744 # 6894744 (도움이된다면 –

답변

0
pd = ProgressDialog.show(yourRunningActivity.this, "loading", "Please Wait...."); 
       MyThread mt = new MyThread(SAVE1); 
       mt.setPriority(Thread.MIN_PRIORITY); 
       mt.start(); 
관련 문제