当前位置:网站首页>A应用唤醒B应该快速方法
A应用唤醒B应该快速方法
2022-07-05 04:02:00 【By-LQX】
快速唤醒另外一个应用,需要知道另一个apk的包名
//A应用唤醒部分代码逻辑
Intent intent = new Intent(Intent.ACTION_MAIN);
/**知道要跳转应用的包命与目标Activity*/
ComponentName componentName = new ComponentName("com.smartdevice.aidl", "com.smartdevice.aidl.MainActivity");
intent.setComponent(componentName);
//intent.putExtra("", "");//这里Intent传值
startActivity(intent);
边栏推荐
猜你喜欢
Operation flow of UE4 DMX and grandma2 onpc 3.1.2.5
面试字节,过关斩将直接干到 3 面,结果找了个架构师来吊打我?
ActiveReportsJS 3.1 VS ActiveReportsJS 3.0
Containerd series - detailed explanation of plugins
The architect started to write a HelloWorld
What is test development? Why do so many companies hire test developers now?
laravel8 导出Excle文件
[untitled]
输入的查询SQL语句,是如何执行的?
Is there a sudden failure on the line? How to make emergency diagnosis, troubleshooting and recovery
随机推荐
DMX parameter exploration of grandma2 onpc 3.1.2.5
Threejs rendering obj+mtl model source code, 3D factory model
speed or tempo in classical music
Use Firefox browser to quickly pick up Web image materials
open graph协议
请问一下我的请求是条件更新,但在buffer中就被拦截了,这种情况我只能每次去flush缓存么?
Rust blockchain development - signature encryption and private key public key
Interview byte, pass the exam and directly work on three sides. As a result, I found an architect to hang me?
Pyqt5 displays file names and pictures
花了2晚,拿到了吴恩达@斯坦福大学的机器学习课程证书
Three level linkage demo of uniapp uview u-picker components
[understand series after reading] 6000 words teach you to realize interface automation from 0 to 1
NEW:Devart dotConnect ADO.NET
10种寻址方式之间的区别
MindFusion. Virtual Keyboard for WPF
@Transactional 注解导致跨库查询失效的问题
laravel8 导出Excle文件
Laravel8 export excel file
[数组]566. 重塑矩阵-简单
Clickhouse物化视图