随笔分类 -  android

摘要:在Android头部中获取Android.Content.Context对象,可以通过以下方法实现: 通过Activity的getContext()方法获取Context对象: 通过Activity的getContext()方法获取Context对象: 通过View的getContext()方法获取 阅读全文
posted @ 2024-12-10 15:09 opensmarty 阅读(93) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2024-05-16 15:41 opensmarty 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2024-05-14 09:34 opensmarty 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2024-05-11 10:01 opensmarty 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2024-05-10 18:04 opensmarty 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2024-05-08 10:33 opensmarty 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2024-05-08 10:33 opensmarty 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2024-05-07 15:36 opensmarty 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2024-04-29 17:49 opensmarty 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2024-04-29 16:56 opensmarty 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2024-04-28 18:33 opensmarty 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2024-04-28 18:25 opensmarty 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2024-04-28 17:42 opensmarty 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2024-04-25 15:13 opensmarty 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2024-04-25 11:16 opensmarty 阅读(0) 评论(0) 推荐(0)
摘要:1.获取包管理器对象 PackageManager pm = context.getPackageManager(); 2.得到所有安装的程序包名 List<PackageInfo> infos = pm.getInstallPackages(PackageManager.GET_UNINSTALL 阅读全文
posted @ 2024-04-23 17:52 opensmarty 阅读(23) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2024-04-23 17:48 opensmarty 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2024-04-23 11:49 opensmarty 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2024-04-23 11:01 opensmarty 阅读(0) 评论(0) 推荐(0)