![]() I am trying to access the application restrictions with the following code var restrictionsManager = (RestrictionsManager)(Context.RestrictionsService) īundle appRestrictions = restrictionsManager. I have added the following to my AndroidManiifest.xml Reviewed by Andrs Lpez Translated by Sarah. Note - I am using Xamarin but the code should be similar to native Java. Test DPC is an app that’s specially designed to help EMMs, ISVs, and OEMs test their apps and platforms in an ‘Android for Work’ profile. However I cannot read the app restrictions inside my application. I can save any changes I make, there are no errors in Test DPC when I do this so I assume it is correct and it has saved them. I can use Test DPC to retrieve the default values for my applications app restrictions. I added my application to the set of applications Test DPC manages. S I have set up a work profile (without a user) on my device using Test DPC. Recent d/loads 4.37 963 Rating Highly ranked Ranking 23 Libraries 5. I have implemented the code and am trying to test it using Test DPC. Test DPC is a sample device policy controller for use with Android Enterprise. I am trying to use android app restrictions. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |