Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8046231
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T05:44:10+00:00 2026-06-05T05:44:10+00:00

I use an Navigation intent in my app like: uri= String.format(Locale.ENGLISH,"http://maps.google.com/maps?daddr=%f,%f",latitude, longitude); Intent intent

  • 0

I use an Navigation intent in my app like:

    uri= String.format(Locale.ENGLISH,"http://maps.google.com/maps?daddr=%f,%f",latitude, longitude);
    Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(uri));
    EventMapOfflineActivity.this.startActivity(intent);

Works perfectly, the user can select the app (s)he wants to start.

But, after the selection the dialog won’t close itself and after returning to the app sometimes the user has to press the back button up to 4x to close that dialog.

So is there any way to get the Android OS to close that dialog?
Or do we have to respect that Android way of doing it?

I would do that in the onStop() Handler of my app which is called when the user selected an app to start in the dialog (with a flag set to true on the click to go to navi and resettet to false in the onStop() )

I just think that the Android OS would not like messing with its dialogs, or is there a CLEAN way to do this?

Thanks in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T05:44:11+00:00Added an answer on June 5, 2026 at 5:44 am

    But, after the selection the dialog won’t close itself and after returning to the app sometimes the user has to press the back button up to 4x to close that dialog.

    This is most likely a problem with your firmware, either due to bugs from the device manufacturer or bugs in some modded firmware that you have installed upon your device.

    So is there any way to get the Android OS to close that dialog?

    Android automatically closes the dialog.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

how to use google-maps on API2 to get navigation to specified place i've add
I like to use the navigation history provided by Eclipse in my RCP Application.
I made an totally custom navigation bar and would like to use the exact
I would like to use the HTML5 window.history feature to implement full AJAX navigation
I want to use css3 & google web fonts for the navigation (instead of
I use safe navigation operator to avoid NPEs like this myInstance?.field1 myInstance?.field2 myInstance?.field3 To
in my app i use a navigation controller and a tabBar for my views.
Here's the navigation image in question: http://img.skitch.com/20090807-t8e6d9ymrtpdifqy88xpu6x36.png What I want to do is pretty
I normally use ajax navigation by using # in <a> in some links like
I rework my app to use Three20 and I wanna use Three20 navigation now.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.