回答編集履歴
1
android
answer
CHANGED
@@ -1,5 +1,16 @@
|
|
1
|
-
iOS
|
1
|
+
# iOS
|
2
|
+
|
2
3
|
idの指定方法が間違っているのではないでしょうか?
|
3
4
|
|
4
5
|
(例)
|
5
|
-
`itms-apps://itunes.apple.com/app/id1094591345`
|
6
|
+
`itms-apps://itunes.apple.com/app/id1094591345`
|
7
|
+
|
8
|
+
# Android
|
9
|
+
|
10
|
+
これで開けました。
|
11
|
+
|
12
|
+
```java
|
13
|
+
Intent intent = new Intent(Intent.ACTION_VIEW);
|
14
|
+
intent.setData(Uri.parse("market://details?id=com.nianticlabs.pokemongo"));
|
15
|
+
startActivity(intent);
|
16
|
+
```
|