intent.action_send and intent chooser

by tnull » Tue, 20 Jul 2010 22:20:44 GMT

Sponsored Links
 When creating an intent with action send to send some data, is there a
way to filter the results that are included in the activity chooser
that is created using Intent.createChooser? I have not seen a way to
do this other than setting the mime type, but it is not flexible

For example, there is a situation when I want e-mail apps to be the
only results in the activity chooser dialog. Setting the type to "text/
html" successfully filters this down to email apps, except when
bluetooth is enabled. Bluetooth appears in the list as well, but this
is not desirable. Surely there is a way to have a little more control
over the results?


intent.action_send and intent chooser

by Mark Murphy » Tue, 20 Jul 2010 22:31:06 GMT


What are "e-mail apps"?

Only on your test environment(s). Anyone can create an application
that supports ACTION_SEND of text/html -- this it not something
exclusive to "e-mail apps". I would not be the least bit surprised if
there are others on certain devices or out on the Market.

Write your own chooser dialog, using PackageManager.

Mark Murphy (a Commons Guy)  |  | 

_The Busy Coder's Guide to Android Development_ Version 3.1 Available!


Sponsored Links

intent.action_send and intent chooser

by tnull » Tue, 20 Jul 2010 23:39:13 GMT

 With e-mail apps, I just meant I was looking to filter the results to
e-mail clients, not necessarily anything that can handle "text/html",
which I realized wouldn't work when bluetooth popped up.

Thank you for the tip on creating my own dialog using PackageManager,
I will look into that.


Other Threads

1. New android-x86 test build 20090916


---------- Forwarded message ----------
From: Chih-Wei <>
Date: Wed, Sep 16, 2009 at 11:14 AM
Subject: New test build 20090916
To: Android-x86 <>

The Android-x86 project is glad to announce a new daily build
20090916 for public testing. A live cd iso and usb image are
available from our site:


Build 20090916 is Android 1.6 (Donut) based. In addition to the
features available in previous release, the new build contains

   * Ethernet status tracker. You can configure ethernet to
     DHCP or static IP via GUI.
   * Proxy Setting.
   * Adjustable Alarm Clock volume.
   * Video Player.
   * OpenIntents File Manager.
   * AndAppStore client for application installation.
   * RockOn For Android.
   * Better mouse cursor.
   * More sample applications.
   * A lot of bug fixes. Wifi is more stable.
     Application downloading works.

As Google just released the Android SDK 1.6, Android-x86 build
20090916 may be the first available platform for the application
developers to test new features of Android 1.6
(except the emulator).

We also add a new document to describe how to add
application to Android-x86. See

Released Files

   * Live CD iso: android-x86-20090916.iso

     sha1sum: c3ba5672a93f0157976cc72e333a7ce0ba8e5f22

   * Live USB image: android-x86-20090916_usb.img.gz

     sha1sum:  d03090e1c15a1bc5fd5890e3aeef722e141a8ba2

Source code

As uaual, the source code is available in our git server:

   $ repo init -u git://
   $ repo sync

Test reports (success or fail) are welcome.
Please send the reports to the Android-x86 discussion group.

2. How to create an app which will install other .apk

Yes, it does.

On Wed, Sep 16, 2009 at 11:20 AM, <

Dianne Hackborn
Android framework engineer

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.


3. donut is coming but still no blluetooth for data/file transfer - bummer...

4. Google speech recognition

5. Sending email with Apache commons

6. 1.6 SDK Arrow keys (dpad/trackball) dir not changing with orientation?

7. 3d Physics Engine?