It is really difficult to read your code, with the Google Groups 
word-wrapping and your commented-out lines.

That being said:

>                                 participants = new String [2];
>                                 participants[1] = "cucu";
>                                 participants[2] =
> "ffffffffffffffffffffffffgggggggggggggggggggggggggggggggggggg";

Arrays in Java start with index 0, not 1.

> <?xml version="1.0" encoding="UTF-8"?>
> 
> <TextView xmlns:android="http://schemas.android.com/apk/res/android";
>                 id="textview" android:textStyle="bold" 
> android:singleLine="false"
>                 android:layout_width="fill_parent"
>                 android:layout_height="wrap_content" />

In the M5 edition of the SDK, it should be android:id, not just id.

> The result I am able to get right now is a neat looking transparent
> dialog, with a title and a ListView object in it. However, the
> ListView object only shws a veeeery thin orange vertical line on the
> left side. And one can  actually see how that thin line shifts colours
> as I press the arrowkeys to select Items in the ListView. Only thing
> is that there are not 2 items as I intented to be, but some 5-6 items.
> After the 5th or 6th, if  pressed 'down arrow' again, a
> nullpointerexception is thrown.

My guess is that's the garbage text in the unassigned participants[0], 
but that is just a guess.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android Training on the Ranch in September! http://www.bignerdranch.com

--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to