I'm trying to rebuild the Android agent with custom keystores (to allow SSL with own SSL certificates) and optionally other customizations. When building the project as described in the documentation (product-emm 2.0.1), the Android studio (Android studio 2.2, Androind 5.1.1, API 22) claims the following methods are unknow:
- org.wso2.emm.agent.api.RuntimeInfo - Environment.getLegacyExternalStorageDirectory (line 159)
- org.wso2.emm.agent.services.AlarmReceiver - intent.getExtra (line 56)
- org.wso2.emm.agent.services.NetworkConnectedReceiver - context.startServiceAsUser (line 42)
- org.wso2.emm.agent.utils.CommonUtils - context.startServiceAsUser (line 432, 445)
Do I need different API level (according the docs it should be ok), difference tools or something? According to this post, the "startServiceAsUser" is not a public method..
Edit: now I see the project to rebuild should be product-mdm (???) I assume the MDM platform is (should be) part of the EMM, however - the codebase is slightly differenct. Seems this issue concerns the product-emm 2.2.0-SNAPSHOT