[android-developers] Re: problem in List Activity

2009-09-18 Thread Marco Nelissen
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 1

[android-developers] Re: problem in List Activity

2009-09-18 Thread Ne0
My suggestion is to have a read here http://developer.android.com/reference/android/widget/ListView.html and check out some Android tutorials if you are new to Android development. Liam On 18 Sep, 14:53, ragavendran s wrote: > This is my code: > > public class mywedding extends ListActivity {

[android-developers] Re: problem in List Activity

2009-09-18 Thread ragavendran s
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[] opti

[android-developers] Re: problem in List Activity

2009-09-18 Thread Ne0
Some code would be helpful, else your problem will not get solved! On 18 Sep, 14:24, ragavendran s wrote: > i m having ListActivity displays list views normalwhenever i click on > that particular item from the list it doesn't works (i.e) it does not calls > the another classcan u tel me