Android Question Click button in some option of phone setting programmatically

Lucas Eduardo

Active Member
Licensed User
Hi, im looking for a way to click in a button inside the phone settings, like the button "clear" in these images below.

Thanks.
 

Attachments

  • Screenshot_20190221-145447.png
    Screenshot_20190221-145447.png
    39.9 KB · Views: 190
  • Screenshot_20190221-145451.png
    Screenshot_20190221-145451.png
    39.7 KB · Views: 196

DonManfred

Expert
Licensed User
Longtime User
You can not control Systemsettings and also not Clicking there.

The best you can do is to send the user to the Sestting and then the User must clear data or whatever.
You need to find a java code which opens the desired Settings.
Send an Intent with the correct values (see last sentence).
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
It is possible to accept an accessibility service
I saw this question already in a other thread from you.

In how many threads you want to ask this question?

Yes, it may be possible with the accessibility service.
But i cant help with this. I only checked the lib once.

Additionally you should expect that most of the users here do not have any experience with the accessibility service.
 
Upvote 0
Top