Native Shopify Mobile App with 20 new features
Kickstart your hyperlocal marketplace in Corona pandemic with a starter guide
Android App Development
iOS App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 188.8.131.52 release ready!
Owner and Founder. Opencart
Scoped storage was a feature introduced in Android Q(10). This is now mandatory from Android 11 that all apps targeting this version have scoped storage implemented, these new improvements have privacy in mind.
In preview versions of android before Android 10, the runtime permission to read or write was required to access almost every file on disk, the Scoped storage feature is introduced mainly to avoid this situation. You can also check the official documentation: Click Here
From Android 11, the apps can use the scoped storage model can access only their own app-specific cache files.
If your app needs to manage device storage check the below action to free the space.
1. Check for free space by invoking the ACTION_MANAGE_STORAGE intent action.
2. If there isn’t enough free space on the device, prompt the user to give your app consent to clear all caches.
To do so, invoke the ACTION_CLEAR_APP_CACHE intent action(It might affect device battery life and might remove a large number of files from the device.).
Let’s write a sample code to access storage.
AndroidManifest.xml for permission:
. . . . . . . . .
That’s it from my side for today, thanks for reading it until now. You can check our other android blogs Click Here.
Your email address will not be published. Required fields are marked*
Save my name email and website in this browser for the next time I comment.
Be the first to comment.
When I think in getting solutions for my Ecommerce Platform, I think of Webkul. They have been such a blessing in our business. We have spent thousands of dollars in support and modules from them. We love their support team. They work very closely with us, and they always go the extra mile when we need help.
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.