I am trying to create a list view where each item will open up a new
view and display a picture and text describing the item when said item
is selected. I am working with this tutorial

novice-tutorials-f8/opening-windows-i-e-webbrowser-reacting-on-clicks-
t22.html?hilit=reacting%20on%20Clicks

so is there a way i can use this code to open up a new view

[co...@override
    protected void onListItemClick(ListView l, View v, int position,
long id){
       super.onListItemClick(l, v, position, id);

       // Get the item that was clicked
       Object o = this.getListAdapter().getItem(position);
       String keyword = o.toString();

       // Create an VIEW intent
       Intent myIntent = null;
      // The intent will open our anddev.org-board and search for the
keyword clicked.
      myIntent = new Intent("android.intent.action.VIEW",
         Uri.parse ("" + keyword + "")
         );
      // Start the activity
       startActivity(myIntent);
    }
}[/code]

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