Class EnvironmentUtilities

java.lang.Object
com.baidu.mapapi.common.EnvironmentUtilities

public class EnvironmentUtilities extends Object
系统环境工具 得到SD卡,屏幕等手机环境信息
Author:
fuliqiang
  • Constructor Details

    • EnvironmentUtilities

      public EnvironmentUtilities()
  • Method Details

    • initAppDirectory

      public static void initAppDirectory(android.content.Context ctx)
      初始化应用目录及缓存
    • getSDCardPath

      public static String getSDCardPath()
      获取sd卡的路径
      Returns:
    • setSDCardPath

      public static void setSDCardPath(String strSDcardPath)
      设置sd卡路径
      Parameters:
      strSDcardPath -
    • getAppSDCardPath

      public static String getAppSDCardPath()
      获取程序读写的SDCard根目录
    • getAppCachePath

      public static String getAppCachePath()
    • getAppSecondCachePath

      public static String getAppSecondCachePath()
    • getMapTmpStgMax

      public static int getMapTmpStgMax()
    • getDomTmpStgMax

      public static int getDomTmpStgMax()
    • getItsTmpStgMax

      public static int getItsTmpStgMax()
    • getSsgTmpStgMax

      public static int getSsgTmpStgMax()