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

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

how to prompt save As Box in Excel Interlop c# MVC 4 -

xslt 1.0 - How to access or retrieve mets content of an item from another item? -