Is it possible to get "other app's" selected text? Want to created an translation service. When called, the service will automatically translate the selected text in the front app.
If not possible for non-rooted devices, is it possible for rooted devices.
Only if you're the keyboard. Otherwise there's no API for this.
I'm actually toying with doing something similar- my plan was to do it as an accssebility service. So the user would tap on something, we'd get the description from that app, and then translate the description. Basically a screen reader that does translation.