-1

I saw in the video on Google youtube channel(there it is) that Google Translate can open its own window in any app if you copy words.

I need it to my translation/dictionary app to add copied words there. Must i have a supreme authority to do that? And how to do that? Or what else can perform this functionality?

Zoe
  • 27,060
  • 21
  • 118
  • 148

1 Answers1

0

There is already an answer for this question at Drawing over other applications in Android [closed].

Basically what you need is to draw over other applications. As stated in the Stackoverflow link I have posted above. You will have to use WindowManager, which draws a view on the root on Android Window Manager.

For more information you can visit the Stackoverflow link

Andrei Cusnir
  • 2,735
  • 1
  • 14
  • 21