</intent-filter>
<intent-filter>
+ <action android:name="android.intent.action.SEND"/>
<action android:name="android.intent.action.SENDTO"/>
<data android:scheme="mailto"/>
<category android:name="android.intent.category.DEFAULT"/>
/* Now see if the action specified is supported by Emacs. */
- if (action.equals ("android.intent.action.VIEW")
- || action.equals ("android.intent.action.EDIT")
- || action.equals ("android.intent.action.PICK")
- || action.equals ("android.intent.action.SEND")
- || action.equals ("android.intent.action.SENDTO"))
+ if (action.equals (Intent.ACTION_VIEW)
+ || action.equals (Intent.ACTION_EDIT)
+ || action.equals (Intent.ACTION_PICK)
+ || action.equals (Intent.ACTION_SEND)
+ || action.equals (Intent.ACTION_SENDTO))
{
/* Obtain the URI of the action. */
uri = intent.getData ();