Why don't you have a total? You are the one that controls that...
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Wed, Apr 11, 2012 at 1:52 AM, deb-account <theedge456@free.fr> wrote:
On 11/04/12 09:31, Tom wrote:Do you mean total is null or msg is null ?
I think I have a problem in my "final Handler handler = new Handler" -
method.
My progressbar declaration is :
progDialog.setProgressStyle(ProgressDialog.STYLE_SPINNER);
But the handler dismis the dialog only when:
int total = msg.getData().getInt("total");
progDialog.setProgress(total);
if (total<= 0){
dismissDialog(0);
progThread.setState(ProgressbarThread.DONE);
}
But I have no "total".
Did you try the debug mode ?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment