Sadegh Ghanbari
Sadegh Ghanbari

Reputation: 2842

android service find view from another application

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.

Upvotes: 1

Views: 86

Answers (1)

NameSpace
NameSpace

Reputation: 10177

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

Upvotes: 1

Related Questions