Nat*_*tiv 3 android android-market-filtering google-play
我正在尝试捕获.PACKAGE_REPLACED事件,以查看我的代码是否运行良好,但我无法模拟它.我尝试使用adb shell命令:
am broadcast -a android.intent.action.PACKAGE_REPLACED -n com.draoid/.com.draoid.installationtracking.nnn.InstallTracking --es "package_replaced" "utm_source=test_source&utm_medium=test_medium&utm_term=test_term&utm_content=test_content&utm_campaign=test_name"
Run Code Online (Sandbox Code Playgroud)
但没有任何反应
Dav*_*ser 11
它Intent受到保护,只能由系统本身发送.但是,如果您使用重新安装您的应用程序
adb install -r yourapp.apk
Run Code Online (Sandbox Code Playgroud)
这应该产生PACKAGE_REPLACED广播.
| 归档时间: |
|
| 查看次数: |
2884 次 |
| 最近记录: |