Hi,  I also have a similar problem. I managed to have a ListActivity
(using contacts) work successfully on its own (as a seperate project)
but as soon i tried to merge this code in the prototype i am
developing i am having trouble. In my project I created a new class
which extends the ListActivity and from My main application whenever i
create an instance of this class i do not manage to get the List i was
getting before. Should i paste the code here to understand my problem
better? It is a well known sample available online.

Thanks

On Nov 12, 1:24 pm, Mark Murphy <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > Sorry, I didn't make it very clear.
>
> > What I'm after is to have an Activiy composed of several views. One of
> > them should be a View similar to the one ofListActivity.
>
> > Ideally, I would have some layout defined in an XML file, reference
> > that in my Java code, and based on some I/O operation, populate a View
> > (like that one ofListActivity) and attached it to my main activity.
> > Hope that's a bit clearer now.
>
> Just use a ListView. You do not need to use aListActivityto use a
> ListView.
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
>
> Android Training on the Ranch! -- Mar 16-20, 
> 2009http://www.bignerdranch.com/schedule.shtml
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to