ProgressDialog problem.

Put your problem here if it does not fit any of the other categories.

ProgressDialog problem.

Postby x-files » Thu Jan 24, 2008 3:43 pm

I use

Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. ProgressDialog.show(ImageState.this, "title", "message");
  2.  
  3.  
Parsed in 0.030 seconds, using GeSHi 1.0.8.4

It's work fine.

But

Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1.  Button cancel = new Button(this);
  2.  
  3.         cancel.setLayoutParams(new TableLayout.LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT));
  4.  
  5.         cancel.setText("Cancel");
  6.  
  7.         ProgressDialog.show(context, "title", cancel);
Parsed in 0.031 seconds, using GeSHi 1.0.8.4


method show(...) throws ClassCastException
x-files
Developer
Developer
 
Posts: 44
Joined: Fri Jan 11, 2008 10:27 am

Top

Postby plusminus » Thu Jan 24, 2008 5:29 pm

Hello x-files,

tried some minutes on my own and did not succeed (same Exception). Its hard to guess whats the problem, because the SDK-Documentation once again lacks in :src: this part :( .

Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 24 guests