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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T09:04:09+00:00 2026-05-21T09:04:09+00:00

I have an about menu button and wish to add a contact message with

  • 0

I have an “about” menu button and wish to add a “contact” message with my mail.
Can i put the mail address with an hyperlink to the default mail application in the phone ?
Thank you.

  • 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-21T09:04:09+00:00Added an answer on May 21, 2026 at 9:04 am

    You can use android:autoLink in an XML definition or setAutoLinkMask in code on a TextView in your About dialog. I would assume but haven’t tried that if the text is of the form mailto:// it will open the email app. It opens the browser using http:// which I have tried.

    Edit:

    For a basic view that you could assign the the AlertDialog with setView you could do:

     TextView emailLink = new TextView(myActivity.this);
     emailLink.setAutoLinkMask(true);
     emailLink.setText("mailto://<your email address>");
    
     AlertDialog aboutBox = new AlertDialog(myActivity.this);
     aboutBox.setView(emailLink);
    

    This is psuedo code and may need modifying for your situation.

    Edit:

    For a more complicated view try:

     LinearLayout aboutLayout = new LinearLayout(myActivity.this);
     aboutLayout.setOrientation(LinearLayout.VERTICAL);
     TextView aboutText = new TextView(myActivity.this);
     TextView emailLink = new TextView(myActivity.this);
     emailLink.setAutoLinkMask(true);
     emailLink.setText("mailto://<your email address>");
    
     // addView is best used with setting LayoutParams.
     // eg addView(view, layoutParams). The following is for simplicity.
    
     aboutLayout.addView(aboutText);
     aboutLayout.addView(emailLink); 
    
     AlertDialog aboutBox = new AlertDialog(myActivity.this);
     aboutBox.setView(aboutLayout);
    

    An even better way of doing this is to define your layout in XML and manually inflate it and then add to the AlertDialog using addView.

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

Sidebar

Related Questions

I have a menu: <ul> <li id=active><a href=/>Головна</a></li> <li><a href=/about/>Про компанію</a></li> <li><a href=/work/>Діяльність</a></li> <li><a
I have about 10million values that I need to put in some type of
I have about 2000 lines of javascript code for my application. A lot of
I have a very simple question about menu control in Android. I'm writing a
//About Button in the principal menu final Button button3 = (Button) findViewById(R.id.button3); button3.setOnClickListener( new
I have a ASP.NET web application, when I click menu report, it will download
I have about 100 channel names(text) and a image gallery. And a button on
I have a menu bar in which each button is an image floated to
I have a question about the exit button. I have read several posts on
I have a nice LogOut button on the menu of my PHP app, but

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.