And what were you expecting that code to do?
The code you posted will display a list showing a few items. If you
want something to happen when any of those items are selected, you'll
have to write code for that too. You'll probably want to implement
your Activity's onListItemClick.


On Fri, Sep 18, 2009 at 6:53 AM, ragavendran s <[email protected]> wrote:
> This is my code:
>
>
> public class mywedding extends ListActivity {
>     /** Called when the activity is first created. */
>     @Override
>     public void onCreate(Bundle savedInstanceState) {
>         super.onCreate(savedInstanceState);
>         //setContentView(R.layout.main);
>         final String[] options1 = new String[] {"My Wedding To Do List","My
> Reminders","My Appointments"
>                 ,"My Vendors","My Gift Tracker","My Wedding Budget
> Calculator","My Vows","My Images","My Invitations","My Honeymoon",""};
>         setListAdapter(new ArrayAdapter<String>(this,
>                 android.R.layout.simple_list_item_1, options1));
>         getListView().setTextFilterEnabled(true);
>
>
>     }
>
> On Fri, Sep 18, 2009 at 7:04 PM, Ne0 <[email protected]> wrote:
>>
>> Some code would be helpful, else your problem will not get solved!
>>
>> On 18 Sep, 14:24, ragavendran s <[email protected]> wrote:
>> > i m having ListActivity displays list views normal....whenever i click
>> > on
>> > that particular item from the list it doesn't works (i.e) it does not
>> > calls
>> > the another class....can u tel me how to solve this....
>> >
>> > Thanks in advance...
>> >
>> > with Regards,
>> > Raghav.S
>>
>
>
> >
>

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