Use adb logcat, DDMS, or the DDMS perspective in Eclipse to examine
LogCat and look at the stack trace associated with your error.

On Fri, May 27, 2011 at 3:06 PM, Nermeen Nasim <[email protected]> wrote:
>
> ive made a table layout like 4 quadrants, i need to show 1 list for
> each quadrant. ive assigned id's to TextViews, ive tried listviews as
> well by using
>
> final String[] Cities = new String[] {"karachi", "Lahore", "Bangol",
> "Islamabad", "Muree"}; ListView
> lv1=(ListView)this.findViewById(R.id.listview1);
>
>    ArrayAdapter<String> list1 = new ArrayAdapter<String>(
>            this, android.R.layout.simple_list_item_1,Cities);
>    lv1.setAdapter(list1);
> this is the simplest code ive seen and used but, there occurs error
> and application stops Unexpectedly... ??
>
> does any one know the correct code to display even 2 lists at a time?
> or should i use some other views for that?
>
> --
> 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 Training in Oslo: http://bit.ly/fjBo24

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