Log in or register to post comments

Loading a dataset from SD. Just the basics

April 9, 2015 - 9:12pm #1

Hi

I'm trying to load a dataset from the SD card. I've read through different threads on here, but am still having an issue loading the dataset. Here's what I did so far:

Changed this part to pont to my dataset which is located on the root of my SD card

mDatasetStrings.add(Environment.getExternalStorageDirectory().getAbsolutePath()+"/dataset1.xml"); (P.S. also tried it without getAbsolutePath())

 

Changed this part to outline that I will be using a dataset off external storage, as per instrucitons on this forum

STORAGE_TYPE.STORAGE_ABSOLUTE))

 

Physically checked and confirmed that dataset1.xml and dataset.dat are phyically located on the SD card.

 

Still....

I get an error stating that

04-10 13:11:10.465: E/AR(28056): Failed to load dataset '/storage/emulated/0/dataset1.xml'.

 

What am I missing? Please help
 

Loading a dataset from SD. Just the basics

April 13, 2015 - 5:53am #2

This thread provides a fully detailed description including code snippets and Unity project setup instructions:

https://developer.vuforia.com/forum/unity-3-extension-technical-discussion/cant-load-dataset-obb-vuforia-3

 

Log in or register to post comments