Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Utility {
- static File f1;
- static String folder = null ;
- Intent i;
- Intent intent ;
- TextView textHeading1;
- static File[] files;
- static File file ;
- static List <String> it ;
- public static List <String> getSD()
- {
- it = new ArrayList <String>();
- String string = "/mnt/sdcard/Pictures/Awesome/";
- f1 = new File (string+ CameraLauncherActivity.folder+ "/");
- files = f1.listFiles ();
- for (int i = 0; i < files.length; i++)
- {
- file = files[i];
- Log.d("Count",file.getPath());
- it.add (file.getPath());
- }
- return it;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement