code: public static boolean checkFolderForPackaging(String folderName) {
          return !folderName.equalsIgnoreCase("CVS") &&
                  !folderName.equalsIgnoreCase(".svn") &&
                  !folderName.equalsIgnoreCase("SCCS") &&
                  !folderName.startsWith("_");
      }
docs: Checks whether a folder and its content is valid for packaging into the .apk as
  standard Java resource.
  @param folderName the name of the folder.