The official site for Android developers. Provides the Android SDK and documentation for app developers and designers.
private File[] getJpgFiles(File f){ File[] files = f.listFiles(new FilenameFilter(){ @Override public boolean accept(File dir, String filename) { return filename.toLowerCase().endsWith(".jpg"); }}); return files; }