Reputation: 13
I am developing an Android app and I get the co-ordinates for source and destination places. Now I have a button which on pressed, launches Google Navigation
app with turn by turn navigation making my app go in background. I wanted to launch google navigation as a floating activity or an activity where I can set the Window parameters
for it so that it is not launched in full mode but as half of the screen so that I can also view my app's activity. Is it possible to achieve this or should I consider using some other turn by turn navigation SDKs for Android?
Upvotes: 0
Views: 135
Reputation: 93708
Android doesn't allow multiple activities on screen at once- at least not until N (Samsung and some other OEMs have SDKs that allow a limited amount of this prior to N, but it won't work on other devices). So you'll need to find an SDK and embedd the map in your app.
Upvotes: 1