SPUtils
摘要:
import android.content.Context; import android.content.SharedPreferences; import com.google.gson.Gson; import com.google.gson.reflect.TypeToken; impor
RoomDatabase
摘要:
import android.content.Context; import androidx.room.Database; import androidx.room.Room; import androidx.room.RoomDatabase; import com.systemui.plugi
Settings.Global
摘要:
public class SetGlobal { private static SetGlobal sg; private static Context mContext; public static final String key = "negativescreen_dataKey"; publ
DrawerLayout配合WindowManager在service中使用
摘要:
1.原理理解 抽屉组件依附在WindowManager上,WindowManager大于DrawerLayout,因此DrawerLayout抽出和放回是基于WindowManager已经展示出来的情况。 2.布局文件 <?xml version="1.0" encoding="utf-8"?> <
在群辉NAS中安装MAC系统
摘要:
1.登录群辉后,打开docker应用 ##2.打开设置,这里需要设置下镜像下载的加速器配置,不然下载速度会很慢,而且下着下着就断了,无法正常下载mac os 的镜像文件 3.点击编辑,填入阿里的加速地址 4.阿里加速地址获取 5.上面填完后,确认即可 6.搜索注册表,并下载 7.下载完成后,大约3G
安装APK时报错:Failure [INSTALL_FAILED_TEST_ONLY: installPackageLI]
摘要:
可以使用adb install -t 解决 其他adb命令 adb install 一共有lrtsdg六个选项 -l 锁定该应用程序 -r 替换已存在的应用程序,也就是说强制安装 -t 允许测试包 -s 把应用程序安装到sd卡上 -d 允许进行将见状,也就是安装的比手机上带的版本低 -g 为应用程序