How to fetch files and folders from my google drive to show these in my app?

view story

http://stackoverflow.com – Here is my code: private void listfiles(Drive s )throws IOException { Toast.makeText(getApplicationContext(), "Inside listfiles now", Toast.LENGTH_LONG).show(); List<File> result = new ArrayList<File>(); Files.List request = s.files().list(); Toast.makeText(getApplicationContext(), "list extracted", Toast.LENGTH_LONG).show(); do { try { Toast.makeText(getApplicationContext(), "executing", Toast.LENGTH_LONG).show(); FileList files = request.execute(); Toast.makeText(getApplicationContext(), "Executed", Toast.LENGTH_LONG) (HowTos)