In any log when the application Zyganote... I observe that a Handler jerking, then ApplicationThread and then to some Zyganote... (sort of). From this I concluded that when the application starts, the system creates a thread for it. And if an error occurs, then everything breaks down to the fatal end and the application flow twitches. It crashes. But it's not that
Suppose I want to somehow master one application, namely, to switch to one of its activities and press buttons / enter texts / scroll, etc. Is it possible If not, why not? How, then, some applications manage to show their view on top of everything, work even when they are closed.
Clean Master shows a circle on top of all other applications for "acceleration";) system.
UC Browser somehow even determines when the user is copying something and offers to search the selected text through itself. Moreover, it works perfectly everywhere.
Google Translator has the same functionality, only offers to translate the selected text.
Shazam can hear music automatically when he hears it.
What can I say, Google Now always listens to it and responds to "Ok Google"!
How is all this implemented?
And further. I don’t understand how the system works. Can you find out more about this? How do application and system applications work? Why can't some apps get some permissions? How does the system department responsible for storing minimized applications work?
Is the whole android built on apps and scripts? I would like to see a worthwhile answer.