相关疑难解决方法(0)

集成Air Watch Android Studio

我对AirWatch Concept非常陌生,但对AirWatch进行了彻底的了解.我已经通过以下链接,

http://developer.air-watch.com/android/application-configuration-with-the-android-sdk/

http://developer.air-watch.com/android/android-sdk-setup/

但是徒劳无功

关于Air Watch在Android中的集成,有谁可以帮助我?

我到目前为止所做的事情,

我在https://apidev.awmdm.com上创建了应用程序,并添加了assignemnts.这里的问题是,如何在我的Android应用程序中获取Air Watch Console中添加的分配详细信息.

非常感谢帮助.

更新:

我能够将应用程序从AIR WATCH CONSOLE创建并推送到我的设备.现在,我面临的问题是,如果我在AIR WATCH CONSOLE中添加一些应用程序配置,我无法在我的应用程序中获取这些详细信息.

我已经通过下面的Url了解上述情况,

https://appconfig.org/android/https://appconfig.org/ios/非常相似

我已经实现了上面提到的那些内容,但是我仍然无法获得这些细节.如果我在任何地方都错了,请告诉我.

我知道在Air手表控制台中传递的关键值对将成为com.apple.configuration.managediOS中的关键.有没有人知道这些关键价值对将如何产生.据我所知,他们将通过Restriction Manager.但不知道/线索如何在Android中处理.

更新:

xml/app_restrictions.xml:

<?xml version="1.0" encoding="utf-8"?>
<restrictions xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools">

    <restriction
        android:key="ManagedServer"
        android:restrictionType="string"
        android:title="Managed Server"
        tools:ignore="ValidRestrictions" />

    <restriction
        android:key="@string/mdm_key_managed_server_name"
        android:restrictionType="string"
        android:title="@string/mdm_key_managed_server_url"
        tools:ignore="ValidRestrictions" />
    <restriction
        android:key="@string/mdm_key_managed_server_url"
        android:restrictionType="string"
        android:title="@string/mdm_key_managed_server_url"
        tools:ignore="ValidRestrictions" />

</restrictions>
Run Code Online (Sandbox Code Playgroud)

oncreate 方法 :

IntentFilter restrictionsFilter =
                new IntentFilter(Intent.ACTION_APPLICATION_RESTRICTIONS_CHANGED);

    BroadcastReceiver restrictionsReceiver = new BroadcastReceiver() {
        @Override
        public void onReceive(Context …
Run Code Online (Sandbox Code Playgroud)

android android-studio airwatch

10
推荐指数
1
解决办法
1223
查看次数

标签 统计

airwatch ×1

android ×1

android-studio ×1