I want to add one button on google(device)'s native application Like(Google Map),Using this button I want to open my application.
I have do some work regarding that.
- Using AccessibilityService I find the which application still running using this service I open the stand alone dialog using
SYSTEM_ALERT_WINDOW
permission. But the dialog cover whole screen , I manage to display this dialog in screen bottom side, but still I can't do anything in device native application like (google map), because my dialog is contain those touch, I checked the activity stack using terminal ,I found that still my application is top of the stack.
Now After two day (Saturday/Sunday) research I can't find the any suitable solution regarding this.
I'm stuck.