当前位置:网站首页>Autojs learning - package name viewer
Autojs learning - package name viewer
2022-07-21 05:13:00 【sesame seeds】
- Click the jump =>《 Navigation post 》- Unity manual , Systematic practical learning
- Click the jump =>《 Navigation post 》- Android manual , Revisit mobile development
About author
as everyone knows , Life is a long process , constantly overcome difficulties , Constantly reflect on the process of progress . In this process, there will be a lot of questions and thoughts about life , So I decided to put my thinking , Share all your experiences and stories , To find resonance !!!
Focus on Android/Unity And various game development skills , as well as Share various resources ( Website 、 Tools 、 material 、 Source code 、 Games etc. )
If you need anything, welcome me , Communication groups make learning No longer alone .
This article is about 3 Thousand characters , Novice reading needs 8 minute , Review needs 3 minute 【 Collect at any time, no longer get lost 】
List of articles
Practice process
"ui";
ui.layout(
<vertical padding="16" gravity="center">
<text text=" In processing ..." gravity="center" textColor="black" textSize="16sp"/>
<progressbar/>
<text text=" Click the package name to copy " gravity="center"/>
</vertical>
);
threads.start(function () {
dm1 = b64("InVpIjsKCnVpLmxheW91dCgKICAgIDxTY3JvbGxWaWV3PgogICAgICAgIDx2ZXJ0aWNhbD4K");
dm2 = b64("PC92ZXJ0aWNhbD4KICAgIDwvU2Nyb2xsVmlldz4KKTsKCiAKIHFiPWNvbnRleHQuZ2V0UGFja2FnZU1hbmFnZXIoKTsKIGxiPXFiLmdldEluc3RhbGxlZFBhY2thZ2VzKDApOwogeHQ9bmV3IEFycmF5KCk7CiB5aD1uZXcgQXJyYXkoKTsKIGkwPTA7CiBpMT0wOwpmb3IgKGl1ID0gMDsgaXUgPGxiLnNpemUoKTsgaXUrKykgewpldmFsKCJ1aS55eWJtIitpdSsiLmNsaWNrKGZ1bmN0aW9uKCl7c2V0Q2xpcCh1aS55eWJtIitpdSsiLnRleHQoKSk7dG9hc3QoJ+WMheWQjeW3suWkjeWIticpO30pIik7Cn0KeHMoKTs=");
var qb = context.getPackageManager();
var lb = qb.getInstalledPackages(0);
code0 = "";
for (i = 0; i < lb.size(); i++) {
code0 += '<linear><img id="yytb' + i + '" h="40" w="40" margin="1" bg="#000000"/> <text id="yym' + i + '" textSize="13sp" h="40" w="80" bg="#00ffff" textColor="#000000" text="0"/> <text id="yybm' + i + '" textSize="10sp" h="40" w="180" textColor="#ffffff00" bg="#666666" margin="0 1" text="0"/></linear>';
}
dm = dm1 + code0 + dm2 + xs;
//files.write("/storage/emulated/0/ Script / Web related /1.js",dm);
engines.execScript(" Package name viewer ", dm);
function b64(str) {
return java.lang.String(android.util.Base64.decode(java.lang.String(str).getBytes(), 0));
}
});
function xs() {
threads.start(function () {
for (i = 0; i < lb.size(); i++) {
var yy = lb.get(i)
if ((yy.applicationInfo.flags & yy.applicationInfo.FLAG_SYSTEM) <= 0) {
yh[i1] = yy;
i1++;
} else {
xt[i0] = yy;
i0++;
}
}
for (i = 0; i < yh.length; i++) {
var yyxx = yh[i].applicationInfo;
try {
eval("ui.yytb" + i + ".setImageBitmap(qb.getApplicationIcon(yyxx).bitmap)");
} catch (e) {
}
eval("ui.yym" + i + ".text('" + qb.getApplicationLabel(yyxx) + "');ui.yybm" + i + ".text('" + yyxx.packageName + "');");
}
for (j = 0; j < xt.length; j++) {
var k = j + yh.length;
yyxx = xt[j].applicationInfo;
try {
eval("ui.yytb" + k + ".setImageBitmap(qb.getApplicationIcon(yyxx).bitmap)");
} catch (e) {
}
eval("ui.yym" + k + ".text('" + qb.getApplicationLabel(yyxx) + "');ui.yybm" + k + ".text('" + yyxx.packageName + "');");
}
});
}
other
author : Xiaokong and Xiaozhi Xiaokong
Reprint note - Be sure to indicate the source :https://zhima.blog.csdn.net/
This Taoist friend, please Step back ️, I watch you Extraordinary bearing , There is a king's domineering spirit in his speech , There will be a great achievement in the future !!! There is give the thumbs-up Collection Today I tell you , Have you ordered it , Your success in the future ️, I don't take a penny , If it doesn't work ️, Or come back to me .
reminder : Click the card below to get more unexpected resources .
边栏推荐
- [jzof-03] repeated numbers in the array
- OTA online upgrade practice record (still need to be updated)
- 2022年软件测试最新面试题及解析
- One dimensional convolution English film review emotion classification project
- Why is CRM very important for enterprises? It's worth thinking after reading
- redis锁超卖解决问题
- Leaflet 加载超图发布的投影图层报错 Uncaught No projection definition for code XXXX
- 【学习笔记】根号思维题
- Master these plug-ins and improve your office efficiency by 90% every minute!
- 01 Course Introduction & Reptile overview
猜你喜欢
Redis实现秒杀系统
Leaflet 加载超图发布的投影图层报错 Uncaught No projection definition for code XXXX
pango debug抓信号
Leetcode skimming -- drip record 016
470-82(200、1049、416、50)
02 requses request Library
C# 反射与工厂模式
selenium框架操作stealth.min.js文件隐藏浏览器指纹特征
Comparison table of English abbreviations of network security terms
【学习笔记】数论思维题
随机推荐
【学习笔记】整除分块、线性筛、莫比乌斯反演
Leetcode力扣题解 - 30.串联所有单词的子串
Comparison table of English abbreviations of network security terms
Jmeter如何取cookie Jsession
Understanding these key indicators requires at least half the effort of data analysis
利用哈希来解决问题
XMind中拷贝和复制的区别
【学习笔记】ARC144
关于晶圆介绍以及IGBT晶圆的应用
Kotlin学习之json数据解析
C language dynamic memory management
HCIP-7. LSA header of OSPF
kubernetes部署单节点Redis服务
Li Kou sword finger offer II 101 Divide equal sum subsets
力扣 剑指 Offer II 101. 分割等和子集
C语言动态内存管理
【学习笔记】Insert Addition
数论基础-
Keras MNIST handwritten numeral data set number recognition
Three places and five centers (LDC (logical data center) unitization) and disaster recovery