Hi i've tried to run the snpe tutorial on my xiomi mi 8, and im getting the errors in the images i uploaded below.
my questions are as followes:
1. Is this problem known and what is the solution?
2. what phones are compatible with the snpe tutorial?
3. Are there options/software we need to enable/install (on the phone) to make the tutorial work?
Hi Danziv,
1. Android 8.0 (API level 26) and above now require a valid ContentProvider that is defined for the authority in all URIs. Defining a valid ContentProvider with relevant permissions will help defend your app against content changes from malicious apps, and prevent you from leaking potentially private data to malicious apps.
Please make following changes in Image-Classifiers application to resolve the Security Exception
a. Create a Java file CustomContentProvider.java in the src folder. Add the following code:
These changes to the code will help you to resolve Security Exception of Content Provider.
2. Please go through the following link to find the list of Supported Snapdragon devices https://developer.qualcomm.com/docs/snpe/overview.html
3. No softwares/options are required to make the tutorial work.
I hope this helps!
Thank You.
*/