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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T08:41:28+00:00 2026-06-18T08:41:28+00:00

Updated: Managed to sort the loading of gmail. Now I cannot set the ‘To’,

  • 0

Updated:

Managed to sort the loading of gmail.

Now I cannot set the ‘To’, ‘subject’ and ‘message’ fields of gmail when the intent is loaded.

Screenshot to show my email layout:

enter image description here

Screenshot to show the gmail intent loaded. But without the fields being set from the passed details.

enter image description here

Code:

@Override
public void onClick(View sendEmailClick) {


    Intent sendEmailIntent = new Intent(Intent.ACTION_SEND); 
    sendEmailIntent.setType("plain/text");
       sendEmailIntent.putExtra(Intent.EXTRA_EMAIL, emailAdd);  
       sendEmailIntent.putExtra(Intent.EXTRA_SUBJECT, emailSub); 
       sendEmailIntent.putExtra(Intent.EXTRA_TEXT, emailMess); 
       startActivity(Intent.createChooser(sendEmailIntent, "Send email"));

       //startActivity(Intent.createChooser(sendEmailIntent, "Send email..."));
}
  • 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-18T08:41:30+00:00Added an answer on June 18, 2026 at 8:41 am

    If the default email client does not have an account, it should not register itself for Intent.ACTION_SEND. Make sure that you have an account added to the app and try to send your email again. As noted, using "text/plain" as the type.

    From what I can find on short notice:

    <activity
                android:name=".activity.MessageCompose"
                android:label="@string/compose_title"
                android:enabled="false"
                android:theme="@android:style/Theme.Holo.Light"
                >
    

    The compose Activity is not enabled by default and should be enabled once you add an account.

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

Sidebar

Related Questions

I have sort of a table with a radio-button column. I managed to make
Updated: After my initial post and responses, I managed to have another crack and
Right, after much struggle I finally managed to get a sort of shared folder
I have a table structure as follows. Now I need to sort these nested
I've been pondering how best to order a set of Core Data managed objects,
I have installed the vim-latex package using Ubuntu Synaptic package manager and updated my
UPDATE II: OK, I managed to narrow it down a little. I have a
I have updated my packages using Android SDK Manager and clicked on Help >
Updated-2 I have interesting combination of warnings & errors. Firstly, when debugging, i get
Updated Example: http://jsfiddle.net/7Cwbn/62/ You can click on the markers Hold Ctrl to select multiple

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.