Reputation: 2449
I need to display text on the screen like that
How can I do that? Do I need to sign the application?
I already checked Overlay screen on Android but the method doesen't seems to work from a service.
Thanks
Upvotes: 0
Views: 1558
Reputation: 9187
Try it by using RelativeLayout
and View.html#bringToFront() method
Check this: example
Upvotes: 1
Reputation: 116
I was able to add graphical elements using WindowManager to display stuff on top of other stuff (within my app and outside) from a service.
Take a look at how we do that in GlobalTouchService from our project (Reach.io).
If you are just displaying something and interacting with those elements you added, this method will be sufficient. Interacting with other apps(outside your app) through that interface requires additional stuff.
Upvotes: 2