android - How to pass Intent Extras? -
public class menus extends activity { //set constants mediastore query, , show videos private final static uri media_external_content_uri = mediastore.video.media.external_content_uri; private final static string _id = mediastore.video.media._id; private final static string media_data = mediastore.video.media.data; //flag 1 used images selection private gridview _gallery; private cursor _cursor; private int _columnindex; private int[] _videosid; private uri _contenturi; protected context _context; /** called when activity first created. */ @override public void oncreate(bundle savedinstancestate) { super.oncreate(savedinstancestate); setcontentview(r.layout.main); _context = getapplicationcontext(); _gallery = (gridview) findviewbyid(r.id.videogrdvw); //set default external/sdcard uri _contenturi = media_external_content_uri; //initialize videos uri //showtoast(_contenturi.getpath()); initvideosid(); //set gallery adapter setgal...