Wednesday, July 13, 2011

Re: [android-developers] How come extending ListActivity results in a crash

On Wed, Jul 13, 2011 at 5:54 PM, Steven Bruce <stevebruce24@gmail.com> wrote:
> I have changed my Bluetooth class from extends Activity to extends
> ListActivity. Now everytime I run the program.... BOOM!! It bombs out!

Use adb logcat, DDMS, or the DDMS perspective in Eclipse to examine
LogCat and look at the stack trace associated with your "BOOM". My
guess is that you are missing the required android:id value of the
ListView if you are supplying your own layout.

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, One Low Price!

--
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