File tree Expand file tree Collapse file tree 1 file changed +8
-10
lines changed
Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change 1- ## Support multiple broadcast receivers
1+ ## 複数のブロードキャストレシーバへのサポート
22
3- If multiple SDKs need to register a broadcast receiver for the
4- ` INSTALL_REFERRER ` intent in your app, you will have to implement your own
5- ` BroadcastReceiver ` that calls all the other receivers that you want to
6- support. It should look like this [ 1] :
3+ 複数のSDKでアプリの` INSTALL_REFERRER ` インテントにブロードキャストレシーバを登録する必要がある場合、
4+ サポートしたい他のすべてのレシーバをコールする` BroadcastReceiver ` を独自に実装する必要があります。
5+ それはこのような形になります。[ 1]
76
87``` java
98public class InstallReceiver extends BroadcastReceiver {
@@ -18,9 +17,8 @@ public class InstallReceiver extends BroadcastReceiver {
1817}
1918```
2019
21- Make sure to adjust the list of supported receviers and fix the imports. You
22- also need to update your ` AndroidManifest.xml ` to use your own
23- ` InstallReceiver ` :
20+ 対象レシーバのリストの調整とインポートの記述を必ず確認してください。
21+ 独自` InstallReceiver ` を使うには、` AndroidManifest.xml ` の更新も必要です。
2422
2523``` xml
2624<receiver
@@ -32,11 +30,11 @@ also need to update your `AndroidManifest.xml` to use your own
3230</receiver >
3331```
3432
35- Make sure to adjust your package name.
33+ パッケージ名を必ず確認してください。
3634
3735---
3836
39- References and related links:
37+ 参考および関連リンク
4038
4139- [ 1] http://stackoverflow.com/questions/14158841/android-google-analytics-v2-broadcast-receiver-for-all-sdks
4240- [ 2] http://stackoverflow.com/questions/4093150/get-referrer-after-installing-app-from-android-market
You can’t perform that action at this time.
0 commit comments