Skip to content
sonic74 edited this page Sep 18, 2011 · 7 revisions

#Intents used and provided

This is WORK IN PROGRESS

Intents Broadcasted

com.fsck.k9.intent.action.EMAIL_RECEIVED

As of v. 2.3, K-9 package name as changed from com.android.email to com.fsck.k9. Hence, the intent action and extra were also changed.

  • scheme: email (Neccessary for <intent-filter>)
  • host: messages

EXTRAs

  • com.fsck.k9.intent.extra.ACCOUNT
  • com.fsck.k9.intent.extra.FOLDER
  • com.fsck.k9.intent.extra.SENT_DATE
  • com.fsck.k9.intent.extra.FROM
  • com.fsck.k9.intent.extra.TO
  • com.fsck.k9.intent.extra.CC
  • com.fsck.k9.intent.extra.BCC
  • com.fsck.k9.intent.extra.SUBJECT
  • com.fsck.k9.intent.extra.FROM_SELF Boolean (version 2.101 and later)

Apps Using This Intent

Intent URIs Provided

Email message URI

Use the URI contained in the com.fsck.k9.intent.action.EMAIL_RECEIVED intent, to view an email message

  • action: android.intent.action.VIEW
  • scheme: email
  • host: messages

Intent Actions Used

android.intent.action.GET_CONTENT

Used to fetch attach files to email messages

Apps providing This Intent

android.intent.action.SEND

Used when a message is shared

EXTRAs

Used in addition to the documented EXTRAs:

  • com.fsck.k9.intent.extra.SENDER - a String[] holding e-mail addresses of the senders of the original message (version 3.703 and later)

Intent Actions Provided

android.intent.action.SENDTO

scheme: mailto

android.intent.action.VIEW

scheme: mailto

android.intent.action.SEND

mimeType: */*

Clone this wiki locally