Accessing data in android studio | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Accessing data in android studio

Let's assume there are 10 images in my drawable folder in android studio then How can I give all the image's reference without declaring each image's name?

18th Apr 2017, 11:44 AM
Srinivas Nahak
Srinivas Nahak - avatar
2 Answers
+ 21
Don't save the images inside the package, upload them somewhere (cloud/external-file) and program the app to fetch them.... this should be easier.... (/data/data/<packageName>/files/images/savedImage.jpg).....
18th Apr 2017, 12:56 PM
Valen.H. ~
Valen.H. ~ - avatar
0
thanks
18th Apr 2017, 2:07 PM
Srinivas Nahak
Srinivas Nahak - avatar