i have a listactivity app , consist of 5 rows , each row cotain one TEXT and 5 BUTTON , both text and buttons are clickable , text will open MyDay activity whic is textview and
At this link https://gist.github.com/3463215 I've posted a version of My_videos class that will do what you want. Basically, in the MyArrayAdapter class when a Button is clicked you will send in the Intent the row where that Button was clicked + the exact Button that was clicked in that row. Then in the My_videos class you'll get this numbers and easily find the correct video in an array of arrays data structure.