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 7871717
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T01:59:19+00:00 2026-06-03T01:59:19+00:00

I have program with maps. When user click url link containing ‘mymaps.com’ – my

  • 0

I have program with maps. When user click url link containing ‘mymaps.com’ – my program shows in chooser dialog as alternative of web browser.
I want to do same when user click link to google maps /web or application generated/.
I have found different url formats:

  • http://m.google.com/u/m/zIOcsV
  • http://maps.google.com/maps?q=45.089036,+-106.347656&num=1&t=h&vpsrc=0&ie=UTF8&z=4&iwloc=A

I suppouse there are other formats too.
Does anybody know how to intercept all formats?

  • 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-03T01:59:20+00:00Added an answer on June 3, 2026 at 1:59 am

    Use an intent filter! See here for more info : http://developer.android.com/guide/topics/intents/intents-filters.html

    In your android manifest, add the following in your tag for the activity you want to open :

    <intent-filter>
        <category android:name="android.intent.category.BROWSABLE" />
        <data android:scheme="http" android:host="maps.google.maps" android:pathPrefix="/maps" />
    </intent-filter>
    

    Then in your Activity
    create a method called : handleIntent like so

    private void handleIntent(Intent newIntent) {
          Uri myuri = newIntent.getData();
          (then use myuri to get your parameters such as q, num, etc)
          (then show your map or whatever else you like with that data)
    
    }
    

    in your onCreate you will need to call handleIntent like so

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        (init stuff would go here)
        handleIntent(getIntent());
    }
    

    (optional) You may need to override the onNewIntent like so (just in case your AndroidManifest activity configchanges property is tweaked)

    @Override 
    protected void onNewIntent(Intent newIntent) {
        setIntent(newIntent);
        handleIntent(newIntent);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In my google maps program I have simple KML parser which retrieve only coordinates
I have a small Python program, which uses a Google Maps API secret key.
I have a C# program that maps legacy text file report to an excel
I have a C# program that takes a legacy report file and maps to
i have wriitten program for diffrent operations on maps. and a sample code of
I have a program that I want to use google maps for. The problem
We have a program that displays map data (think Google Maps, but with much
I have program that has a variable that should never change. However, somehow, it
I have program, that must interact with a console program before my program can
I have program that runs fast enough. I want to see the number of

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.