tuxiqul Posted July 28, 2014 Report Posted July 28, 2014 Salut,Are cineva idee cum activez si eu AppOps fara sa downloadez o aplicatie ? Android 4.4.2MS Quote
Sim Master Posted July 28, 2014 Report Posted July 28, 2014 Ca si cod java poti folosi:Intent i = new Intent();i.setClassName("com.android.settings", "com.android.settings.Settings");i.setAction("android.intent.action.MAIN");i.addCategory("android.intent.category.DEFAULT");i.putExtra(":android:show_fragment", "com.android.settings.applications.AppOpsSummary");i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);startActivity(i);sau daca vrei o comanda, atunci foloseste:am start -n com.android.settings/.Settings -a android.intent.action.MAIN -c android.intent.category.DEFAULT -e :android:show_fragment com.android.settings.applications.AppOpsSummary Quote
tuxiqul Posted July 29, 2014 Author Report Posted July 29, 2014 Ca si cod java poti folosi:Intent i = new Intent();i.setClassName("com.android.settings", "com.android.settings.Settings");i.setAction("android.intent.action.MAIN");i.addCategory("android.intent.category.DEFAULT");i.putExtra(":android:show_fragment", "com.android.settings.applications.AppOpsSummary");i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);startActivity(i);sau daca vrei o comanda, atunci foloseste:am start -n com.android.settings/.Settings -a android.intent.action.MAIN -c android.intent.category.DEFAULT -e :android:show_fragment com.android.settings.applications.AppOpsSummaryAjuta-ma , cum fac asta ? ) Quote
Sim Master Posted July 29, 2014 Report Posted July 29, 2014 Ca sa folosesti varianta a doua ai nevoie de terminal emulator instalat pe telefon si scrii acolo comanda, sau conectezi telefonul la un calculator, descarci adb si scrii comanda cu "adb shell" in fata:adb shell am start -n com.android.settings/.Settings -a android.intent.action.MAIN -c android.intent.category.DEFAULT -e :android:show_fragment com.android.settings.applications.AppOpsSummary 1 Quote
tuxiqul Posted July 29, 2014 Author Report Posted July 29, 2014 esti mare om. Ms mult. O sa-ti zic daca a mers, ca vad ca depinde de ce rom ai. Quote
tuxiqul Posted July 30, 2014 Author Report Posted July 30, 2014 @simubuntu:~$ adb shell am start -n com.android.settings/.Settings -a android.intent.action.MAIN -c android.intent.category.DEFAULT -e :android:show_fragment com.android.settings.applications.AppOpsSummaryStarting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.DEFAULT] cmp=com.android.settings/.Settings (has extras) }Warning: Activity not started, its current task has been brought to the front Quote
tuxiqul Posted July 30, 2014 Author Report Posted July 30, 2014 (edited) double post Edited July 30, 2014 by tuxiqul x Quote
d4rkm4nx Posted July 30, 2014 Report Posted July 30, 2014 @tuxiqul ia drept de root si mai incearca , su root sau su vezi si tu.... Quote
tuxiqul Posted July 30, 2014 Author Report Posted July 30, 2014 (edited) @tuxiqul ia drept de root si mai incearca , su root sau su vezi si tu....Am incercat, forteaza ceva pe ecran dar zice ca nu merge ...Settings has stopped. .... Alta idee ? Acum mi se face ecranu mov cateodata )) WTF !P.S. am reparat flickeringu ala mov. Tot nu merge AppOps, am un Z2 nu stiu daca conteaza. Edited July 30, 2014 by tuxiqul FIX Quote
Sim Master Posted July 30, 2014 Report Posted July 30, 2014 Nu stiu alta metoda fara sa si incerc. La mine, cel putin, a mers. Eventual spune de ce nu vrei sa instalezi programul care-ti deschide appops si poate iti dau o alta solutie. Quote