Opening a storage
Parameter name | Type | Meaning | Values | Default values | Is optional | Example |
com.sovworks.projecteds.ACTION_TYPE | String | Type of intent action | Open Close | --es "com.sovworks.projecteds.ACTION_TYPE" "Open" | ||
com.sovworks.projecteds.STORAGE_PATH
| String | Storage path | yes if com.sovworks.projecteds.STORAGE_ID is set | --es "com.sovworks.projecteds.STORAGE_PATH" "eds:/b2328b5d-3ad0-4f1d-8956-f216a218cd0b/%2Fcontainer_vc" | ||
com.sovworks.projecteds.STORAGE_ID
| String | Storage id | yes if com.sovworks.projecteds.STORAGE_PATH is set | --es "com.sovworks.projecteds.STORAGE_ID" "b2328b5d-3ad0-4f1d-8956-f216a218cd0b" | ||
com.sovworks.projecteds.STORAGE_TYPE | String | Storage type (Use it to create a storage) | VeraCrypt TrueCrypt LuksV1LuksV2CryFsEncFsSmb | yes if storage creating is not required | --es "com.sovworks.projecteds.STORAGE_TYPE" " VeraCrypt" | |
com.sovworks.projecteds.PASSWORD | String | Storage password | yes | --es "com.sovworks.projecteds.PASSWORD" "password" | ||
com.sovworks.projecteds.KEYFILES | String array list | Storage keyfiles | yes | --esal "com.sovworks.projecteds.KEYFILES" "/sdcard/keyfile1","/sdcard/keyfile2 | ||
com.sovworks.projecteds.PIM | Integer | Storage pim | yes | --ei "com.sovworks.projecteds.PIM" 100 | ||
com.sovworks.projecteds.USERNAME | String | Storage username | yes | --es "com.sovworks.projecteds.USERNAME" "username" | ||
com.sovworks.projecteds.KEY_SLOT | Integer | Storage key slot | yes | --ei "com.sovworks.projecteds.KEY_SLOT" 2 | ||
com.sovworks.projecteds.SHOULD_MOUNT | Boolean | Set to true to mount the storage | true false | false | yes | --ez "com.sovworks.projecteds.SHOULD_MOUNT" true |
com.sovworks.projecteds.READ_ONLY | Boolean | Set to true to make the file system of the storage read only | true false | false | yes | --ez "com.sovworks.projecteds.READ_ONLY" true |
Examples:
- am start -n "com.sovworks.projecteds/.ui.storagemanager.StorageManagerActivity" --es "com.sovworks.projecteds.ACTION_TYPE" "Open" --es "com.sovworks.projecteds.STORAGE_PATH" "eds:/b2328b5d-3ad0-4f1d-8956-f216a218cd0b/%2Fcontainer_vc" --es "com.sovworks.projecteds.STORAGE_TYPE" "VeraCrypt" --es "com.sovworks.projecteds.PASSWORD" "password" --ez "com.sovworks.projecteds.SHOULD_MOUNT" true --activity-clear-task
- am start -n "com.sovworks.projecteds/.ui.storagemanager.StorageManagerActivity" --es "com.sovworks.projecteds.ACTION_TYPE" "Open" --es "com.sovworks.projecteds.STORAGE_ID" " 77844c59-5d19-45e5-b2fc-2ba73f54b33b" --es "com.sovworks.projecteds.STORAGE_TYPE" "LuksV1" --esal "com.sovworks.projecteds.KEYFILES" "/sdcard/keyfile1" --ez "com.sovworks.projecteds.SHOULD_MOUNT" true --activity-clear-task
Closing a storage
Parameter name | Type | Meaning | Values | Default values | Is optional | Example |
com.sovworks.projecteds.ACTION_TYPE | String | Type of intent action | Open Close | --es "com.sovworks.projecteds.ACTION_TYPE" "Close" | ||
com.sovworks.projecteds.STORAGE_PATH
| String array list | Paths of storages | yes | --esal "com.sovworks.projecteds.STORAGE_PATH" "eds:/b2328b5d-3ad0-4f1d-8956-f216a218cd0b/%2Fcontainer_vc","eds:/ 77844c59-5d19-45e5-b2fc-2ba73f54b33b /%2Fcontainer_luks", | ||
com.sovworks.projecteds.STORAGE_ID
| String array list | Ids of storages | yes | -- esal "com.sovworks.projecteds.STORAGE_ID" "b2328b5d-3ad0-4f1d-8956-f216a218cd0b","77844c59-5d19-45e5-b2fc-2ba73f54b33b" | ||
com.sovworks.projecteds.FORCE_CLOSE | Boolean | Set to true to force close the storage | true false | false | yes | --ez "com.sovworks.projecteds.FORCE_CLOSE" true |
com.sovworks.projecteds.STORAGE_DELETING | Boolean | Set to true to delete the storage | true false | false | yes | --ez "com.sovworks.projecteds.STORAGE_DELETING" true |
com.sovworks.projecteds.BIOMETRIC_AND_PATTERN_RESET | Boolean | Set to true to reset biometric and pattern values of the storage | true false | false | yes | --ez "com.sovworks.projecteds.BIOMETRIC_AND_PATTERN_RESET" true |
com.sovworks.projecteds.PASSWORD_RESET | Boolean | Set to true to reset password of the storage | true false | false | yes | --ez "com.sovworks.projecteds.PASSWORD_RESET" true |
com.sovworks.projecteds.KEY_FILES_RESET | Boolean | Set to true to reset keyfiles value of the storage | true false | false | yes | --ez "com.sovworks.projecteds.KEY_FILES_RESET" true |
com.sovworks.projecteds.PIM_RESET | Boolean | Set to true to reset pim value of the storage | true false | false | yes | --ez "com.sovworks.projecteds.PIM_RESET" true |
Examples:
- am start -n "com.sovworks.projecteds/.ui.storagemanager.StorageManagerActivity" --es "com.sovworks.projecteds.ACTION_TYPE" "Close" --es "com.sovworks.projecteds.STORAGE_PATH" "eds:/b2328b5d-3ad0-4f1d-8956-f216a218cd0b/%2Fcontainer_vc" --ez "com.sovworks.projecteds.FORCE_CLOSE" true --activity-clear-task
- am start -n "com.sovworks.projecteds/.ui.storagemanager.StorageManagerActivity" --es "com.sovworks.projecteds.ACTION_TYPE" "Close" --es "com.sovworks.projecteds.STORAGE_ID" " 77844c59-5d19-45e5-b2fc-2ba73f54b33b" --ez "com.sovworks.projecteds.PASSWORD_RESET" true --activity-clear-task
- am start -n "com.sovworks.projecteds/.ui.storagemanager.StorageManagerActivity" --es "com.sovworks.projecteds.ACTION_TYPE" "Close" --ez "com.sovworks.projecteds.PASSWORD_RESET" true --ez "com.sovworks.projecteds.PIM_RESET" true --activity-clear-task