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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:43:42+00:00 2026-05-27T18:43:42+00:00

I integrated gmail app in my application and it works great.. But the window

  • 0

I integrated gmail app in my application and it works great.. But the window of the gmail app is wrapped to full device screen and I don’t want is that?

So please can anyone tell how to customise the window size like dialogbox.

I used following code for gmail integration:

Intent gmail = new Intent(Intent.ACTION_VIEW);
            gmail.setClassName("com.google.android.gm","com.google.android.gm.ComposeActivityGmail");
            gmail.putExtra(Intent.EXTRA_EMAIL, new String[] { "jckdsilva@gmail.com" });
            gmail.setData(Uri.parse("jckdsilva@gmail.com"));
            gmail.putExtra(Intent.EXTRA_SUBJECT, "enter something");
            gmail.setType("plain/text");
            gmail.putExtra(Intent.EXTRA_TEXT, "hi android jack!");
            startActivity(gmail);
  • 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-27T18:43:43+00:00Added an answer on May 27, 2026 at 6:43 pm

    As Vinod mentioned, this isn’t possible. You’re not “integrating” GMail, you’re just launching it with some custom parameters. (It is part of your application’s task stack, but that’s about it.)

    Now, GMail could export a special intent that creates a transparent activity, but this isn’t a common use case, so they don’t. 😉

    So, this leaves you with two options:

    • Keep using GMail in full screen mode. This is what every other app does, so I’d encourage you to stick with this unless you have a very good reason not to.

    • Write a custom activity that sends the email directly. You’ll need to ask the user for an SMTP server and their login credentials. Or you could use HTTP to forward it to your server and email it from an email address you control.

    Which solution you chose depends on what your app is doing.

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

Sidebar

Related Questions

I have integrated Facebook in my app. It works great on many phones like
I want to integrate GMAIL Single Sign on (SSO) on my App.. I am
I integrated Apache Shiro with a dummy user and it works just fine! But
I've integrated the ZXing QR Code reader library (ZXingWidget) into my iPhone app, but
I have successfully integrated PayPal. All is working fine. But I want my form
I integrated successfully openfeint to my app on iPhone/iPod Touch. But the layout is
streak.com is able to create a very rich experience integrated with gmail. As far
I'm working on a web-based application, and looking to integrate each user's e-mail (gmail,
I integrated Dropbox with my app in a matter of hours as the SDK
Language Integrated Query. Now I know that the acronyms are. I have seen C#

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.