hyphenate_SDK3.0  3.0.1
hyphenatejavaIMSDK
静态 Public 成员函数 | 所有成员列表
com.hyphenate.util.EasyUtils类 参考

静态 Public 成员函数

static boolean isAppRunningForeground (Context ctx)
 
static String getTopActivityName (Context ctx)
 
static boolean isSingleActivity (Context ctx)
 
static List< String > getRunningApps (Context ctx)
 
static String getTimeStamp ()
 
static boolean writeToZipFile (byte[] data, String filePath)
 
static String getAppResourceString (Context context, String stringName)
 
static String convertByteArrayToString (byte[] input)
 
static boolean isSdcardExist ()
 
static boolean copyFile (String oldPath, String newPath)
 
static boolean copyFolder (String oldPath, String newPath)
 

详细描述

various util calss

成员函数说明

static String com.hyphenate.util.EasyUtils.getAppResourceString ( Context  context,
String  stringName 
)
static

get the string from app context by using the string name because of the performance issue, we will keep to string in hashmap to avoid the resource lookup

参数
stringName
返回
static boolean com.hyphenate.util.EasyUtils.isSdcardExist ( )
static

检测Sdcard是否存在

返回

该类的文档由以下文件生成: