my Activity extending ListActivity,null pointer exception when i select a list item which overstep the screen. why

by george » Sat, 07 Feb 2009 02:19:40 GMT


Sponsored Links
 code:
    @Override
    protected void onListItemClick(ListView l, View v, int position,
long id)
    {
        LinearLayout line = (LinearLayout)getListView().getChildAt
(position);
    }

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. UI design for Board Game

Hi,

I need to design a board UI using android platform. i was planning to
take one image as board and moving the required images over the board.
How do i achieve the same? I need to find the coordinates for image
and need to move the required images to specifies coordinates. Is
there any andorid api for this?

Prakhy

2. problem with adb

Had to do a reinstall of Eclipse.  All software is where it needs to
be, but when you fire up Eclipse, this error keeps coming up; failed
to parse the output of 'adb version.   Try and restart adb and restart
eclipse.'
Done all that a million times....but still won't work.  Any ideas on
this problem....thanks for the help...Rc3375

3. drawing a texture on screen

4. problem with onListItemClick()

5. ADB and Eclipse Losing Contact with Emulator

6. Can't install SDK, HTTPS Error

7. Android Development Article