I tried several different id names and none of them worked, but I just tried my app on a different computer and it worked fine with three button id's in the dialog (which is what crashed the emulator on my other one ). I will try to recreate the problem on the original computer and post the full log
On Jul 27, 10:54 am, TreKing <[email protected]> wrote: > On Wed, Jul 27, 2011 at 9:34 AM, DB12 <[email protected]> wrote: > > if im reading it correctly it says > > "java.lang.ClassCastException: android.widget.button" > > You want to just post the full stack trace you get? Particularly the part > including and after the "Caused by" line. > > is there a limit to the amount of buttons you can have in a custom dialog? > > > > No and this does not indicate that would be the problem. Did you try a > different id other than "random"? > > ------------------------------------------------------------------------------------------------- > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago > transit tracking app for Android-powered devices -- 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] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

