M
M
Minkos2022-03-31 19:35:59
Android
Minkos, 2022-03-31 19:35:59

How to click on a "button" in an application in Android OS via script/console?

There is an intercom control application. I want to make a button-tile (in the notification area that) to open the intercom door, while not running the intercom program. The smartphone is rooted. Google didn't help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg, 2022-03-31
@402d

You can write a tile application easily.
But "pressing a button" in someone else's application is not an easy task. Through ADB, it is easy to transfer a mouse click,
it is not possible to do this from an application running on the phone itself.
Root and rewrite?
What for ? open the door is a request to the backend api.
It's easier to write your own alternative client (authorization. call the desired method)
For ertelecom (domra) intercoms, you can take this as a
basis google maybe someone already did.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question