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 -

dns - Dokku server hosts two sites with TLD's, both domains are landing on only one app -

Delphi 7 and decode UTF-8 base64 -