I am downloaded images from internet, is it possible to generate resource id for downloaded images.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No. Resource IDs work only for resources packaged with the rest of the application in the .apk file. You’ll have to use other I/O methods to access the images. You can save the images using
Environment.getExternalStorateDirectory()to obtain aFilefor the directory and then you can save and later read the image using normal file I/O operations.