How to get a progress bar on button click?

You can show the ProgressDialog in the NewActivity if it takes some time in getting rss feeds: take help from the following code.

You can show the ProgressDialog in the NewActivity if it takes some time in getting rss feeds: take help from the following code: dialog = ProgressDialog. Show(mParent,"","Loading,Please wait...", true); final Thread t=new Thread(new Runnable() { public void run() { //get your rss feeds here } }); t.start(); Thread t1=new Thread(new Runnable() { public void run() { // TODO Auto-generated method stub try { t.join(); } catch (InterruptedException e) { // TODO Auto-generated catch block e.printStackTrace(); } new Handler(). Post(new Runnable() { public void run() { dialog.cancel(); UpdateDisplay(); } }); } }); t1.start(); Hope you can understand what the above code is doing.

Customized it a bit and use...:).

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions


Thank You!
send