hyphenate_SDK3.0  3.0.1
hyphenatejavaIMSDK
Static Public Member Functions | List of all members
com.hyphenate.util.EasyUtils Class Reference

Static Public Member Functions

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)
 

Detailed Description

various util calss

Member Function Documentation

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

Parameters
stringName
Returns
static boolean com.hyphenate.util.EasyUtils.isSdcardExist ( )
static

检测Sdcard是否存在

Returns

The documentation for this class was generated from the following file: