Is it possible to access data from internet and update it into the file which is present in assets folder. If possible , please tell me the way to achieve this…..
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.
You can’t do that. The Assets folder is READONLY. Just copy the file to sd and use it from there. you can modify it however you want there.
Here is how you can access the file programatically.
And you can find some code on stack about saving files to SD there are tons of examples here. also don’t forget setting the right permissions in the manifest.
For downloading files off the internet: downloadFiles