Jump to content
tuxiqul

AppOps pe 4.4.2

Recommended Posts

Posted

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

Posted
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

Ajuta-ma :), cum fac asta ? =)))

Posted

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

  • Upvote 1
Posted

@sim

ubuntu:~$ 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

Posted (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 by tuxiqul
FIX

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...