在自己的app中打开淘宝
来源:互联网 发布:手机怎么注册淘宝卖家 编辑:程序博客网 时间:2024/04/30 01:38
需求:在app中打开淘宝客户端,包括打开店铺和商品
1)打开商品:
Intent intent = new Intent();
intent.setAction(“android.intent.action.VIEW”);
Uri uri = Uri.parse(“https://……”); // 商品地址
intent.setData(uri);
intent.setClassName(“com.taobao.taobao”, “com.taobao.tao.detail.activity.DetailActivity”);
startActivity(intent);
2)打开店铺:
Intent intent = new Intent();
intent.setAction(“android.intent.action.VIEW”);
Uri uri= Uri.parse(“https://……”);//商铺地址
intent.setData(uri); intent.setClassName(“com.taobao.taobao”,”com.taobao.tao.shop.router.ShopUrlRouterActivity”);
startActivity(intent);
1 0
- 在自己的app中打开淘宝
- 在App中打开淘宝
- 在自己的app中打开应用设置界面
- 怎么在第三方应用中打开自己的APP
- 在Android开发当中如何在一个app中打开淘宝app
- 在app内打开自己app的专用设置界面
- 在app或者网页打开自己开发的App(Scheme)
- iOS App让自己的应用在其他应用中打开列表中显示
- iOS App让自己的应用在其他应用中打开列表中显示
- iOS让自己的App在其他应用中打开列表中显示
- 让自己的app出现在某类格式文件的默认打开列表中
- iOS将文件在自己App中打开
- 设置中打开自己app
- 打开自己的应用 在Appstore中
- Android 仿照第三方app 将自己APP显示在打开列表中
- iOS App让自己的应用在其他应用中打开列表中显示、iOS把自己的应用添加到”活动“、将PDF文件Open In MyApp
- iOS App让自己的应用在其他应用中打开列表中显示、iOS把自己的应用添加到”活动“、将PDF文件Open In MyApp
- 在html中打开app
- Android Studio快捷键
- 用R语言分析詹姆斯的客场得分
- ubuntu 安装APC
- 用脚本将指定文件移入到U盘中
- 49 款人脸检测/识别的API、库和软件
- 在自己的app中打开淘宝
- scrollWidth() clientWidth() offsetWidth() style.width() screen.height()
- 文章标题
- leetcode_095 Unique Binary Search Trees II
- 并查集 杭电1232
- NYOJ-183赚钱啦,bellman//spfa水过,,题还是蛮变态的赶脚~~
- OpenCV-Python教程(9)(10)(11): 使用霍夫变换检测直线 直方图均衡化 轮廓检测
- leetcode 92 Reverse Linked List II C++
- 一次完整的HTTP过程请求步骤(输入一个URL回车,到返回页面)