سؤال

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.

هل كانت مفيدة؟

المحلول

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top