当前位置:网站首页>A application wakes up B should be a fast method
A application wakes up B should be a fast method
2022-07-05 04:04:00 【By-LQX】
Quickly wake up another application , Need to know another apk The package name
//A The application wakes up some code logic
Intent intent = new Intent(Intent.ACTION_MAIN);
/** Know the package life and target of the application to jump Activity*/
ComponentName componentName = new ComponentName("com.smartdevice.aidl", "com.smartdevice.aidl.MainActivity");
intent.setComponent(componentName);
//intent.putExtra("", "");// here Intent Pass value
startActivity(intent);
边栏推荐
猜你喜欢
How to solve the problem that easycvr changes the recording storage path and does not generate recording files?
Containerd series - detailed explanation of plugins
Rust blockchain development - signature encryption and private key public key
Redis source code analysis: redis cluster
为什么百度、阿里这些大厂宁愿花25K招聘应届生,也不愿涨薪5K留住老员工?
面试字节,过关斩将直接干到 3 面,结果找了个架构师来吊打我?
[array]566 Reshape the matrix - simple
[untitled]
Interview summary: This is a comprehensive & detailed Android interview guide
[C language] address book - dynamic and static implementation
随机推荐
一文带你了解BI的前世今身与企业数字化转型的关系
[array]566 Reshape the matrix - simple
Online sql to excel (xls/xlsx) tool
Threejs realizes sky box, panoramic scene, ground grass
北京程序员的真实一天!!!!!
The development of mobile IM based on TCP still needs to keep the heartbeat alive
Phpmailer reported an error: SMTP error: failed to connect to server: (0)
阿里云ECS使用cloudfs4oss挂载OSS
A应用唤醒B应该快速方法
Get to know MySQL connection query for the first time
MindFusion.Virtual Keyboard for WPF
ActiveReportsJS 3.1 VS ActiveReportsJS 3.0
EasyCVR更改录像存储路径,不生成录像文件如何解决?
面试字节,过关斩将直接干到 3 面,结果找了个架构师来吊打我?
测试开发是什么?为什么现在那么多公司都要招聘测试开发?
Is there a sudden failure on the line? How to make emergency diagnosis, troubleshooting and recovery
@The problem of cross database query invalidation caused by transactional annotation
speed or tempo in classical music
@Transactional 注解导致跨库查询失效的问题
What is test development? Why do so many companies hire test developers now?