This commit is contained in:
Dominik Schürmann 2013-09-09 14:30:10 +02:00
parent 90cd8c3242
commit 1aabeefab7

View File

@ -42,18 +42,24 @@ Android Studio is currently not supported or recommended!
## API without registering the app ## API without registering the app
### Intents ### Intent Actions
These Intents require user interaction! These Intents require user interaction!
All Intents start with ``org.sufficientlysecure.keychain.action.``
* ``android.intent.action.VIEW`` connected to .gpg and .asc files: Import Key and Decrypt * ``android.intent.action.VIEW`` connected to .gpg and .asc files: Import Key and Decrypt
* ``android.intent.action.SEND`` connected to all mime types (text/plain and every binary data like files and images): Encrypt and Decrypt * ``android.intent.action.SEND`` connected to all mime types (text/plain and every binary data like files and images): Encrypt and Decrypt
* ``KEY_IMPORT`` with extra "keyring_bytes" or Uri in data with file schema
* ``KEY_IMPORT_FROM_QR_CODE`` without extras All Intents start with ``org.sufficientlysecure.keychain.action.``
* ``ENCRYPT`` TODO: explain extras (see source)
* ``KEY_IMPORT``
* Extras: ``keyring_bytes``
* or Uri in data with file schema
* ``KEY_IMPORT_FROM_QR_CODE``
* without extras
* ``ENCRYPT``
* TODO: explain extras (see source)
* ``ENCRYPT_FILE`` * ``ENCRYPT_FILE``
* ``DECRYPT`` TODO: explain extras (see source) * ``DECRYPT``
* TODO: explain extras (see source)
* ``DECRYPT_FILE`` * ``DECRYPT_FILE``
TODO: TODO: