Android Open Source - surveygcp File List






From Project

Back to project page surveygcp.

License

The source code is released under:

GNU General Public License

If you think the Android project surveygcp listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package org.droidplanner.gcp.file;
//  ww  w .j  ava2 s . c  om
import java.io.File;
import java.io.FilenameFilter;

public class FileList {
  static public String[] getKMZFileList() {
    FilenameFilter filter = new FilenameFilter() {
      public boolean accept(File dir, String filename) {
        return filename.contains(".kml") || filename.contains(".kmz");
      }
    };
    String gcpPath = DirectoryPath.getGCPPath();
    return getFileList(gcpPath, filter);
  }

  static public String[] getFileList(String path, FilenameFilter filter) {
    File mPath = new File(path);
    try {
      mPath.mkdirs();
      if (mPath.exists()) {
        return mPath.list(filter);
      }
    } catch (SecurityException e) {
    }
    return new String[0];
  }

}




Java Source Code List

android.UnusedStub.java
org.droidplanner.gcp.GCPApp.java
org.droidplanner.gcp.activitys.GCPActivity.java
org.droidplanner.gcp.activitys.SettingsActivity.java
org.droidplanner.gcp.dialogs.openfile.OpenFileDialog.java
org.droidplanner.gcp.dialogs.openfile.OpenGcpFileDialog.java
org.droidplanner.gcp.file.DirectoryPath.java
org.droidplanner.gcp.file.FileList.java
org.droidplanner.gcp.file.IO.GcpReader.java
org.droidplanner.gcp.fragments.GcpMapFragment.java
org.droidplanner.gcp.fragments.helpers.OfflineMapFragment.java
org.droidplanner.gcp.fragments.markers.GcpMarker.java
org.droidplanner.gcp.fragments.markers.MarkerManager.java
org.droidplanner.gcp.gcp.Gcp.java
org.droidplanner.gcp.helpers.LocalMapTileProvider.java
org.droidplanner.gcp.helpers.TTS.java