liontron 0.0.4
liontron: ^0.0.4 copied to clipboard
亮钻SDK
亮钻科技SDK #
使用该SDK之前需要先获取系统权限, AndroidMainfest.xml中需要设定android:sharedUserId="android.uid.system"
例如:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:sharedUserId="android.uid.system">
</manifest>
实现功能 #
getEthMacAddress获取网口Mac地址getSerialNumber获取序列号(需要获取系统权限7.1-11)getInternalStoragePath获取内部存储路径getStorageCardPath获取存储卡路径getUsbStoragePath获取USB存储路径getStorageSize获取存储大小installApplication应用静默安装setKeepAlive设置应用保活setBoot设置开机自启动