当前位置:网站首页>Auto.js 获取手机所有app名字
Auto.js 获取手机所有app名字
2022-07-06 23:06:00 【宴西笔记】
intent = new Intent();
intent.setAction(Intent.ACTION_MAIN);
intent.addCategory(Intent.CATEGORY_LAUNCHER);
packageManager = context.getPackageManager();
resolveInfos = packageManager.queryIntentActivities(intent, 0);
for(var i=0;i<resolveInfos.size();i++){
packageName = resolveInfos.get(i).activityInfo.packageName; //包名
appicon = resolveInfos.get(i).loadIcon(packageManager); //APP图标 icon
appName = resolveInfos.get(i).loadLabel(packageManager).toString();
name = resolveInfos.get(i).activityInfo.name;
log(appName)
}
QQ群 568523841
边栏推荐
- Weebly mobile website editor mobile browsing New Era
- U++ 游戏类 学习笔记
- Pointer and array are input in function to realize reverse order output
- 3.基金的类型
- JS input and output
- C语言中函数指针与指针函数
- Weebly移动端网站编辑器 手机浏览新时代
- npm ERR! 400 Bad Request - PUT xxx - “devDependencies“ dep “xx“ is not a valid dependency name
- 接口间调用为什么要用json、fastjson怎么赋值的、fastjson [email protected]映射关系问题
- 【ArcGIS教程】专题图制作-人口密度分布图——人口密度分析
猜你喜欢
Error: No named parameter with the name ‘foregroundColor‘
Common Oracle SQL statements
Liste des hôtes d'inventaire dans ansible (je vous souhaite des fleurs et de la romance sans fin)
一个酷酷的“幽灵”控制台工具
Meow, come, come: do you really know if, if else
[736. LISP syntax parsing]
[email protected]映射关系问题"/>
接口间调用为什么要用json、fastjson怎么赋值的、fastjson [email protected]映射关系问题
3GPP信道模型路损基础知识
Why do many people misunderstand technical debt
Operand of null-aware operation ‘!‘ has type ‘SchedulerBinding‘ which excludes null.
随机推荐
AttributeError: module ‘torch._ C‘ has no attribute ‘_ cuda_ setDevice‘
C语言中函数指针与指针函数
Analysis -- MySQL statement execution process & MySQL architecture
STM32封装ESP8266一键配置函数:实现实现AP模式和STA模式切换、服务器与客户端创建
Local tool [Navicat] connects to remote [MySQL] operation
指针与数组在函数中输入实现逆序输出
Tree map: tree view - draw covid-19 array diagram
JS input and output
一文搞懂常见的网络I/O模型
使用知云阅读器翻译统计遗传学书籍
NiO related knowledge points (I)
3. Type of fund
2.证券投资基金的概述
Servicemesh mainly solves three pain points
Thread和Runnable创建线程的方式对比
AOSP ~Binder 通信原理 (一) - 概要
sublime使用技巧
How to design API interface and realize unified format return?
If you‘re running pod install manually, make sure flutter pub get is executed first.
STM32 system timer flashing LED