Question

I want to write a service for finding a view such as EditText from another application. For example finding EditText of native phone SMS Application to extract user typed message before composing it. In Windows programming ,WIN API functions (FindWindow) Exist , In Android how ? thank you.

Était-ce utile?

La solution

Not possible... Android sandboxes applications from each other, and applications must explicity share resources. If you did find a way to do this (on a non-rooted phone) it would be considered a security breach.

http://developer.android.com/training/articles/security-tips.html

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top