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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T02:24:31+00:00 2026-06-13T02:24:31+00:00

<TextView android:id=@+id/TextView03 android:layout_width=wrap_content android:layout_height=wrap_content android:layout_above=@+id/header android:layout_alignLeft=@+id/button1 android:layout_marginBottom=127dp android:text=@string/email android:textColor=#000000 android:textSize=12dp android:typeface=sans /> I have

  • 0
<TextView
    android:id="@+id/TextView03"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_above="@+id/header"
    android:layout_alignLeft="@+id/button1"
    android:layout_marginBottom="127dp"
    android:text="@string/email"
    android:textColor="#000000"
    android:textSize="12dp"
    android:typeface="sans" />

I have a test view which holds my email information. How do i open an default email client on the click of the message.

<string name="email">E-mail:email@gmail.com</string>

Here is my Override method.

    @Override
protected void onCreate(Bundle savedInstanceState) {
    // TODO Auto-generated method stub
    super.onCreate(savedInstanceState);
    setContentView(R.layout.main);

    TextView t2 = (TextView) findViewById(R.id.TextView03);
            email.setOnClickListener(new View.OnClickListener() {

                 public void onClick(View v) {
                     // TODO Auto-generated method stub                
                 }

           });
}

What should i do from here?

  • 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-13T02:24:32+00:00Added an answer on June 13, 2026 at 2:24 am
    Intent sendIntent = new Intent(Intent.ACTION_VIEW);
    sendIntent.setClassName("com.google.android.gm", "com.google.android.gm.ComposeActivityGmail");
    sendIntent.putExtra(Intent.EXTRA_EMAIL, new String[] { "email@gmail.com" });
    sendIntent.setData(Uri.parse("email@gmail.com"));
    sendIntent.putExtra(Intent.EXTRA_SUBJECT, "enter subject");
    sendIntent.setType("plain/text");
    sendIntent.putExtra(Intent.EXTRA_TEXT, "Insert text");
    startActivity(sendIntent);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

<TextView android:id=@+id/TextView03 android:layout_width=wrap_content android:layout_height=wrap_content android:layout_above=@+id/header android:layout_alignLeft=@+id/button1 android:layout_marginBottom=127dp android:text=@string/phone android:textColor=#000000 android:textSize=12dp android:typeface=sans /> I have
I have the following TextView in my XML layout file:- <TextView android:layout_width=fill_parent android:layout_height=wrap_content android:text=@string/autolink_test
<TextView android:layout_width=wrap_content android:layout_height=wrap_content android:layout_alignParentLeft=true android:layout_centerVertical=true android:layout_marginLeft=5dp android:text=Income: android:textColor=@android:color/black android:textStyle=bold /> <TextView android:id=@+id/UIAllReportIncome android:layout_width=wrap_content android:layout_height=wrap_content
<uses-sdk android:minSdkVersion=8 /> onClick method defined in xml <TextView android:id=@+id/titlemainpage android:layout_width=wrap_content android:layout_height=wrap_content android:text=Social To
<TextView android:id = @+id/txtBabbleListTitle android:layout_width = wrap_content android:layout_height = wrap_content android:textColor = #000000 android:text
The main.xml file code: <TableRow android:id=@+id/TableRow01 android:layout_width=wrap_content android:layout_height=wrap_content> <TextView android:text=User android:id=@+id/TextView01 android:layout_width=wrap_content android:layout_height=wrap_content></TextView> <EditText
I have the following XML: <LinearLayout android:id=@+id/linearLayout1 android:layout_width=fill_parent android:layout_height=wrap_content > <TextView android:id=@+id/tv1 android:layout_width=wrap_content android:layout_height=wrap_content
I'm using a TextView element with following layout settings <TextView android:layout_width=fill_parent android:layout_height=wrap_content android:maxLines=1 android:lines=1
This my main.xml <RelativeLayout android:id=@+id/gloabal_permission android:layout_height=fill_parent android:layout_width=wrap_content android:background=@drawable/settings_selector_down android:paddingTop=3dp android:paddingBottom=3dp android:paddingRight=12dp android:paddingLeft=15dp> <TextView android:id=@+id/TextView06
I have a background image child inside a relative layout: <ImageView android:layout_width=wrap_content android:layout_height=wrap_content android:scaleType=centerInside

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.