Code Monkey home page Code Monkey logo

Comments (4)

Jean-BaptisteC avatar Jean-BaptisteC commented on June 26, 2024

Good idea
A solution is to add action in the notification and call stopService method.
https://stackoverflow.com/questions/11270898/how-to-execute-a-method-by-clicking-a-notification

from organicmaps.

biodranik avatar biodranik commented on June 26, 2024

We need to start extracting and fixing individual tickets from that large meta issue :)

What exactly happens in Google Maps and OSMand after pressing that button? Navigation stops, notification disappears, the app is not activated, right?

from organicmaps.

j13m126 avatar j13m126 commented on June 26, 2024

So when Google Maps is running in foreground and 'exit navigation' is clicked the notification disappears and you get back to planning the previous route with option to select mode of transport and buttons to start and save it.
If you click exit navigation in Osmand (foreground) the apps shows the current location (as if you just started the app).

If Google Maps is minimized (picture in picture) and 'exit navigation' is clicked the notification disappears and it stays in the background.
If OSMAnd is in (full) background during navigation and the button is clicked, notification disappears and it also doesn't get reactivated.

from organicmaps.

Jean-BaptisteC avatar Jean-BaptisteC commented on June 26, 2024

Works has been started here

from organicmaps.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.