Alain75 Member Feb 3, 2023 #1 Hi everybody, I work with B4XAccessibilityServices on the application android settings screens. I am currently able to automate click on "force stop" of an application, from a list got with PackageManager. Now I am working on automating "clear cache". Unfortunately, storage item doesn't appear in the first screen and I am not able to click on it. So I need to scroll down the screen but I ditn't achieve it : There is no global action to scroll down the screen, so no way to use PerformGlobalAction from AccessibilityEventsListener. Perhaps ACTION_PAGE_DOWN, which is not defined in the library, may be the right constant. However, I didn't find its value. I tried to use ACTION_SCROLL_FORWARD with PerformNodeActionOnViewWithArgs but I didn't find the good parameters Can anybody help me ? Thanks a lot
Hi everybody, I work with B4XAccessibilityServices on the application android settings screens. I am currently able to automate click on "force stop" of an application, from a list got with PackageManager. Now I am working on automating "clear cache". Unfortunately, storage item doesn't appear in the first screen and I am not able to click on it. So I need to scroll down the screen but I ditn't achieve it : There is no global action to scroll down the screen, so no way to use PerformGlobalAction from AccessibilityEventsListener. Perhaps ACTION_PAGE_DOWN, which is not defined in the library, may be the right constant. However, I didn't find its value. I tried to use ACTION_SCROLL_FORWARD with PerformNodeActionOnViewWithArgs but I didn't find the good parameters Can anybody help me ? Thanks a lot
Alain75 Member Feb 5, 2023 #2 Hi, I tried to find a workaround, opening directly Storage with an android.settings intent like APPLICATION_DETAILS_SETTINGS but no one did the job. I discovered intent flags but they allow to manage tasks and not the content of the intent itself. Any idea ? Thanks Upvote 0
Hi, I tried to find a workaround, opening directly Storage with an android.settings intent like APPLICATION_DETAILS_SETTINGS but no one did the job. I discovered intent flags but they allow to manage tasks and not the content of the intent itself. Any idea ? Thanks