[FREE] Accessibility Tools - Perform Back, Home and Recents

Hello :kodular:oders.

Today i Present my Another Contribution to this Excellent Community.
My Very Small But Very Useful Extension - Accessibility Tools

All Blocks Along With What They Are Capable Of Doing

  1. component_method
    This Block Will Stimulate A Click On Back Button Of Your Android Device.

  2. component_method
    This Block Will Stimulate A Click On Home Button Of Your Android Device.
    Exiting (Not Closing) The App Currently Which You Are In, If Any.

  3. component_method
    This Block Will Stimulate A Click On Recent Button Of Your Android Device.

  4. component_method
    This Block Will Open Your Notification Pannel Of Your Device.

  5. component_method
    This Block Will Open The Dialog Which Opens When You Long Press Power Button Of Your Device.

  6. component_method
    This Block Will Open The Quick Settings Pannel Of Your Device.
    (Usually Availabe Above Notification Pannel)

  7. component_method
    This Block Will Activate The Split Screen Feature Of Your Device.
    Available Starting From API 26 Android Oreo 8.1.0

Two More -

  1. component_method
    To Ask For Accessibility Permission.

  2. component_method
    Check Whether The Permission is Given.

Credits

Thanks to @Mohamed_Tamer and @ADDYLIN

Requirements

POWER DIALOG : API 21
QUICK SETTINGS : API 17
and other methods required API 16

Important Links

  1. How to make a back button in app
  2. https://developer.android.com/reference/android/accessibilityservice/AccessibilityService

.aix

aryan.gupta.BackButton.aix (11.7 KB)

To Donate me

Click on this link

Hope You All Like This Extension.
Like My Work To Keep Me Motivated For More Excellent Upcoming Extensions.

34 Likes

Nice extension :smiley:

1 Like

Thanks sur @Mohamed_Tamer

Great extension!:laughing:

1 Like

Very very very veeery use full extension BR0

keep it up.

1 Like

Thanks @ashishthakoor58

1 Like

the extension i wass lokking for thanks
great contributions

thank you for your conribution
as already mentioned in the App Inventor community, unfortunately your documentation is incomplete…

I guess you like to say this Block will simulate …

some questions:

  • what kind of permission is required for this extension? what about providing a screenshot?
  • how did you test this time?
  • does the extension work in the companion app?
  • what is the minimum API for this extension to run? For the SplitScreen method I have seen, it is API 26…

please also follow the naming conventions… thank you for adjusting the extension in advance!

also it might help to add a link to the Android documentation AccessibilityService  |  Android Developers

Accessibility services should only be used to assist users with disabilities in using Android devices and apps. They run in the background and receive callbacks by the system when AccessibilityEvent s are fired.

Taifun

7 Likes

Can you added hardware volume button press recognizer

1 Like

it is easy , it is possible but not suitable for my extension

1 Like

why not elaborating a little bit in the documentation ? Isn’t that why we have it? as I already mentioned

it might help to add a link to the Android documentation https://developer.android.com/reference/android/accessibilityservice/AccessibilityService

excellent… to complete this information it might help to tell us the devices an Android versions you used for your tests…

ok… what is missing is the minimum API for the other methods…
Taifun

1 Like

have a look at this @Taifun

1 Like

POWER DIALOG : API 21
QUICK SETTINGS : API 17
and other methods required API 16

1 Like

all the answers you were giving now step by step should be part of your documentation… so if someone wants to use the extension, all information is there…
Taifun

4 Likes

Awesome Extension !

Can you add a feature/property so we can disable split screen for our application. So users can’t use our app in split screen mode.

4 Likes

it is possible @themaayur but it cannot done at Runtime so, you cannot use this as a block. if i add these features then, you use my extension .Your app will work with/without Split Screen feature.

if you need this so, I can make a separate extension for you :wink:

1 Like

It would be great, if you provide the Extension :innocent:

1 Like

you have to change this to @Mohamed_Tamer

On Samsung S8, Android9 works fine. I have no idea for use but I tested it out of curiosity.

2 Likes

Can you add up a block for on home press and on recent press !!

1 Like