当前位置:网站首页>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
边栏推荐
- NiO related knowledge points (I)
- Meow, come, come: do you really know if, if else
- Terms used in the Web3 community
- Techniques d'utilisation de sublime
- File upload vulnerability summary
- Clickhouse (03) how to install and deploy Clickhouse
- 【ArcGIS教程】专题图制作-人口密度分布图——人口密度分析
- 高手勿进!写给初中级程序员以及还在大学修炼的“准程序员”的成长秘籍
- Leetcode(46)——全排列
- AttributeError: module ‘torch._ C‘ has no attribute ‘_ cuda_ setDevice‘
猜你喜欢

Flask项目使用flask-socketio异常:TypeError: function() argument 1 must be code, not str

AttributeError: module ‘torch._C‘ has no attribute ‘_cuda_setDevice‘

The sooner you understand the four rules of life, the more blessed you will be

Gavin teacher's perception of transformer live class - rasa project actual combat e-commerce retail customer service intelligent business dialogue robot microservice code analysis and dialogue experim

Decorator basic learning 02

当 Knative 遇见 WebAssembly

Read of shell internal value command

Operand of null-aware operation ‘!‘ has type ‘SchedulerBinding‘ which excludes null.

3GPP信道模型路损基础知识

Time complexity & space complexity
随机推荐
Operand of null-aware operation ‘!‘ has type ‘SchedulerBinding‘ which excludes null.
Common Oracle SQL statements
PLC Analog output analog output FB analog2nda (Mitsubishi FX3U)
Time complexity & space complexity
动态生成表格
Servicemesh mainly solves three pain points
Comparison between thread and runnable in creating threads
How does vscade use the built-in browser?
[736. LISP syntax parsing]
3.基金的类型
01 machine learning related regulations
Why do many people misunderstand technical debt
JS also exports Excel
U++4 interface learning notes
Thread和Runnable创建线程的方式对比
装饰器基础学习02
Gavin teacher's perception of transformer live class - rasa project actual combat e-commerce retail customer service intelligent business dialogue robot microservice code analysis and dialogue experim
[ArcGIS tutorial] thematic map production - population density distribution map - population density analysis
If you ask me about R code debugging, I will tell you head, STR, help
U++ 元数据说明符 学习笔记