android intent uri 传参
16lz
2021-01-23
// 定义intent
Intent intent = new Intent(Intent.ACTION_SENDTO, Uri.fromParts( " sms " , number, null ));
// 接收
Intent intent = ConversationList.createAddContactIntent(getIntent().getData().getSchemeSpecificPart());
startActivity(intent);
Intent intent = new Intent(Intent.ACTION_SENDTO, Uri.fromParts( " sms " , number, null ));
// 接收
Intent intent = ConversationList.createAddContactIntent(getIntent().getData().getSchemeSpecificPart());
startActivity(intent);
更多相关文章
- TabHost自定义标签页(一)
- android 自定义Gallery
- 自定义按钮实现android 返回按钮 事件
- android自定义progressbar图片大小自适应
- android 自定义通知消息设置背景色不生效,导致部分机型显示白色字
- Android中intent如何传递自定义数据类型
- Android中RatingBar的自定义总结
- android 自定义view支持gif格式播放