Vim Touch Developers,
is it my imagination or does vim-touch only fire on intent with filename having '.txt' extension? is there some way to force it to show up in the share picker for ANY edit intent and not just ones with specific filenames? I.e. can it do text/plain?
in particular I managed to intercept android.intent.action.EDIT and .SEND in two cases where I would have expected vim to show up as an option.
Is this something you -- the developer -- or me -- the user -- must implement?
Thanks.
--
Scott
Here is a captured intent using "send" action on text from a clipboard viewer that I would have expected to come up with vim in the pick list. I see that SEND is not in the filter, but looks like DEFAULT using text/plain mimetype might have been intended to pick it up?
EOM
Action: android.intent.action.SEND
Data: null
Uri: null
Type: text/plain
Bundle:
Object 1:
Class: java.lang.String
Key: android.intent.extra.TEXT
...
[truncated plaintext data]
...
22 activities match this intent:
com.android.bluetooth
com.google.android.apps.plus
com.google.android.gm
com.facebook.orca
com.nightshadelabs.anotherbrowser
com.ngc.fora
com.google.android.apps.googlevoice
com.easyshare.android
com.ideashower.readitlater.pro
com.facebook.katana
com.joaomgcd.autoremote
com.joaomgcd.autoremote
com.instapaper.android
fi.rojekti.clipper
pl.immortal.instafetchpro.am
org.thialfihar.android.apg
ch.teamtasks.tasks.paid
com.google.android.apps.docs
net.fro9.android.app.clipintent
com.andmadesoft.share.pro
com.kaitenmail
ok so I see after trying to reproduce that there are two main cases where vim does not appear in the picklist where perhaps it should (possibly under control of some setting as to whether or not it does):
- action EDIT or VIEW but type is NULL
- action SEND, even with type text/plain
Even though it's probably technically correct for it not to appear, I do think it's useful still. It's difficult to get every app in the market that deals with text, for example, to add an EDIT action, when most already have a generic SEND.