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

swift - Button on Table View Cell connected to local function -

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

c# - ajax - How to receive data both html and json from server? -