作者热门文章
- c - 在位数组中找到第一个零
- linux - Unix 显示有关匹配两种模式之一的文件的信息
- 正则表达式替换多个文件
- linux - 隐藏来自 xtrace 的命令
我们目前正在将我们的安卓应用程序移植到诺基亚 X,因此我们想链接到商店中的应用程序。我找不到任何关于链接到这些应用程序的资源,就像在 google play 上一样
market://?details
或
amzn://apps/android
在亚马逊上。
如何在诺基亚 X 上执行此操作? market://的默认解决方案不起作用。它说 Activity not found exception in the emulator(不幸的是我这里没有真正的诺基亚 X)
最佳答案
根据本教程,market://URI 应该有效。
http://developer.nokia.com/community/wiki/Deep_Linking_to_Store_on_Nokia_X
你应该像下面这样打开它:
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setData(Uri.parse("market://details?id=com.nokia.app.mixradio.client"));
startActivity(intent);
关于android - 链接到诺基亚 X 应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23059517/
我正在开发一个 voip 调用应用程序。我需要做的是在接到来电时将 Activity 带到前台。我在应用程序中使用 Twilio,并在收到推送消息时开始调用。 问题是我试图在接到任何电话时显示 Act
我是一名优秀的程序员,十分优秀!