Vuforia offers you different constants to specify the source to read the marker files from:
int markerDataFileStorageType;
markerDataFileStorageType = DataSet.STORAGE_TYPE.STORAGE_APP;
markerDataFileStorageType = DataSet.STORAGE_TYPE.STORAGE_APPRESOURCE;
markerDataFileStorageType = DataSet.STORAGE_TYPE.STORAGE_ABSOLUTE;
if (!dataSet.load(MARKER_FILE, markerDataFileStorageType)) {
...
Of course, for the absolute storage type, you need to provide the full file path.
Each storage type represents the following:
DataSet.STORAGE_TYPE.STORAGE_APP -> INTERNAL or EXTERNAL storages
DataSet.STORAGE_TYPE.STORAGE_APPRESOURCE -> ASSETS
DataSet.STORAGE_TYPE.STORAGE_ABSOLUTE -> ABSOLUTE path