当前位置:网站首页>Activity implicit jump
Activity implicit jump
2022-06-28 07:58:00 【xiyangyang8110】
module A rely on module B,B Medium activity Normal jump to A Medium activity, And can transfer parameters normally
Example
1 B in
Intent intent = new Intent();
intent.setAction("io.winkong.marinsmart.chathistory");
intent.putExtra("manage", message.getSender());
startActivity(intent);

2 A in , To configure , Value
<activity
android:name=".activity.ChatHistoryActivity"
android:exported="true" >
<intent-filter>
<action android:name="io.winkong.marinsmart.chathistory"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
</activity>
String manage = getIntent().getStringExtra("manage");
边栏推荐
- 同花顺注册开户靠谱吗?安全吗?
- 7-2 Finnish wooden chess structure Sorting
- Ambari (VI) -- ambari API use
- Section 5: zynq interrupt
- Redis persistence problem and final solution
- asp. Net to search products and realize paging function
- Dataset filling data, and the use of rows and columns
- Kubernetes cluster command line tool kubectl
- ES6 use of return in arrow function
- Is it reliable to open an account by digging money? Is it safe?
猜你喜欢

SQL analysis (query interception analysis for SQL optimization)

Ambari (VIII) --- ambari integrated impala document (valid for personal test)

Design and implementation of spark offline development framework

Hash slot of rediscluster cluster cluster implementation principle

sql主從複制搭建

Flex layout

Redis cluster deployment and application scenarios

2021 programming language ranking summary

MySQL row format parsing

Software design of power control board
随机推荐
flutter 实现摇一摇功能
8 figures | analyze Eureka's first synchronization registry
pip 更新到最新的版本
挖财注册开户靠谱吗?安全吗?
SOC serial port configuration
MMR rearrangement (similarity is calculated by editing distance and repeatability)
Is it reliable to open an account by digging money? Is it safe?
Configuring MySQL multi instance master-slave synchronization for Linux
推荐系统系列精讲(第五讲): 排序模型的调优实践
How redis solves cache avalanche, breakdown and penetration problems
MySQL row format parsing
HJ质数因子
Unity-UI-shadow组件
"Three routines" of digital collection market
ES6 use of return in arrow function
Airflow2.x distributed deployment DAG execution failure log cannot be obtained normally
Airflow2.1.1 ultra detailed installation document
8 张图 | 剖析 Eureka 的首次同步注册表
asp. Net registration page
Airflow2 configuration windows azure SSO details based on oauth2 protocol