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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T19:51:04+00:00 2026-05-28T19:51:04+00:00

My application includes a send feature which presents a list of installed programs to

  • 0

My application includes a send feature which presents a list of installed programs to use to send a document. It does this with:

Intent sendIntent = new Intent(Intent.ACTION_SEND);
sendIntent.setType("application/zip");
sendIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse("file://"+ docPath));
startActivity(Intent.createChooser(sendIntent, "Email"));

Apps like Gmail and Dropbox appear in the list, but Google Docs does not. In competitor’s apps that use the same document type, Google Docs does appear as an intent. Do I have to use some other method or intent type to get Google Docs to show?

  • 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-28T19:51:04+00:00Added an answer on May 28, 2026 at 7:51 pm

    You can research it yourself, run DDMS or LogCat view in Eclipse, and watch debug log written when your or other app starts activity for ACTION_SEND intent.

    You’ll see:

    ActivityManager: START {act=android.intent.action.CHOOSER cmp=android/com.android.internal.app.ChooserActivity (has extras)}
    

    Then follow also log when you actually choose app for sending. You’ll see something like this:

    ActivityManager: START {act=android.intent.action.SEND typ=application/zip flg=0x13000000 cmp=com.android.bluetooth/.opp.BluetoothOppLauncherActivity (has extras)}
    

    Or you may also see this:

    ActivityManager: START {act=android.intent.action.SEND typ=*/* flg=0x13000000 cmp=com.google.android.apps.docs/.shareitem.UploadSharedItemActivity (has extras)}
    

    You see difference here. One app sets actual mime type = application/zip, other app sets mime type */*. This means that Docs app isn’t designed to send zip files.

    Exploring further, use nice app AppXPlore, open Docs, re-create manifest of Docs app, and look at block with UploadSharedItemActivity (the one which matched */* type), on its intent-filter block:

    <activity label="Docs" name=".shareitem.UploadSharedItemActivity">
    <intent-filter>
       <action name="android.intent.action.SEND" />
       <action name="android.intent.action.SEND_MULTIPLE" />
       <category name="android.intent.category.DEFAULT" />
       <data mimeType="video/*" />
       <data mimeType="image/*" />
       <data mimeType="text/*" />
       <data mimeType="application/x-vnd.oasis.opendocument.spreadsheet" />
       <data mimeType="application/vnd.ms-powerpoint" />
       <data mimeType="application/vnd.openxmlformats-officedocument.wordprocessingml.document" />
       <data mimeType="application/msword" />
       <data mimeType="application/pdf" />
       <data mimeType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" />
       <data mimeType="application/pdf" />
       <data mimeType="application/rtf" />
       <data mimeType="application/vnd.ms-excel" />
       <data mimeType="application/vnd.oasis.opendocument.text" />
       <data mimeType="application/vnd.sun.xml.writer" />
    </intent-filter>
    

    This proves that Docs app is designed to send predefined file types, Zip is not among them.

    You app can respect this decision of Docs app, or it can send with */* mime type, but in such case user may be confused why there’re unexpected apps that don’t handle Zip files in the list. I’d rely on 1st option, and using actual mime type.

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

Sidebar

Related Questions

My servlet application includes a number of library .jars, some of which contain embedded
I use Visual Studio .NET to create a Windows-based application. The application includes a
We've been developing an Android application which includes Google Adsense. However there seems to
In a D2010 application I do StringList.SaveToStream (MemStream, TEncoding.Unicode); I then send this stream
I'm am trying to create a very simple WCF client application which will send
I have a C# application that includes the following code: string file = relativePath.txt;
I have a swing application that includes radio buttons on a form. I have
I'm writing an application that includes a plugin system in a different assembly. The
I have a C++ application that includes a number of structures with manually controlled
I'm developing a zend framework application that includes a simple email function. The development

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.