0
當Android Lollipop打開APPLICATION_DETAILS_SETTINGS
時是否可以跟蹤某些操作?當用戶從設置應用打開應用程序信息時。正如我所見,有行動android.intent.action.QUERY_PACKAGE_RESTART
,但它需要一些不贊成的權限。檢測APPLICATION_DETAILS_SETTINGS動作
我在stackoverflow上找到了一些例子,但它們不起作用,例如Receive intent "android.settings.APPLICATION_DETAILS_SETTINGS" for my app。
Yeap我明白,也許你知道關於這個事件的一些事情android.intent.action.QUERY_PACKAGE_RESTART? –
@Orest:Android SDK中沒有這樣的動作。我沒有看到它在[Android 6.0]上的使用位置(http://xref.opersys.com/android-6.0.1_r16/search?q=QUERY_PACKAGE_RESTART&defs=&refs=&path=&hist=&type=&project=abi&project=例如,您可以使用以下工具創建項目:項目= bionic&project = bootable&project = build&project = cts&project = dalvik&project = developers&project = development&project = device&project = docs&project = external&project = frameworks&project = hardware&project = libcore&project = libnativehelper&project = pdk&project = platform_testing&project = – CommonsWare