Hello,
I ran into the exact same exception (IllegalArgumentException). I
realized I should not call show() and dismiss() within the same
thread. While the original problem did get an issue even when calling
these in different threads I am afraid I cannot contribute to a
solution directly, but it might help some to look at what worked for
me (with M5 RC15 Windows).
public class Configure extends Activity {
//...
protected ProgressDialog pdVerification;
// listeners
protected OnClickListener bSaveListener = new OnClickListener()
{
public void onClick(View v)
{
pdVerification =
ProgressDialog.show(Configure.this,null,
"Please wait while we are
verifying your input...",
true);
new Thread() {
public void run() {
store.storeConfig(
etUserId.getText().toString(),
etPassword.getText().toString(),
gcal_url,
Double.parseDouble(etInterProb.getText().toString()));
pdVerification.dismiss();
}
}.start();
}
};
Cheers,
Ben
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---