How can i access image file from sdcard through json file.

0 votes
asked Dec 18, 2017 by raviraj (260 points)

from the android app, I have to access the image file which is already there in the phone memory,SO i have tried below two things, and everytime I was getting warning like invalid path.

my json file contents:

"images" :
    "image" : "argame00.jpg",
    "name" : "argame"
    "image" : "idback.jpg",
    "name" : "idback",
    "size" : [8.56, 5.4],
    "uid" : "uid-string"

    "image" : "IMG_20171218_162648.jpg",
    "name" : "cc5000"
And I have enabled and StorageAccess.obsolute, both gives me the same warning.

1 Answer

+1 vote
answered Dec 19, 2017 by albert52 (31,890 points)

the json file is saved in the StreamingAssets directory
Welcome to EasyAR SDK Q&A, where you can ask questions and receive answers from other members of the community.