Jalandar,

that is a problem with the email client, it does not handle the same
intents as Google Mail (which is a pitty). However, you can use K9 as
email client.

OI Notepad uses following intent:

Intent i = new Intent();
i.setAction(Intent.ACTION_SEND);
i.setType("text/plain");
i.putExtra(Intent.EXTRA_SUBJECT, title);
i.putExtra(Intent.EXTRA_TEXT, content);

The Email activity "MessageCompose" catches only images:
<intent-filter>
<action android:name="android.intent.action.SEND"/>
<data android:mimeType="image/*"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>

The K9 activity "MessageComposes catches also text:
<intent-filter>
<action android:name="android.intent.action.SEND" />
<data android:mimeType="text/*" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>



(I haven't tried, but I think it works)

Friedger

www.openintents.org
www.openintents.biz








On 13 Jan., 08:28, jalandar <[email protected]> wrote:
> How to use email client of emulator of android sdk second release, for
> OI Notepad for transferring note. (For second release email client is
> coming with
> emulator)
> I tried but it is not working it display the toast "No application
> available for sending"
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to