Hey Guys! I'm building an app that uses accessibility permission, i ask user on runtime to give this permission as per Android Developers guidelines. But my app is shown always at the bottom of the list of Accessibility Permision Settings Screen, refer screenshot my app is "MyAccessibilityService" while other apps like Jugnoo , Makhichoose .. always appear on top even if i uninsatll them and install my app at 1st then install them again, i tried all iterations result is same . So there's some thing else how android OS is managing this list, means how it is sorting it?? How can i make my app appear on top ? Pls Help.
Asked
Active
Viewed 2,195 times
0
-
What device/version of Android are you using? Let's say you did get this working on this version of Android. It could be completely different on another. Why worry about things you have little to no control over? You could write your own launcher app, with your own settings mechanism if you really care that much... – MobA11y Mar 09 '16 at 14:39
-
When it comes to ease of access for users it matters,.BTW. im using Android 6.0 – Jayant Arora Mar 10 '16 at 06:24
-
I understand the benefits. However, "ease of access for users" is somewhat arbitrary and opinionated. – MobA11y Mar 10 '16 at 14:58
-
Priority is the answer! – Ankit Aggarwal Feb 15 '17 at 09:47
2 Answers
2
Add priority
to intent filter:
<intent-filter android:priority="99">
<action android:name="android.accessibilityservice.AccessibilityService" />
</intent-filter>

lorond
- 3,856
- 2
- 37
- 52

MujeebRahaman
- 19
- 2
0
If you had a phone book, and you were use to the ordering of that phone book. Would forcing "John Smith" to appear between "AAA, AAAA" and "AAA, AAAB" really be easier to access? The phone book creator obviously would not do this. Your service is your service. The settings app controls where your service goes in that list. End of story.
On my device it appears to be installation order, oldest last. The only way you can get your service to show up on the top of that list, would be to have users uninstall all of their services, install yours, and then reinstall all of their services again. There's nothing saying in future releases this will remain that way, or that your device could be different.

MobA11y
- 18,425
- 3
- 49
- 76
-
"The only way you can get your service to show up on the top of that list, would be to have users uninstall all of their services, install yours, and then reinstall all of their services again." - That's not correct. Voodoo is able to get it on top every time. No matter if it is installed first or last. – mynk Jun 17 '16 at 08:57
-
"On my device"... "There's nothing saying in future releases this will remain that way, or that your device could be different." – MobA11y Jun 20 '16 at 14:43
-
1"The settings app controls where your service goes in that list. End of story." – mynk Jun 23 '16 at 05:35