Edit tweet action

Edit tweet action is called from tweet editing form. You can create new function about tweet editing by receive this action.


  1. More button in tweet editting view is pressed by user.

  2. twicca checks app that receives this action.

    twicca check intent-filter with this intent. Your app/plug-in must receive this intent.

    Type Value
    Action jp.r246.twicca.ACTION_EDIT_TWEET
    Category android.intent.category.DEFAULT
    Extra Name Value Data type
    android.intent.extra.TEXT Tweet text String
    latitude Latitude(optional) String
    longitude Longitude(optional) String
    in_reply_to_status_id "In reply to status id"(Optional) String
    prefix Prefix string like "@screen_name " String
    suffix Suffix string like " RT @screen_name: quoted tweet" String
    user_input Editting text without prefix and suffix. String
    cursor Cursor position int
  3. twicca makes menu with app/plug-in that receives this action, and open it.

  4. Your app/plug-in name item in menu is pressed by user.

  5. Start your app/plug-in by twicca.

  6. your app/plug-in transform tweet text.

    If edit process is success, your app/plug-in must be setResult( this intent, RESULT_OK ) and finish().

    Type Name Value Data type
    Extra android.intent.extra.TEXT Transformed text. String
    in_reply_to_status_id "In reply to status id"(Optional) String
    latitude Latitude(Optional) String
    longitude Longitude(Optional) String
    cursor Cursor position(Optional) int

    If edit process is failure, your app/plug-in must be nothing and finish.

  7. If twicca receive RESULT_OK, twicca replace editing text to transformed text.