- getApplication() - 类 中的静态方法com.codepoem.vutils.utils.ToastUtils
-
已过时。
- getCachePath(Context, String) - 类 中的静态方法com.codepoem.vutils.utils.StorageUtils
-
获取app缓存路径
- getDeviceBrand() - 类 中的静态方法com.codepoem.vutils.utils.SystemUtils
-
获取手机厂商
- getFilesPath(Context, String) - 类 中的静态方法com.codepoem.vutils.utils.StorageUtils
-
获取app文件数据路径
- getFreeBytes(String) - 类 中的静态方法com.codepoem.vutils.utils.StorageUtils
-
获取指定路径所在空间的剩余可用容量字节数,单位byte
- getHeight(View) - 类 中的静态方法com.codepoem.vutils.utils.ViewUtils
-
获取控件高
- getIMEI(Context) - 类 中的静态方法com.codepoem.vutils.utils.SystemUtils
-
获取手机IMEI(需要“android.permission.READ_PHONE_STATE”权限)
- getInstance() - 类 中的静态方法com.codepoem.vutils.utils.ActivityUtils
-
Activity栈单例
- getRootDirectoryPath() - 类 中的静态方法com.codepoem.vutils.utils.StorageUtils
-
获取系统存储路径
- getScreenHeight(Context) - 类 中的静态方法com.codepoem.vutils.utils.ScreenUtils
-
获取屏幕尺高度
- getScreenWidth(Context) - 类 中的静态方法com.codepoem.vutils.utils.ScreenUtils
-
获取屏幕宽度
- getSDCardAllSize() - 类 中的静态方法com.codepoem.vutils.utils.StorageUtils
-
获取SD卡的剩余容量 单位byte
- getSDCardPath() - 类 中的静态方法com.codepoem.vutils.utils.StorageUtils
-
获取SD卡路径
- getStatusBarHeight(Context) - 类 中的静态方法com.codepoem.vutils.utils.ScreenUtils
-
.获取当前设备状态栏高度
- getSystemLanguage() - 类 中的静态方法com.codepoem.vutils.utils.SystemUtils
-
获取当前手机系统语言。
- getSystemLanguageList() - 类 中的静态方法com.codepoem.vutils.utils.SystemUtils
-
获取当前系统上的语言列表(Locale列表)
- getSystemModel() - 类 中的静态方法com.codepoem.vutils.utils.SystemUtils
-
获取手机型号
- getSystemVersion() - 类 中的静态方法com.codepoem.vutils.utils.SystemUtils
-
获取当前手机系统版本号
- getToast() - 类 中的静态方法com.codepoem.vutils.utils.ToastUtils
-
Get a Toast object
Need to call show() method to be displayed
- getVersionCode(Context) - 类 中的静态方法com.codepoem.vutils.utils.VersionUtils
-
get App versionCode
VersionCode升级App版本时用
- getVersionName(Context) - 类 中的静态方法com.codepoem.vutils.utils.VersionUtils
-
get App versionName
VersionName显示给用户
- getWidth(View) - 类 中的静态方法com.codepoem.vutils.utils.ViewUtils
-
获取控件宽