当前位置:网站首页>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);
边栏推荐
- Some enterprise interview questions of unity interview
- ClickPaaS低代码平台
- The architect started to write a HelloWorld
- How is the entered query SQL statement executed?
- [数组]566. 重塑矩阵-简单
- Why do big companies such as Baidu and Alibaba prefer to spend 25K to recruit fresh students rather than raise wages by 5K to retain old employees?
- Pyqt5 displays file names and pictures
- 天干地支纪年法中为什么是60年一个轮回,而不是120年
- @Transactional 注解导致跨库查询失效的问题
- [untitled]
猜你喜欢
Basic function learning 02
我就一写代码的,王总整天和我谈格局...
How to use jedis of redis
Pyqt5 displays file names and pictures
JWT漏洞复现
[web source code code code audit method] audit skills and tools
Timing manager based on C #
“金九银十”是找工作的最佳时期吗?那倒未必
Interview byte, pass the exam and directly work on three sides. As a result, I found an architect to hang me?
Pyqt pyside custom telescopic menu bar sharing (including tutorial)
随机推荐
DFS and BFS concepts of trees and graphs
Deflocculant aminoiodotide eye drops
我就一写代码的,王总整天和我谈格局...
Resolved (sqlalchemy+pandas.read_sql) attributeerror: 'engine' object has no attribute 'execution_ options‘
Web components series (VII) -- life cycle of custom components
Nmap user manual learning records
On the day 25K joined Tencent, I cried
The order of LDS links
The new project Galaxy token just announced by coinlist is gal
基于TCP的移动端IM即时通讯开发仍然需要心跳保活
如何实现实时音视频聊天功能
Clickhouse synchronization MySQL (based on materialization engine)
laravel8 导出Excle文件
Interview summary: This is a comprehensive & detailed Android interview guide
Pyqt5 displays file names and pictures
ClickPaaS低代码平台
PlasticSCM 企业版Crack
C语言课设:影院售票管理系统
[wp][introduction] brush weak type questions
UE4 DMX和grandMA2 onPC 3.1.2.5的操作流程