How to get absolute path from Android gridview thumbnail? -
i developing android video gallery application. managed fetch thumbnails storage , show them in grid-view. now, how can original video file path clicking each thumbnail ?
here code :
mgridview.setadapter(madapter); mgridview .setonitemclicklistener(new adapterview.onitemclicklistener() { @override public void onitemclick( adapterview<?> adapterview, view view, int i, long l) { toast.maketext(getapplicationcontext(), "video path", toast.length_short).show(); } });
Comments
Post a Comment