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

  • Home
  • SEARCH
  • 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 7040077
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T01:52:30+00:00 2026-05-28T01:52:30+00:00

I am using antroid:autoLink=map attribute of TextView to Go to map and find the

  • 0

I am using antroid:autoLink=”map” attribute of TextView to Go to map and find the address associated with that textview.

But its is behaving stragely and finding only some addresses. Here is the code what I am trying:

<LinearLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:orientation="vertical"
  android:layout_width="match_parent"
  android:layout_height="match_parent">
    <TextView
        android:id="@+id/textViewautoLink"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="@string/autolinktext"
        android:autoLink="map"></TextView>
</LinearLayout>

Here is my strings.xml

strings.xml

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <string name="autolinktext">1600 Amphitheatre Parkway, Mountain View, CA 94043 </string>
</resources>

Issue is:

Suppose I am writing the above string i.e.
1600 Amphitheatre Parkway, Mountain View, CA 94043
then its working fine and textView gets blue in colour and when I click onit it searches the address on Map.

When I change this address to : 1600 Amphitheatre Parkway, Mumbai, IN
then also it shows the same thing and tries to search the address but since the address is wrong it couldnt find it. Its OK.

But when I write other address like: 600 Band Stand, Mumbai, IN
Then

1) the textview isnt in blue color

2) Its doesn’t seem to be clickable

3) and since it is not clickable it doesn’t find the address.

I am searching google but am not getting any reason for this behaviour.
Also I want to know that

Is there any format for writing this map address?

Also how android knows that the address is valid or not by just
writing the address in String as I have written the same address in
the same format just changed the String and the result is that one
address is clickable and other is not.

Please Help.

  • 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-05-28T01:52:31+00:00Added an answer on May 28, 2026 at 1:52 am

    Below is the comment picked from the matcher

    1. look for a 1 – 5 digit number for a street number (no support for ‘One Microsoft Way’)
    2. ignore if preceded by ‘#’, Suite, Ste, Rm
    3. look for two or more words (up to 5? North Frank Lloyd Wright Blvd)
      note: “The Circle at North Hills St.” has six words, and a lower ‘at’ — allow at, by, of, in, the, and, … ?
    4. if a word starts with a lowercase letter, no match
      allow: , . – # / (for 1/2) ‘ ”
    5. look for one or two delimiters to represent possible 2nd addr line and city name
      look for either full state name, or state two letters, and/or zip code (5 or 9 digits)
    6. now look for street suffix, either in full or abbreviated form, with optional ‘s’ if there’s an asterisk

    Source : CacheBuilder.cpp. For further info you could check the exact algorithm in CacheBuilder::FindPartialAddress of webviewcore

    As far as i see from code only
    street names ending in LleY , NneX, RCade, VEnue, LAMEDA, aYoU and so on … are matched.
    In your case Band stand does not match the street name ending that is common in US

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

Sidebar

Related Questions

I am using this code for hyperlink: <TextView android:layout_width=fill_parent android:layout_height=fill_parent android:id=@+id/hyperlink android:text=@string/hyperlink android:autoLink=web/> By
I am using Android's Calendar object and I am using the getTimeInMillis() method, but
I'm using android 3.0 and I try to create bitmap xml that will create
I'm using Android-Query for the first time and I understand that it (takes care
I'm using android version 2.2 and I cant find android.bluetooth.IBluetoothA2dp in the bluetooth sub-package
I am using Android-C2DM, and when I receive a message that has been pushed
i found that when using android TabActivity to open tabs where each tab is
Am using android:configChanges=keyboardHidden|orientation for switching between portrait and landscape modes. But when user opens
hi i am using a mapview in my application.it showing correctly but the problem
Why TextView Hyperlink is not working. Using hyperlink as inside the custom dialog box

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.