You need to use android:id="@android:id/list" for your ListView, if
you are going to use ListActivity. This is documented here:

http://developer.android.com/reference/android/app/ListActivity.html

On Sat, Jul 10, 2010 at 10:29 AM, adar grof <[email protected]> wrote:
> hi, I've tried to write some ListActivity activities, and no matter
> how I write it or even if I directly copy it from a website like the
> SDK-refernce's it won't work...
>
> I manage to run a ListView if I create a ListView object and
> instantiate it, and for some reason, running it from a class extending
> ListActivity won't work and just freeze after it loads and installs
> successfully to the emulator device.
>
>
> This is the simplest snipper I could make, and it just won't run>,>
> (including main and manifest XMLs)
>
> http://pastebin.com/ujNSpHhW
>
> Thank you in advance.
>
> --
> 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
>



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

Android App Developer Books: http://commonsware.com/books

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

Reply via email to