Utils¶
-
public class
Utils
¶
Methods¶
bytesToHex¶
getIPAddress¶
getMACAddress¶
getResourcePathByAssetCopy¶
-
public static String
getResourcePathByAssetCopy
(Context ctx, String assetSubFolder, String fileToCopy)¶ Copy the specified resource file from the assets folder into the “files dir” of this application, so that this resource can be opened by the Voip Lib by providing it the absolute path of the copied resource
Parameters: - ctx – The application context
- assetPath – The path of the resource (e.g on_hold.wav or sounds/on_hold.wav)
Returns: the absolute path of the copied resource, or null if no file was copied.