problem with the ListView and Menu

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

problem with the ListView and Menu

Postby adithya.p » Wed Nov 26, 2008 2:13 pm

Having items shown in the ListActivity.It has got menu option such as "New event type","modify event type."

i am traversing through the items using keys.At some point if i click on menu options and selecting modify event type i need to get which item in the listactivity is in focus.

Bascially i need the realtion exist between ListView and Menu options.
device1.png (14.52 KiB) Viewed 330 times
Once Poster
Once Poster
Posts: 1
Joined: Thu Nov 13, 2008 9:16 am


Re: problem with the ListView and Menu

Postby jagtap.jj1 » Fri Nov 28, 2008 12:25 pm

Hello Aditya

Have you tried by using ListActivity's function getSelectedItemId().
java-android developer
User avatar
Senior Developer
Senior Developer
Posts: 124
Joined: Fri Aug 22, 2008 11:52 am
Location: India(Mumbai)


Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 1 guest