EnterpriseDeviceManager edm = (EnterpriseDeviceManager) getSystemService(EnterpriseDeviceManager.ENTERPRISE_POLICY_SERVICE);

"Cannot resolve symbol 'ENTERPRISE_POLICY_SERVICE'"



Konrad Sobczak
Jan 02, 2019
2:29 pm

Hello Sayaji Kadam,


In order to create an instance of EnterpriseDeviceManager class please use following code:

EnterpriseDeviceManager edm = EnterpriseDeviceManager.getInstance(this);


For more information please refer to following links:

https://seap.samsung.com/api-references/android/reference/packages.html  ->  Reference API for Knox SDK.

https://seap.samsung.com/html-docs/android/Content/migration-intro.htm  -> Guide for Migrating apps from old Premium Knox SDK to Knox SDK.

https://seap.samsung.com/html-docs/android/Content/knox-sdk-welcome.htm  -> Guide for creating apps from the beginning using Knox SDK.


Best regards, Konrad.