forked from community/device-mgt-plugins
parent
73e73e8f53
commit
73359d4b95
@ -0,0 +1,183 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="org.wso2.cdm.agent"
|
||||
android:sharedUserId="org.wso2.cdm.agent"
|
||||
android:sharedUserLabel="@string/hello_world"
|
||||
android:versionCode="1"
|
||||
android:versionName="1.0" >
|
||||
|
||||
<uses-sdk
|
||||
android:minSdkVersion="16"
|
||||
android:targetSdkVersion="17" />
|
||||
|
||||
<!-- GCM connects to Google Services. -->
|
||||
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
|
||||
<!-- GCM requires a Google account. -->
|
||||
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
|
||||
|
||||
<!-- Keeps the processor from sleeping when a message is received. -->
|
||||
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
||||
<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />
|
||||
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
|
||||
<!--
|
||||
Creates a custom permission so only this app can receive its messages.
|
||||
|
||||
NOTE: the permission *must* be called PACKAGE.permission.C2D_MESSAGE,
|
||||
where PACKAGE is the application's package name.
|
||||
-->
|
||||
<permission
|
||||
android:name="org.wso2.emm.agent.permission.C2D_MESSAGE"
|
||||
android:protectionLevel="signature" />
|
||||
|
||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
||||
<uses-permission android:name="org.wso2.emm.agent.permission.C2D_MESSAGE" />
|
||||
<uses-permission android:name="android.permission.READ_PHONE_STATE" >
|
||||
</uses-permission>
|
||||
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
|
||||
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" >
|
||||
</uses-permission>
|
||||
<uses-permission android:name="android.permission.ACCESS_GPS" />
|
||||
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
|
||||
<uses-permission android:name="android.permisssion.ACCESS_COARSE_LOCATION" >
|
||||
</uses-permission>
|
||||
<uses-permission android:name="android.permission.SEND_SMS" >
|
||||
</uses-permission>
|
||||
<uses-permission android:name="android.permission.RECEIVE_SMS" >
|
||||
</uses-permission>
|
||||
<uses-permission android:name="android.permission.READ_SMS" />
|
||||
<uses-permission android:name="android.permission.WRITE_SMS" />
|
||||
<uses-permission android:name="android.permission.READ_CONTACTS" />
|
||||
<uses-permission android:name="android.permission.READ_LOGS" />
|
||||
<uses-permission android:name="android.permission.READ_CALL_LOG" />
|
||||
<uses-permission android:name="android.permission.WRITE_CALL_LOG" />
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
<uses-permission android:name="android.permission.GET_ACCOUNTS" >
|
||||
</uses-permission>
|
||||
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
|
||||
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" >
|
||||
</uses-permission>
|
||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" >
|
||||
</uses-permission>
|
||||
|
||||
<application
|
||||
android:allowBackup="true"
|
||||
android:icon="@drawable/ic_launcher"
|
||||
android:label="@string/app_name"
|
||||
android:screenOrientation="portrait"
|
||||
android:theme="@style/TopBarTheme" >
|
||||
<activity
|
||||
android:name="org.wso2.cdm.agent.RegistrationActivity"
|
||||
android:screenOrientation="portrait"
|
||||
android:theme="@style/TopBarTheme" >
|
||||
</activity>
|
||||
<activity
|
||||
android:name="org.wso2.cdm.agent.DisplayDeviceInfoActivity"
|
||||
android:label="@string/title_activity_display_device_info"
|
||||
android:screenOrientation="portrait" >
|
||||
</activity>
|
||||
<activity
|
||||
android:name="org.wso2.cdm.agent.RegisterSuccessfulActivity"
|
||||
android:label="@string/title_activity_register_successful"
|
||||
android:screenOrientation="portrait"
|
||||
android:theme="@style/Theme.Sherlock" >
|
||||
</activity>
|
||||
|
||||
<!-- Begin List of Receivers -->
|
||||
<receiver
|
||||
android:name="com.google.android.gcm.GCMBroadcastReceiver"
|
||||
android:permission="com.google.android.c2dm.permission.SEND" >
|
||||
<intent-filter>
|
||||
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
|
||||
<action android:name="com.google.android.c2dm.intent.REGISTRATION" />
|
||||
|
||||
<category android:name="org.wso2.emm.agent" />
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
<receiver
|
||||
android:name="org.wso2.cdm.agent.services.WSO2DeviceAdminReceiver"
|
||||
android:permission="android.permission.BIND_DEVICE_ADMIN" >
|
||||
<intent-filter>
|
||||
|
||||
<!-- This action is required -->
|
||||
<action android:name="android.app.action.DEVICE_ADMIN_ENABLED" />
|
||||
</intent-filter>
|
||||
|
||||
<!-- This is required this receiver to become device admin component. -->
|
||||
<meta-data
|
||||
android:name="android.app.device_admin"
|
||||
android:resource="@xml/wso2_device_admin" >
|
||||
</meta-data>
|
||||
</receiver>
|
||||
<receiver android:name="org.wso2.cdm.agent.services.SMSReceiver">
|
||||
<intent-filter>
|
||||
<action android:name="android.provider.Telephony.SMS_RECEIVED" />
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
<receiver android:name="org.wso2.cdm.agent.services.AlarmReceiver"></receiver>
|
||||
<receiver android:name="org.wso2.cdm.agent.services.DeviceStartupIntentReceiver" android:enabled="true" android:exported="false">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.BOOT_COMPLETED" />
|
||||
<action android:name="android.intent.action.QUICKBOOT_POWERON" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
<!-- End List of Receivers -->
|
||||
<service android:name="org.wso2.cdm.agent.GCMIntentService" />
|
||||
|
||||
<activity
|
||||
android:name="org.wso2.cdm.agent.AlreadyRegisteredActivity"
|
||||
android:screenOrientation="portrait"
|
||||
android:theme="@style/Theme.Sherlock" >
|
||||
</activity>
|
||||
<activity
|
||||
android:name="org.wso2.cdm.agent.AuthenticationActivity"
|
||||
android:screenOrientation="portrait"
|
||||
android:theme="@style/Theme.Sherlock"
|
||||
android:windowSoftInputMode="stateUnchanged|adjustPan" >
|
||||
</activity>
|
||||
<activity
|
||||
android:name="org.wso2.cdm.agent.AuthenticationErrorActivity"
|
||||
android:screenOrientation="portrait" >
|
||||
</activity>
|
||||
<activity
|
||||
android:name="org.wso2.cdm.agent.NotifyActivity"
|
||||
android:label="@string/title_activity_notify"
|
||||
android:screenOrientation="portrait" >
|
||||
</activity>
|
||||
<activity
|
||||
android:name="org.wso2.cdm.agent.ServerDetails"
|
||||
android:screenOrientation="portrait"
|
||||
android:label="@string/app_name"
|
||||
android:windowSoftInputMode="stateUnchanged|adjustPan" >
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<activity
|
||||
android:name="org.wso2.cdm.agent.PinCodeActivity"
|
||||
android:screenOrientation="portrait"
|
||||
android:windowSoftInputMode="stateUnchanged|adjustPan" >
|
||||
</activity>
|
||||
<activity
|
||||
android:name="org.wso2.cdm.agent.Notification"
|
||||
android:label="@string/title_activity_notification"
|
||||
android:screenOrientation="portrait" >
|
||||
</activity>
|
||||
<activity
|
||||
android:name="org.wso2.cdm.agent.AlertActivity"
|
||||
android:label="@string/title_activity_alert"
|
||||
android:screenOrientation="portrait"
|
||||
android:theme="@android:style/Theme.Dialog" >
|
||||
</activity>
|
||||
<activity
|
||||
android:name="org.wso2.cdm.agent.LogActivity"
|
||||
android:label="@string/title_activity_log"
|
||||
android:screenOrientation="portrait" >
|
||||
</activity>
|
||||
</application>
|
||||
|
||||
</manifest>
|
@ -0,0 +1,911 @@
|
||||
int attr actionBarDivider 0x7f01000e
|
||||
int attr actionBarItemBackground 0x7f01000f
|
||||
int attr actionBarSize 0x7f01000d
|
||||
int attr actionBarSplitStyle 0x7f01000b
|
||||
int attr actionBarStyle 0x7f01000a
|
||||
int attr actionBarTabBarStyle 0x7f010007
|
||||
int attr actionBarTabStyle 0x7f010006
|
||||
int attr actionBarTabTextStyle 0x7f010008
|
||||
int attr actionBarWidgetTheme 0x7f01000c
|
||||
int attr actionButtonStyle 0x7f01003a
|
||||
int attr actionDropDownStyle 0x7f010039
|
||||
int attr actionMenuTextAppearance 0x7f010010
|
||||
int attr actionMenuTextColor 0x7f010011
|
||||
int attr actionModeBackground 0x7f010014
|
||||
int attr actionModeCloseButtonStyle 0x7f010013
|
||||
int attr actionModeCloseDrawable 0x7f010016
|
||||
int attr actionModePopupWindowStyle 0x7f010018
|
||||
int attr actionModeShareDrawable 0x7f010017
|
||||
int attr actionModeSplitBackground 0x7f010015
|
||||
int attr actionModeStyle 0x7f010012
|
||||
int attr actionOverflowButtonStyle 0x7f010009
|
||||
int attr actionSpinnerItemStyle 0x7f01003f
|
||||
int attr activatedBackgroundIndicator 0x7f010047
|
||||
int attr activityChooserViewStyle 0x7f010046
|
||||
int attr background 0x7f010002
|
||||
int attr backgroundSplit 0x7f010003
|
||||
int attr backgroundStacked 0x7f01004e
|
||||
int attr buttonStyleSmall 0x7f010019
|
||||
int attr customNavigationLayout 0x7f01004f
|
||||
int attr displayOptions 0x7f010049
|
||||
int attr divider 0x7f010005
|
||||
int attr dividerVertical 0x7f010038
|
||||
int attr dropDownListViewStyle 0x7f01003c
|
||||
int attr dropdownListPreferredItemHeight 0x7f01003e
|
||||
int attr expandActivityOverflowButtonDrawable 0x7f01005e
|
||||
int attr headerBackground 0x7f010058
|
||||
int attr height 0x7f010004
|
||||
int attr homeAsUpIndicator 0x7f01003b
|
||||
int attr homeLayout 0x7f010050
|
||||
int attr horizontalDivider 0x7f010056
|
||||
int attr icon 0x7f01004c
|
||||
int attr iconifiedByDefault 0x7f01005f
|
||||
int attr indeterminateProgressStyle 0x7f010052
|
||||
int attr initialActivityCount 0x7f01005d
|
||||
int attr itemBackground 0x7f010059
|
||||
int attr itemIconDisabledAlpha 0x7f01005b
|
||||
int attr itemPadding 0x7f010054
|
||||
int attr itemTextAppearance 0x7f010055
|
||||
int attr listPopupWindowStyle 0x7f010045
|
||||
int attr listPreferredItemHeightSmall 0x7f010032
|
||||
int attr listPreferredItemPaddingLeft 0x7f010033
|
||||
int attr listPreferredItemPaddingRight 0x7f010034
|
||||
int attr logo 0x7f01004d
|
||||
int attr navigationMode 0x7f010048
|
||||
int attr popupMenuStyle 0x7f01003d
|
||||
int attr preserveIconSpacing 0x7f01005c
|
||||
int attr progressBarPadding 0x7f010053
|
||||
int attr progressBarStyle 0x7f010051
|
||||
int attr queryHint 0x7f010060
|
||||
int attr searchAutoCompleteTextView 0x7f010024
|
||||
int attr searchDropdownBackground 0x7f010025
|
||||
int attr searchResultListItemHeight 0x7f01002f
|
||||
int attr searchViewCloseIcon 0x7f010026
|
||||
int attr searchViewEditQuery 0x7f01002a
|
||||
int attr searchViewEditQueryBackground 0x7f01002b
|
||||
int attr searchViewGoIcon 0x7f010027
|
||||
int attr searchViewSearchIcon 0x7f010028
|
||||
int attr searchViewTextField 0x7f01002c
|
||||
int attr searchViewTextFieldRight 0x7f01002d
|
||||
int attr searchViewVoiceIcon 0x7f010029
|
||||
int attr selectableItemBackground 0x7f01001a
|
||||
int attr spinnerDropDownItemStyle 0x7f010023
|
||||
int attr spinnerItemStyle 0x7f010022
|
||||
int attr subtitle 0x7f01004b
|
||||
int attr subtitleTextStyle 0x7f010001
|
||||
int attr textAppearanceLargePopupMenu 0x7f01001c
|
||||
int attr textAppearanceListItemSmall 0x7f010035
|
||||
int attr textAppearanceSearchResultSubtitle 0x7f010031
|
||||
int attr textAppearanceSearchResultTitle 0x7f010030
|
||||
int attr textAppearanceSmall 0x7f01001e
|
||||
int attr textAppearanceSmallPopupMenu 0x7f01001d
|
||||
int attr textColorPrimary 0x7f01001f
|
||||
int attr textColorPrimaryDisableOnly 0x7f010020
|
||||
int attr textColorPrimaryInverse 0x7f010021
|
||||
int attr textColorSearchUrl 0x7f01002e
|
||||
int attr title 0x7f01004a
|
||||
int attr titleTextStyle 0x7f010000
|
||||
int attr verticalDivider 0x7f010057
|
||||
int attr windowActionBar 0x7f010041
|
||||
int attr windowActionBarOverlay 0x7f010042
|
||||
int attr windowActionModeOverlay 0x7f010043
|
||||
int attr windowAnimationStyle 0x7f01005a
|
||||
int attr windowContentOverlay 0x7f01001b
|
||||
int attr windowMinWidthMajor 0x7f010036
|
||||
int attr windowMinWidthMinor 0x7f010037
|
||||
int attr windowNoTitle 0x7f010040
|
||||
int attr windowSplitActionBar 0x7f010044
|
||||
int bool abs__action_bar_embed_tabs 0x7f070000
|
||||
int bool abs__action_bar_expanded_action_views_exclusive 0x7f070002
|
||||
int bool abs__config_actionMenuItemAllCaps 0x7f070004
|
||||
int bool abs__config_allowActionMenuItemTextWithIcon 0x7f070005
|
||||
int bool abs__config_showMenuShortcutsWhenKeyboardPresent 0x7f070003
|
||||
int bool abs__split_action_bar_is_narrow 0x7f070001
|
||||
int color abs__background_holo_dark 0x7f080000
|
||||
int color abs__background_holo_light 0x7f080001
|
||||
int color abs__bright_foreground_disabled_holo_dark 0x7f080004
|
||||
int color abs__bright_foreground_disabled_holo_light 0x7f080005
|
||||
int color abs__bright_foreground_holo_dark 0x7f080002
|
||||
int color abs__bright_foreground_holo_light 0x7f080003
|
||||
int color abs__bright_foreground_inverse_holo_dark 0x7f080006
|
||||
int color abs__bright_foreground_inverse_holo_light 0x7f080007
|
||||
int color abs__holo_blue_light 0x7f080008
|
||||
int color abs__primary_text_disable_only_holo_dark 0x7f08000c
|
||||
int color abs__primary_text_disable_only_holo_light 0x7f08000d
|
||||
int color abs__primary_text_holo_dark 0x7f08000e
|
||||
int color abs__primary_text_holo_light 0x7f08000f
|
||||
int color black 0x7f08000b
|
||||
int color light_grey 0x7f080009
|
||||
int color white 0x7f08000a
|
||||
int dimen abs__action_bar_default_height 0x7f090001
|
||||
int dimen abs__action_bar_icon_vertical_padding 0x7f090002
|
||||
int dimen abs__action_bar_subtitle_bottom_margin 0x7f090006
|
||||
int dimen abs__action_bar_subtitle_text_size 0x7f090004
|
||||
int dimen abs__action_bar_subtitle_top_margin 0x7f090005
|
||||
int dimen abs__action_bar_title_text_size 0x7f090003
|
||||
int dimen abs__action_button_min_width 0x7f090007
|
||||
int dimen abs__alert_dialog_title_height 0x7f090008
|
||||
int dimen abs__config_prefDialogWidth 0x7f090000
|
||||
int dimen abs__dialog_min_width_major 0x7f090009
|
||||
int dimen abs__dialog_min_width_minor 0x7f09000a
|
||||
int dimen abs__dropdownitem_icon_width 0x7f09000d
|
||||
int dimen abs__dropdownitem_text_padding_left 0x7f09000b
|
||||
int dimen abs__dropdownitem_text_padding_right 0x7f09000c
|
||||
int dimen abs__search_view_preferred_width 0x7f09000f
|
||||
int dimen abs__search_view_text_min_width 0x7f09000e
|
||||
int dimen action_button_min_width 0x7f090010
|
||||
int dimen activity_horizontal_margin 0x7f090011
|
||||
int dimen activity_vertical_margin 0x7f090012
|
||||
int dimen top_bar_height 0x7f090013
|
||||
int drawable abs__ab_bottom_solid_dark_holo 0x7f020000
|
||||
int drawable abs__ab_bottom_solid_inverse_holo 0x7f020001
|
||||
int drawable abs__ab_bottom_solid_light_holo 0x7f020002
|
||||
int drawable abs__ab_bottom_transparent_dark_holo 0x7f020003
|
||||
int drawable abs__ab_bottom_transparent_light_holo 0x7f020004
|
||||
int drawable abs__ab_share_pack_holo_dark 0x7f020005
|
||||
int drawable abs__ab_share_pack_holo_light 0x7f020006
|
||||
int drawable abs__ab_solid_dark_holo 0x7f020007
|
||||
int drawable abs__ab_solid_light_holo 0x7f020008
|
||||
int drawable abs__ab_solid_shadow_holo 0x7f020009
|
||||
int drawable abs__ab_stacked_solid_dark_holo 0x7f02000a
|
||||
int drawable abs__ab_stacked_solid_light_holo 0x7f02000b
|
||||
int drawable abs__ab_stacked_transparent_dark_holo 0x7f02000c
|
||||
int drawable abs__ab_stacked_transparent_light_holo 0x7f02000d
|
||||
int drawable abs__ab_transparent_dark_holo 0x7f02000e
|
||||
int drawable abs__ab_transparent_light_holo 0x7f02000f
|
||||
int drawable abs__activated_background_holo_dark 0x7f020010
|
||||
int drawable abs__activated_background_holo_light 0x7f020011
|
||||
int drawable abs__btn_cab_done_default_holo_dark 0x7f020012
|
||||
int drawable abs__btn_cab_done_default_holo_light 0x7f020013
|
||||
int drawable abs__btn_cab_done_focused_holo_dark 0x7f020014
|
||||
int drawable abs__btn_cab_done_focused_holo_light 0x7f020015
|
||||
int drawable abs__btn_cab_done_holo_dark 0x7f020016
|
||||
int drawable abs__btn_cab_done_holo_light 0x7f020017
|
||||
int drawable abs__btn_cab_done_pressed_holo_dark 0x7f020018
|
||||
int drawable abs__btn_cab_done_pressed_holo_light 0x7f020019
|
||||
int drawable abs__cab_background_bottom_holo_dark 0x7f02001a
|
||||
int drawable abs__cab_background_bottom_holo_light 0x7f02001b
|
||||
int drawable abs__cab_background_top_holo_dark 0x7f02001c
|
||||
int drawable abs__cab_background_top_holo_light 0x7f02001d
|
||||
int drawable abs__dialog_full_holo_dark 0x7f02001e
|
||||
int drawable abs__dialog_full_holo_light 0x7f02001f
|
||||
int drawable abs__ic_ab_back_holo_dark 0x7f020020
|
||||
int drawable abs__ic_ab_back_holo_light 0x7f020021
|
||||
int drawable abs__ic_cab_done_holo_dark 0x7f020022
|
||||
int drawable abs__ic_cab_done_holo_light 0x7f020023
|
||||
int drawable abs__ic_clear 0x7f020024
|
||||
int drawable abs__ic_clear_disabled 0x7f020025
|
||||
int drawable abs__ic_clear_holo_light 0x7f020026
|
||||
int drawable abs__ic_clear_normal 0x7f020027
|
||||
int drawable abs__ic_clear_search_api_disabled_holo_light 0x7f020028
|
||||
int drawable abs__ic_clear_search_api_holo_light 0x7f020029
|
||||
int drawable abs__ic_go 0x7f02002a
|
||||
int drawable abs__ic_go_search_api_holo_light 0x7f02002b
|
||||
int drawable abs__ic_menu_moreoverflow_holo_dark 0x7f02002c
|
||||
int drawable abs__ic_menu_moreoverflow_holo_light 0x7f02002d
|
||||
int drawable abs__ic_menu_moreoverflow_normal_holo_dark 0x7f02002e
|
||||
int drawable abs__ic_menu_moreoverflow_normal_holo_light 0x7f02002f
|
||||
int drawable abs__ic_menu_share_holo_dark 0x7f020030
|
||||
int drawable abs__ic_menu_share_holo_light 0x7f020031
|
||||
int drawable abs__ic_search 0x7f020032
|
||||
int drawable abs__ic_search_api_holo_light 0x7f020033
|
||||
int drawable abs__ic_voice_search 0x7f020034
|
||||
int drawable abs__ic_voice_search_api_holo_light 0x7f020035
|
||||
int drawable abs__item_background_holo_dark 0x7f020036
|
||||
int drawable abs__item_background_holo_light 0x7f020037
|
||||
int drawable abs__list_activated_holo 0x7f020038
|
||||
int drawable abs__list_divider_holo_dark 0x7f020039
|
||||
int drawable abs__list_divider_holo_light 0x7f02003a
|
||||
int drawable abs__list_focused_holo 0x7f02003b
|
||||
int drawable abs__list_longpressed_holo 0x7f02003c
|
||||
int drawable abs__list_pressed_holo_dark 0x7f02003d
|
||||
int drawable abs__list_pressed_holo_light 0x7f02003e
|
||||
int drawable abs__list_selector_background_transition_holo_dark 0x7f02003f
|
||||
int drawable abs__list_selector_background_transition_holo_light 0x7f020040
|
||||
int drawable abs__list_selector_disabled_holo_dark 0x7f020041
|
||||
int drawable abs__list_selector_disabled_holo_light 0x7f020042
|
||||
int drawable abs__list_selector_holo_dark 0x7f020043
|
||||
int drawable abs__list_selector_holo_light 0x7f020044
|
||||
int drawable abs__menu_dropdown_panel_holo_dark 0x7f020045
|
||||
int drawable abs__menu_dropdown_panel_holo_light 0x7f020046
|
||||
int drawable abs__progress_bg_holo_dark 0x7f020047
|
||||
int drawable abs__progress_bg_holo_light 0x7f020048
|
||||
int drawable abs__progress_horizontal_holo_dark 0x7f020049
|
||||
int drawable abs__progress_horizontal_holo_light 0x7f02004a
|
||||
int drawable abs__progress_medium_holo 0x7f02004b
|
||||
int drawable abs__progress_primary_holo_dark 0x7f02004c
|
||||
int drawable abs__progress_primary_holo_light 0x7f02004d
|
||||
int drawable abs__progress_secondary_holo_dark 0x7f02004e
|
||||
int drawable abs__progress_secondary_holo_light 0x7f02004f
|
||||
int drawable abs__search_dropdown_dark 0x7f020050
|
||||
int drawable abs__search_dropdown_light 0x7f020051
|
||||
int drawable abs__spinner_48_inner_holo 0x7f020052
|
||||
int drawable abs__spinner_48_outer_holo 0x7f020053
|
||||
int drawable abs__spinner_ab_default_holo_dark 0x7f020054
|
||||
int drawable abs__spinner_ab_default_holo_light 0x7f020055
|
||||
int drawable abs__spinner_ab_disabled_holo_dark 0x7f020056
|
||||
int drawable abs__spinner_ab_disabled_holo_light 0x7f020057
|
||||
int drawable abs__spinner_ab_focused_holo_dark 0x7f020058
|
||||
int drawable abs__spinner_ab_focused_holo_light 0x7f020059
|
||||
int drawable abs__spinner_ab_holo_dark 0x7f02005a
|
||||
int drawable abs__spinner_ab_holo_light 0x7f02005b
|
||||
int drawable abs__spinner_ab_pressed_holo_dark 0x7f02005c
|
||||
int drawable abs__spinner_ab_pressed_holo_light 0x7f02005d
|
||||
int drawable abs__tab_indicator_ab_holo 0x7f02005e
|
||||
int drawable abs__tab_selected_focused_holo 0x7f02005f
|
||||
int drawable abs__tab_selected_holo 0x7f020060
|
||||
int drawable abs__tab_selected_pressed_holo 0x7f020061
|
||||
int drawable abs__tab_unselected_pressed_holo 0x7f020062
|
||||
int drawable abs__textfield_search_default_holo_dark 0x7f020063
|
||||
int drawable abs__textfield_search_default_holo_light 0x7f020064
|
||||
int drawable abs__textfield_search_right_default_holo_dark 0x7f020065
|
||||
int drawable abs__textfield_search_right_default_holo_light 0x7f020066
|
||||
int drawable abs__textfield_search_right_selected_holo_dark 0x7f020067
|
||||
int drawable abs__textfield_search_right_selected_holo_light 0x7f020068
|
||||
int drawable abs__textfield_search_selected_holo_dark 0x7f020069
|
||||
int drawable abs__textfield_search_selected_holo_light 0x7f02006a
|
||||
int drawable abs__textfield_searchview_holo_dark 0x7f02006b
|
||||
int drawable abs__textfield_searchview_holo_light 0x7f02006c
|
||||
int drawable abs__textfield_searchview_right_holo_dark 0x7f02006d
|
||||
int drawable abs__textfield_searchview_right_holo_light 0x7f02006e
|
||||
int drawable appinstall 0x7f02006f
|
||||
int drawable applist 0x7f020070
|
||||
int drawable appuninstall 0x7f020071
|
||||
int drawable btn_grey 0x7f020072
|
||||
int drawable btn_orange 0x7f020073
|
||||
int drawable camera 0x7f020074
|
||||
int drawable changepassword 0x7f020075
|
||||
int drawable custom_checkbox 0x7f020076
|
||||
int drawable dot 0x7f020077
|
||||
int drawable encrypt 0x7f020078
|
||||
int drawable ic_bookmark 0x7f020079
|
||||
int drawable ic_check_default 0x7f02007a
|
||||
int drawable ic_check_selected 0x7f02007b
|
||||
int drawable ic_launcher 0x7f02007c
|
||||
int drawable ic_logo 0x7f02007d
|
||||
int drawable ic_logo_dark 0x7f02007e
|
||||
int drawable ic_stat_gcm 0x7f02007f
|
||||
int drawable info 0x7f020080
|
||||
int drawable location 0x7f020081
|
||||
int drawable lock 0x7f020082
|
||||
int drawable mdm_logo 0x7f020083
|
||||
int drawable mute 0x7f020084
|
||||
int drawable notification 0x7f020085
|
||||
int drawable option_icon 0x7f020086
|
||||
int drawable repeat_bg 0x7f020087
|
||||
int drawable top_bar 0x7f020088
|
||||
int drawable wifi 0x7f020089
|
||||
int drawable wipe 0x7f02008a
|
||||
int id TextView01 0x7f060091
|
||||
int id abs__action_bar 0x7f06004e
|
||||
int id abs__action_bar_container 0x7f06004d
|
||||
int id abs__action_bar_subtitle 0x7f06003d
|
||||
int id abs__action_bar_title 0x7f06003c
|
||||
int id abs__action_context_bar 0x7f06004f
|
||||
int id abs__action_menu_divider 0x7f06000c
|
||||
int id abs__action_menu_presenter 0x7f06000d
|
||||
int id abs__action_mode_bar 0x7f060052
|
||||
int id abs__action_mode_bar_stub 0x7f060051
|
||||
int id abs__action_mode_close_button 0x7f060040
|
||||
int id abs__activity_chooser_view_content 0x7f060041
|
||||
int id abs__checkbox 0x7f06004a
|
||||
int id abs__content 0x7f060049
|
||||
int id abs__default_activity_button 0x7f060044
|
||||
int id abs__expand_activities_button 0x7f060042
|
||||
int id abs__home 0x7f06000a
|
||||
int id abs__icon 0x7f060046
|
||||
int id abs__image 0x7f060043
|
||||
int id abs__imageButton 0x7f06003e
|
||||
int id abs__list_item 0x7f060045
|
||||
int id abs__progress_circular 0x7f06000e
|
||||
int id abs__progress_horizontal 0x7f06000f
|
||||
int id abs__radio 0x7f06004c
|
||||
int id abs__search_badge 0x7f060055
|
||||
int id abs__search_bar 0x7f060054
|
||||
int id abs__search_button 0x7f060056
|
||||
int id abs__search_close_btn 0x7f06005b
|
||||
int id abs__search_edit_frame 0x7f060057
|
||||
int id abs__search_go_btn 0x7f06005d
|
||||
int id abs__search_mag_icon 0x7f060058
|
||||
int id abs__search_plate 0x7f060059
|
||||
int id abs__search_src_text 0x7f06005a
|
||||
int id abs__search_voice_btn 0x7f06005e
|
||||
int id abs__shortcut 0x7f06004b
|
||||
int id abs__split_action_bar 0x7f060050
|
||||
int id abs__submit_area 0x7f06005c
|
||||
int id abs__textButton 0x7f06003f
|
||||
int id abs__title 0x7f060047
|
||||
int id abs__titleDivider 0x7f060048
|
||||
int id abs__up 0x7f06000b
|
||||
int id action_settings 0x7f060095
|
||||
int id background_container 0x7f06001f
|
||||
int id blocks_now 0x7f06001e
|
||||
int id blocks_ruler 0x7f06001d
|
||||
int id btnEnroll 0x7f060082
|
||||
int id btnLogin 0x7f060090
|
||||
int id btnOK 0x7f060064
|
||||
int id btnRefresh 0x7f06007d
|
||||
int id btnRegister 0x7f060070
|
||||
int id btnReset 0x7f06007e
|
||||
int id btnSetPin 0x7f060087
|
||||
int id btnStartRegistration 0x7f06008b
|
||||
int id btnTryAgain 0x7f060073
|
||||
int id btnUnreg 0x7f060065
|
||||
int id btnUnregister 0x7f060088
|
||||
int id button_layout 0x7f06008d
|
||||
int id debug_log 0x7f06009b
|
||||
int id dialogButtonCancel 0x7f06008f
|
||||
int id dialogButtonOK 0x7f06008e
|
||||
int id dialog_discard_confirm 0x7f06001a
|
||||
int id dialog_moderator 0x7f06001b
|
||||
int id dialog_wave 0x7f06001c
|
||||
int id disableHome 0x7f060009
|
||||
int id edit_query 0x7f060053
|
||||
int id enrollPanel 0x7f060081
|
||||
int id error 0x7f060072
|
||||
int id etDomain 0x7f06006a
|
||||
int id etPassword 0x7f06006c
|
||||
int id etUsername 0x7f06006b
|
||||
int id evServerIP 0x7f06008a
|
||||
int id footer 0x7f060071
|
||||
int id footerlogo 0x7f060068
|
||||
int id fragment_container 0x7f060034
|
||||
int id gridview 0x7f060014
|
||||
int id homeAsUp 0x7f060006
|
||||
int id incompatibleError 0x7f060074
|
||||
int id info 0x7f060098
|
||||
int id info_setting 0x7f060099
|
||||
int id ip_setting 0x7f060097
|
||||
int id layout_topbar 0x7f060067
|
||||
int id lblPin 0x7f060084
|
||||
int id linInner 0x7f060062
|
||||
int id linearLayout1 0x7f060069
|
||||
int id linearLayoutText 0x7f060080
|
||||
int id listMode 0x7f060002
|
||||
int id listview 0x7f060060
|
||||
int id logo 0x7f06005f
|
||||
int id more 0x7f060096
|
||||
int id normal 0x7f060001
|
||||
int id notify 0x7f060092
|
||||
int id option_button 0x7f06007c
|
||||
int id pin_setting 0x7f06009a
|
||||
int id preference_brand_view 0x7f06002d
|
||||
int id preference_empty_view 0x7f06002c
|
||||
int id radioBYOD 0x7f06006e
|
||||
int id radioCOPE 0x7f06006f
|
||||
int id radioGroupType 0x7f06006d
|
||||
int id rowImage 0x7f060093
|
||||
int id rowTextView 0x7f060094
|
||||
int id scroller 0x7f060061
|
||||
int id setting_invite_email_button 0x7f060030
|
||||
int id setting_invite_email_edittext 0x7f06002f
|
||||
int id setting_invite_email_imageview 0x7f060031
|
||||
int id setting_invite_email_layout 0x7f06002e
|
||||
int id setting_invite_email_textview 0x7f060032
|
||||
int id sg_button1 0x7f060039
|
||||
int id sg_button2 0x7f06003a
|
||||
int id sg_button3 0x7f06003b
|
||||
int id sg_category_popup 0x7f060035
|
||||
int id sg_city 0x7f060038
|
||||
int id sg_tag_command 0x7f060036
|
||||
int id sg_tag_payload 0x7f060037
|
||||
int id showCustom 0x7f060008
|
||||
int id showHome 0x7f060005
|
||||
int id showTitle 0x7f060007
|
||||
int id sp_edittext_city 0x7f060025
|
||||
int id sp_edittext_email 0x7f060023
|
||||
int id sp_edittext_location 0x7f060022
|
||||
int id sp_edittext_name 0x7f060021
|
||||
int id sp_edittext_other 0x7f06002a
|
||||
int id sp_edittext_phone 0x7f060029
|
||||
int id sp_edittext_state 0x7f060026
|
||||
int id sp_edittext_street 0x7f060024
|
||||
int id sp_edittext_zipcode 0x7f060027
|
||||
int id sp_textview_country 0x7f060028
|
||||
int id sp_textview_gpspick 0x7f06002b
|
||||
int id startRegistration 0x7f060083
|
||||
int id swipeable 0x7f060013
|
||||
int id swipeable_bottom 0x7f060010
|
||||
int id swipeable_container 0x7f060012
|
||||
int id swipeable_top 0x7f060011
|
||||
int id tabMode 0x7f060003
|
||||
int id text 0x7f06008c
|
||||
int id title_bar_layout 0x7f060020
|
||||
int id title_container 0x7f060016
|
||||
int id title_logo 0x7f060017
|
||||
int id title_option 0x7f060019
|
||||
int id title_text 0x7f060018
|
||||
int id tvSeverAddress 0x7f060089
|
||||
int id txtDevice 0x7f060076
|
||||
int id txtId 0x7f060075
|
||||
int id txtLog 0x7f06007f
|
||||
int id txtMessage 0x7f060063
|
||||
int id txtModel 0x7f060077
|
||||
int id txtOS 0x7f06007a
|
||||
int id txtOldPinCode 0x7f060085
|
||||
int id txtOperator 0x7f060078
|
||||
int id txtPinCode 0x7f060086
|
||||
int id txtRegText 0x7f060066
|
||||
int id txtRoot 0x7f06007b
|
||||
int id txtSDK 0x7f060079
|
||||
int id useLogo 0x7f060004
|
||||
int id user_edit_location 0x7f060033
|
||||
int id webview 0x7f060015
|
||||
int id wrap_content 0x7f060000
|
||||
int integer abs__max_action_buttons 0x7f0a0000
|
||||
int layout abs__action_bar_home 0x7f030000
|
||||
int layout abs__action_bar_tab 0x7f030001
|
||||
int layout abs__action_bar_tab_bar_view 0x7f030002
|
||||
int layout abs__action_bar_title_item 0x7f030003
|
||||
int layout abs__action_menu_item_layout 0x7f030004
|
||||
int layout abs__action_menu_layout 0x7f030005
|
||||
int layout abs__action_mode_bar 0x7f030006
|
||||
int layout abs__action_mode_close_item 0x7f030007
|
||||
int layout abs__activity_chooser_view 0x7f030008
|
||||
int layout abs__activity_chooser_view_list_item 0x7f030009
|
||||
int layout abs__dialog_title_holo 0x7f03000a
|
||||
int layout abs__list_menu_item_checkbox 0x7f03000b
|
||||
int layout abs__list_menu_item_icon 0x7f03000c
|
||||
int layout abs__list_menu_item_layout 0x7f03000d
|
||||
int layout abs__list_menu_item_radio 0x7f03000e
|
||||
int layout abs__popup_menu_item_layout 0x7f03000f
|
||||
int layout abs__screen_action_bar 0x7f030010
|
||||
int layout abs__screen_action_bar_overlay 0x7f030011
|
||||
int layout abs__screen_simple 0x7f030012
|
||||
int layout abs__screen_simple_overlay_action_mode 0x7f030013
|
||||
int layout abs__search_dropdown_item_icons_2line 0x7f030014
|
||||
int layout abs__search_view 0x7f030015
|
||||
int layout abs__simple_dropdown_hint 0x7f030016
|
||||
int layout activity_agent_settings 0x7f030017
|
||||
int layout activity_alert 0x7f030018
|
||||
int layout activity_already_registered 0x7f030019
|
||||
int layout activity_authentication 0x7f03001a
|
||||
int layout activity_authentication_error 0x7f03001b
|
||||
int layout activity_available_operations 0x7f03001c
|
||||
int layout activity_display_device_info 0x7f03001d
|
||||
int layout activity_entry 0x7f03001e
|
||||
int layout activity_log 0x7f03001f
|
||||
int layout activity_main 0x7f030020
|
||||
int layout activity_notification 0x7f030021
|
||||
int layout activity_pin_code 0x7f030022
|
||||
int layout activity_register_successful 0x7f030023
|
||||
int layout activity_settings 0x7f030024
|
||||
int layout custom_sherlock_bar 0x7f030025
|
||||
int layout custom_terms_popup 0x7f030026
|
||||
int layout footer_repeat 0x7f030027
|
||||
int layout header_gradient 0x7f030028
|
||||
int layout login 0x7f030029
|
||||
int layout main 0x7f03002a
|
||||
int layout notify 0x7f03002b
|
||||
int layout row_with_icon 0x7f03002c
|
||||
int layout sherlock_spinner_dropdown_item 0x7f03002d
|
||||
int layout sherlock_spinner_item 0x7f03002e
|
||||
int layout simplerow 0x7f03002f
|
||||
int menu agent_settings 0x7f0d0000
|
||||
int menu alert 0x7f0d0001
|
||||
int menu all_ready_registered 0x7f0d0002
|
||||
int menu auth_sherlock_menu 0x7f0d0003
|
||||
int menu authentication 0x7f0d0004
|
||||
int menu authentication_error 0x7f0d0005
|
||||
int menu available_operations 0x7f0d0006
|
||||
int menu display_device_info 0x7f0d0007
|
||||
int menu entry 0x7f0d0008
|
||||
int menu log 0x7f0d0009
|
||||
int menu main 0x7f0d000a
|
||||
int menu notification 0x7f0d000b
|
||||
int menu notify 0x7f0d000c
|
||||
int menu options_menu 0x7f0d000d
|
||||
int menu pin_code 0x7f0d000e
|
||||
int menu register_successful 0x7f0d000f
|
||||
int menu settings 0x7f0d0010
|
||||
int menu sherlock_menu 0x7f0d0011
|
||||
int menu sherlock_menu_debug 0x7f0d0012
|
||||
int raw emm_truststore 0x7f050000
|
||||
int string abs__action_bar_home_description 0x7f0b0000
|
||||
int string abs__action_bar_up_description 0x7f0b0001
|
||||
int string abs__action_menu_overflow_description 0x7f0b0002
|
||||
int string abs__action_mode_done 0x7f0b0003
|
||||
int string abs__activity_chooser_view_dialog_title_default 0x7f0b0005
|
||||
int string abs__activity_chooser_view_see_all 0x7f0b0004
|
||||
int string abs__activitychooserview_choose_application 0x7f0b0007
|
||||
int string abs__searchview_description_clear 0x7f0b000c
|
||||
int string abs__searchview_description_query 0x7f0b000b
|
||||
int string abs__searchview_description_search 0x7f0b000a
|
||||
int string abs__searchview_description_submit 0x7f0b000d
|
||||
int string abs__searchview_description_voice 0x7f0b000e
|
||||
int string abs__share_action_provider_share_with 0x7f0b0006
|
||||
int string abs__shareactionprovider_share_with 0x7f0b0008
|
||||
int string abs__shareactionprovider_share_with_application 0x7f0b0009
|
||||
int string action_settings 0x7f0b0025
|
||||
int string already_registered 0x7f0b0012
|
||||
int string app_name 0x7f0b0023
|
||||
int string application_mgr_download_file_name 0x7f0b0097
|
||||
int string application_mgr_download_location 0x7f0b0096
|
||||
int string application_mgr_mime 0x7f0b0098
|
||||
int string application_package_launcher_action 0x7f0b009a
|
||||
int string application_package_prefix 0x7f0b0099
|
||||
int string button_cancel 0x7f0b0095
|
||||
int string button_ok 0x7f0b0094
|
||||
int string client_id 0x7f0b000f
|
||||
int string client_secret 0x7f0b0010
|
||||
int string device_admin_disabled 0x7f0b0030
|
||||
int string device_admin_enable_alert 0x7f0b003f
|
||||
int string device_admin_enabled 0x7f0b002f
|
||||
int string device_compatible 0x7f0b0033
|
||||
int string device_enroll_type_byod 0x7f0b0040
|
||||
int string device_enroll_type_cope 0x7f0b0041
|
||||
int string device_not_compatible_error 0x7f0b0031
|
||||
int string device_not_compatible_error_os 0x7f0b0032
|
||||
int string device_not_compatible_error_root 0x7f0b0034
|
||||
int string dialog_authenticate 0x7f0b0075
|
||||
int string dialog_checking_reg 0x7f0b0077
|
||||
int string dialog_enrolling 0x7f0b007a
|
||||
int string dialog_init_confirmation 0x7f0b007d
|
||||
int string dialog_init_device_type 0x7f0b007f
|
||||
int string dialog_init_end 0x7f0b0080
|
||||
int string dialog_init_end_general 0x7f0b0081
|
||||
int string dialog_init_middle 0x7f0b007e
|
||||
int string dialog_license_agreement 0x7f0b0079
|
||||
int string dialog_message_please_wait 0x7f0b0089
|
||||
int string dialog_message_unregistering 0x7f0b0088
|
||||
int string dialog_pin_confirmation 0x7f0b007b
|
||||
int string dialog_pin_confirmation_end 0x7f0b007c
|
||||
int string dialog_please_wait 0x7f0b0076
|
||||
int string dialog_sender_id 0x7f0b0078
|
||||
int string dialog_unregister 0x7f0b0082
|
||||
int string empty_app_title 0x7f0b0024
|
||||
int string error_auth_failed_detail 0x7f0b006c
|
||||
int string error_authentication_failed 0x7f0b006d
|
||||
int string error_authorization_failed 0x7f0b0069
|
||||
int string error_config 0x7f0b0011
|
||||
int string error_connect_to_server 0x7f0b0065
|
||||
int string error_enrollment_failed 0x7f0b006a
|
||||
int string error_enrollment_failed_detail 0x7f0b006b
|
||||
int string error_for_all_unknown_authentication_failures 0x7f0b0070
|
||||
int string error_for_all_unknown_notification_failures 0x7f0b0072
|
||||
int string error_for_all_unknown_registration_failures 0x7f0b006f
|
||||
int string error_for_all_unknown_unregister_failures 0x7f0b0071
|
||||
int string error_heading_connection 0x7f0b0066
|
||||
int string error_internal_server 0x7f0b0073
|
||||
int string error_invalid_server_address 0x7f0b0074
|
||||
int string error_network_unavailable 0x7f0b006e
|
||||
int string error_registration_failed 0x7f0b0067
|
||||
int string error_unregistration_failed 0x7f0b0068
|
||||
int string gcm_deleted 0x7f0b0018
|
||||
int string gcm_error 0x7f0b0016
|
||||
int string gcm_message 0x7f0b0015
|
||||
int string gcm_recoverable_error 0x7f0b0017
|
||||
int string gcm_registered 0x7f0b0013
|
||||
int string gcm_unregistered 0x7f0b0014
|
||||
int string hello_world 0x7f0b0026
|
||||
int string hint_new_pin 0x7f0b0045
|
||||
int string info_label_device 0x7f0b008b
|
||||
int string info_label_imei 0x7f0b008a
|
||||
int string info_label_imsi 0x7f0b008f
|
||||
int string info_label_model 0x7f0b008c
|
||||
int string info_label_no_sim 0x7f0b008d
|
||||
int string info_label_operator 0x7f0b008e
|
||||
int string info_label_os 0x7f0b0090
|
||||
int string info_label_rooted 0x7f0b0091
|
||||
int string intent_extra_fresh_reg_flag 0x7f0b004f
|
||||
int string intent_extra_from_activity 0x7f0b004b
|
||||
int string intent_extra_main_activity 0x7f0b004d
|
||||
int string intent_extra_message 0x7f0b004e
|
||||
int string intent_extra_notification 0x7f0b0051
|
||||
int string intent_extra_regid 0x7f0b004c
|
||||
int string intent_extra_username 0x7f0b0050
|
||||
int string menu_item_change_ip 0x7f0b0087
|
||||
int string menu_item_change_pin 0x7f0b0086
|
||||
int string menu_item_ip 0x7f0b003c
|
||||
int string menu_item_log 0x7f0b003d
|
||||
int string menu_item_operations 0x7f0b003a
|
||||
int string menu_item_phone_info 0x7f0b0085
|
||||
int string menu_item_pin 0x7f0b003b
|
||||
int string no 0x7f0b0093
|
||||
int string options_clear 0x7f0b0021
|
||||
int string options_exit 0x7f0b0022
|
||||
int string options_register 0x7f0b001e
|
||||
int string options_unregister 0x7f0b001f
|
||||
int string register_button_text 0x7f0b0083
|
||||
int string register_text_view_text_unregister 0x7f0b0084
|
||||
int string registration_heading 0x7f0b009e
|
||||
int string server_register_error 0x7f0b001c
|
||||
int string server_registered 0x7f0b001a
|
||||
int string server_registering 0x7f0b0019
|
||||
int string server_unregister_error 0x7f0b001d
|
||||
int string server_unregistered 0x7f0b001b
|
||||
int string server_util_req_type_get 0x7f0b009c
|
||||
int string server_util_req_type_post 0x7f0b009b
|
||||
int string shared_pref_client_id 0x7f0b0063
|
||||
int string shared_pref_client_secret 0x7f0b0064
|
||||
int string shared_pref_device_active 0x7f0b0062
|
||||
int string shared_pref_eula 0x7f0b0057
|
||||
int string shared_pref_interval 0x7f0b0060
|
||||
int string shared_pref_ip 0x7f0b0056
|
||||
int string shared_pref_isagreed 0x7f0b0054
|
||||
int string shared_pref_message_mode 0x7f0b005f
|
||||
int string shared_pref_package 0x7f0b0052
|
||||
int string shared_pref_pin 0x7f0b005a
|
||||
int string shared_pref_policy 0x7f0b0053
|
||||
int string shared_pref_regId 0x7f0b0058
|
||||
int string shared_pref_reg_fail 0x7f0b005c
|
||||
int string shared_pref_reg_success 0x7f0b005b
|
||||
int string shared_pref_reg_type 0x7f0b005d
|
||||
int string shared_pref_registered 0x7f0b0055
|
||||
int string shared_pref_sender_id 0x7f0b005e
|
||||
int string shared_pref_username 0x7f0b0059
|
||||
int string string_content 0x7f0b0020
|
||||
int string title_activity_agent_settings 0x7f0b0038
|
||||
int string title_activity_alert 0x7f0b003e
|
||||
int string title_activity_authentication_error 0x7f0b0035
|
||||
int string title_activity_available_operations 0x7f0b0039
|
||||
int string title_activity_display_device_info 0x7f0b0027
|
||||
int string title_activity_entry 0x7f0b002a
|
||||
int string title_activity_log 0x7f0b009d
|
||||
int string title_activity_notification 0x7f0b0036
|
||||
int string title_activity_notify 0x7f0b0037
|
||||
int string title_activity_register_successful 0x7f0b0029
|
||||
int string title_head_authentication_error 0x7f0b002b
|
||||
int string title_head_confirm_pin 0x7f0b0044
|
||||
int string title_head_connection_error 0x7f0b002d
|
||||
int string title_head_init_error 0x7f0b0043
|
||||
int string title_head_notification_error 0x7f0b002e
|
||||
int string title_head_registration_error 0x7f0b002c
|
||||
int string title_init_msg_error 0x7f0b0042
|
||||
int string toast_error_password 0x7f0b004a
|
||||
int string toast_error_username 0x7f0b0049
|
||||
int string toast_message_enter_server_address 0x7f0b0048
|
||||
int string toast_message_pin_change_failed 0x7f0b0047
|
||||
int string toast_message_pin_change_success 0x7f0b0046
|
||||
int string url 0x7f0b0028
|
||||
int string username 0x7f0b0061
|
||||
int string validation_pin_confirm 0x7f0b009f
|
||||
int string yes 0x7f0b0092
|
||||
int style AppBaseTheme 0x7f0c0059
|
||||
int style AppTheme 0x7f0c005a
|
||||
int style ButtonText 0x7f0c005f
|
||||
int style DialogWindowTitle_Sherlock 0x7f0c0036
|
||||
int style DialogWindowTitle_Sherlock_Light 0x7f0c0037
|
||||
int style Sherlock___TextAppearance_Small 0x7f0c004a
|
||||
int style Sherlock___Theme 0x7f0c004e
|
||||
int style Sherlock___Theme_DarkActionBar 0x7f0c0050
|
||||
int style Sherlock___Theme_Dialog 0x7f0c0051
|
||||
int style Sherlock___Theme_Light 0x7f0c004f
|
||||
int style Sherlock___Widget_ActionBar 0x7f0c0001
|
||||
int style Sherlock___Widget_ActionMode 0x7f0c0016
|
||||
int style Sherlock___Widget_ActivityChooserView 0x7f0c001e
|
||||
int style Sherlock___Widget_Holo_DropDownItem 0x7f0c0029
|
||||
int style Sherlock___Widget_Holo_ListView 0x7f0c0026
|
||||
int style Sherlock___Widget_Holo_Spinner 0x7f0c0023
|
||||
int style Sherlock___Widget_SearchAutoCompleteTextView 0x7f0c0033
|
||||
int style TextAppearance_Sherlock_DialogWindowTitle 0x7f0c0048
|
||||
int style TextAppearance_Sherlock_Light_DialogWindowTitle 0x7f0c0049
|
||||
int style TextAppearance_Sherlock_Light_Small 0x7f0c004c
|
||||
int style TextAppearance_Sherlock_Light_Widget_PopupMenu_Large 0x7f0c0043
|
||||
int style TextAppearance_Sherlock_Light_Widget_PopupMenu_Small 0x7f0c0045
|
||||
int style TextAppearance_Sherlock_Small 0x7f0c004b
|
||||
int style TextAppearance_Sherlock_Widget_ActionBar_Menu 0x7f0c0038
|
||||
int style TextAppearance_Sherlock_Widget_ActionBar_Subtitle 0x7f0c003b
|
||||
int style TextAppearance_Sherlock_Widget_ActionBar_Subtitle_Inverse 0x7f0c003c
|
||||
int style TextAppearance_Sherlock_Widget_ActionBar_Title 0x7f0c0039
|
||||
int style TextAppearance_Sherlock_Widget_ActionBar_Title_Inverse 0x7f0c003a
|
||||
int style TextAppearance_Sherlock_Widget_ActionMode_Subtitle 0x7f0c003f
|
||||
int style TextAppearance_Sherlock_Widget_ActionMode_Subtitle_Inverse 0x7f0c0040
|
||||
int style TextAppearance_Sherlock_Widget_ActionMode_Title 0x7f0c003d
|
||||
int style TextAppearance_Sherlock_Widget_ActionMode_Title_Inverse 0x7f0c003e
|
||||
int style TextAppearance_Sherlock_Widget_DropDownHint 0x7f0c004d
|
||||
int style TextAppearance_Sherlock_Widget_DropDownItem 0x7f0c0047
|
||||
int style TextAppearance_Sherlock_Widget_PopupMenu 0x7f0c0041
|
||||
int style TextAppearance_Sherlock_Widget_PopupMenu_Large 0x7f0c0042
|
||||
int style TextAppearance_Sherlock_Widget_PopupMenu_Small 0x7f0c0044
|
||||
int style TextAppearance_Sherlock_Widget_TextView_SpinnerItem 0x7f0c0046
|
||||
int style Theme_Sherlock 0x7f0c0052
|
||||
int style Theme_Sherlock_Dialog 0x7f0c0057
|
||||
int style Theme_Sherlock_Light 0x7f0c0053
|
||||
int style Theme_Sherlock_Light_DarkActionBar 0x7f0c0054
|
||||
int style Theme_Sherlock_Light_Dialog 0x7f0c0058
|
||||
int style Theme_Sherlock_Light_NoActionBar 0x7f0c0056
|
||||
int style Theme_Sherlock_NoActionBar 0x7f0c0055
|
||||
int style TitleBar 0x7f0c005c
|
||||
int style TitleBarLogo 0x7f0c005d
|
||||
int style TitleBarOption 0x7f0c005e
|
||||
int style TopBarTheme 0x7f0c005b
|
||||
int style Widget 0x7f0c0000
|
||||
int style Widget_Sherlock_ActionBar 0x7f0c0002
|
||||
int style Widget_Sherlock_ActionBar_Solid 0x7f0c0003
|
||||
int style Widget_Sherlock_ActionBar_TabBar 0x7f0c000a
|
||||
int style Widget_Sherlock_ActionBar_TabText 0x7f0c000d
|
||||
int style Widget_Sherlock_ActionBar_TabView 0x7f0c0007
|
||||
int style Widget_Sherlock_ActionButton 0x7f0c0010
|
||||
int style Widget_Sherlock_ActionButton_CloseMode 0x7f0c0012
|
||||
int style Widget_Sherlock_ActionButton_Overflow 0x7f0c0014
|
||||
int style Widget_Sherlock_ActionMode 0x7f0c0017
|
||||
int style Widget_Sherlock_ActivityChooserView 0x7f0c001f
|
||||
int style Widget_Sherlock_Button_Small 0x7f0c0021
|
||||
int style Widget_Sherlock_DropDownItem_Spinner 0x7f0c002a
|
||||
int style Widget_Sherlock_Light_ActionBar 0x7f0c0004
|
||||
int style Widget_Sherlock_Light_ActionBar_Solid 0x7f0c0005
|
||||
int style Widget_Sherlock_Light_ActionBar_Solid_Inverse 0x7f0c0006
|
||||
int style Widget_Sherlock_Light_ActionBar_TabBar 0x7f0c000b
|
||||
int style Widget_Sherlock_Light_ActionBar_TabBar_Inverse 0x7f0c000c
|
||||
int style Widget_Sherlock_Light_ActionBar_TabText 0x7f0c000e
|
||||
int style Widget_Sherlock_Light_ActionBar_TabText_Inverse 0x7f0c000f
|
||||
int style Widget_Sherlock_Light_ActionBar_TabView 0x7f0c0008
|
||||
int style Widget_Sherlock_Light_ActionBar_TabView_Inverse 0x7f0c0009
|
||||
int style Widget_Sherlock_Light_ActionButton 0x7f0c0011
|
||||
int style Widget_Sherlock_Light_ActionButton_CloseMode 0x7f0c0013
|
||||
int style Widget_Sherlock_Light_ActionButton_Overflow 0x7f0c0015
|
||||
int style Widget_Sherlock_Light_ActionMode 0x7f0c0018
|
||||
int style Widget_Sherlock_Light_ActionMode_Inverse 0x7f0c0019
|
||||
int style Widget_Sherlock_Light_ActivityChooserView 0x7f0c0020
|
||||
int style Widget_Sherlock_Light_Button_Small 0x7f0c0022
|
||||
int style Widget_Sherlock_Light_DropDownItem_Spinner 0x7f0c002b
|
||||
int style Widget_Sherlock_Light_ListPopupWindow 0x7f0c001b
|
||||
int style Widget_Sherlock_Light_ListView_DropDown 0x7f0c0028
|
||||
int style Widget_Sherlock_Light_PopupMenu 0x7f0c001d
|
||||
int style Widget_Sherlock_Light_PopupWindow_ActionMode 0x7f0c002d
|
||||
int style Widget_Sherlock_Light_ProgressBar 0x7f0c002f
|
||||
int style Widget_Sherlock_Light_ProgressBar_Horizontal 0x7f0c0031
|
||||
int style Widget_Sherlock_Light_SearchAutoCompleteTextView 0x7f0c0035
|
||||
int style Widget_Sherlock_Light_Spinner_DropDown_ActionBar 0x7f0c0025
|
||||
int style Widget_Sherlock_ListPopupWindow 0x7f0c001a
|
||||
int style Widget_Sherlock_ListView_DropDown 0x7f0c0027
|
||||
int style Widget_Sherlock_PopupMenu 0x7f0c001c
|
||||
int style Widget_Sherlock_PopupWindow_ActionMode 0x7f0c002c
|
||||
int style Widget_Sherlock_ProgressBar 0x7f0c002e
|
||||
int style Widget_Sherlock_ProgressBar_Horizontal 0x7f0c0030
|
||||
int style Widget_Sherlock_SearchAutoCompleteTextView 0x7f0c0034
|
||||
int style Widget_Sherlock_Spinner_DropDown_ActionBar 0x7f0c0024
|
||||
int style Widget_Sherlock_TextView_SpinnerItem 0x7f0c0032
|
||||
int[] styleable SherlockActionBar { 0x7f010000, 0x7f010001, 0x7f010002, 0x7f010003, 0x7f010004, 0x7f010005, 0x7f010048, 0x7f010049, 0x7f01004a, 0x7f01004b, 0x7f01004c, 0x7f01004d, 0x7f01004e, 0x7f01004f, 0x7f010050, 0x7f010051, 0x7f010052, 0x7f010053, 0x7f010054 }
|
||||
int styleable SherlockActionBar_background 2
|
||||
int styleable SherlockActionBar_backgroundSplit 3
|
||||
int styleable SherlockActionBar_backgroundStacked 12
|
||||
int styleable SherlockActionBar_customNavigationLayout 13
|
||||
int styleable SherlockActionBar_displayOptions 7
|
||||
int styleable SherlockActionBar_divider 5
|
||||
int styleable SherlockActionBar_height 4
|
||||
int styleable SherlockActionBar_homeLayout 14
|
||||
int styleable SherlockActionBar_icon 10
|
||||
int styleable SherlockActionBar_indeterminateProgressStyle 16
|
||||
int styleable SherlockActionBar_itemPadding 18
|
||||
int styleable SherlockActionBar_logo 11
|
||||
int styleable SherlockActionBar_navigationMode 6
|
||||
int styleable SherlockActionBar_progressBarPadding 17
|
||||
int styleable SherlockActionBar_progressBarStyle 15
|
||||
int styleable SherlockActionBar_subtitle 9
|
||||
int styleable SherlockActionBar_subtitleTextStyle 1
|
||||
int styleable SherlockActionBar_title 8
|
||||
int styleable SherlockActionBar_titleTextStyle 0
|
||||
int[] styleable SherlockActionMenuItemView { 0x0101013f }
|
||||
int styleable SherlockActionMenuItemView_android_minWidth 0
|
||||
int[] styleable SherlockActionMode { 0x7f010000, 0x7f010001, 0x7f010002, 0x7f010003, 0x7f010004 }
|
||||
int styleable SherlockActionMode_background 2
|
||||
int styleable SherlockActionMode_backgroundSplit 3
|
||||
int styleable SherlockActionMode_height 4
|
||||
int styleable SherlockActionMode_subtitleTextStyle 1
|
||||
int styleable SherlockActionMode_titleTextStyle 0
|
||||
int[] styleable SherlockActivityChooserView { 0x010100d4, 0x7f01005d, 0x7f01005e }
|
||||
int styleable SherlockActivityChooserView_android_background 0
|
||||
int styleable SherlockActivityChooserView_expandActivityOverflowButtonDrawable 2
|
||||
int styleable SherlockActivityChooserView_initialActivityCount 1
|
||||
int[] styleable SherlockMenuGroup { 0x0101000e, 0x010100d0, 0x01010194, 0x010101de, 0x010101df, 0x010101e0 }
|
||||
int styleable SherlockMenuGroup_android_checkableBehavior 5
|
||||
int styleable SherlockMenuGroup_android_enabled 0
|
||||
int styleable SherlockMenuGroup_android_id 1
|
||||
int styleable SherlockMenuGroup_android_menuCategory 3
|
||||
int styleable SherlockMenuGroup_android_orderInCategory 4
|
||||
int styleable SherlockMenuGroup_android_visible 2
|
||||
int[] styleable SherlockMenuItem { 0x01010002, 0x0101000e, 0x010100d0, 0x01010106, 0x01010194, 0x010101de, 0x010101df, 0x010101e1, 0x010101e2, 0x010101e3, 0x010101e4, 0x010101e5, 0x0101026f, 0x010102d9, 0x010102fb, 0x010102fc, 0x01010389 }
|
||||
int styleable SherlockMenuItem_android_actionLayout 14
|
||||
int styleable SherlockMenuItem_android_actionProviderClass 16
|
||||
int styleable SherlockMenuItem_android_actionViewClass 15
|
||||
int styleable SherlockMenuItem_android_alphabeticShortcut 9
|
||||
int styleable SherlockMenuItem_android_checkable 11
|
||||
int styleable SherlockMenuItem_android_checked 3
|
||||
int styleable SherlockMenuItem_android_enabled 1
|
||||
int styleable SherlockMenuItem_android_icon 0
|
||||
int styleable SherlockMenuItem_android_id 2
|
||||
int styleable SherlockMenuItem_android_menuCategory 5
|
||||
int styleable SherlockMenuItem_android_numericShortcut 10
|
||||
int styleable SherlockMenuItem_android_onClick 12
|
||||
int styleable SherlockMenuItem_android_orderInCategory 6
|
||||
int styleable SherlockMenuItem_android_showAsAction 13
|
||||
int styleable SherlockMenuItem_android_title 7
|
||||
int styleable SherlockMenuItem_android_titleCondensed 8
|
||||
int styleable SherlockMenuItem_android_visible 4
|
||||
int[] styleable SherlockMenuView { 0x7f010055, 0x7f010056, 0x7f010057, 0x7f010058, 0x7f010059, 0x7f01005a, 0x7f01005b, 0x7f01005c }
|
||||
int styleable SherlockMenuView_headerBackground 3
|
||||
int styleable SherlockMenuView_horizontalDivider 1
|
||||
int styleable SherlockMenuView_itemBackground 4
|
||||
int styleable SherlockMenuView_itemIconDisabledAlpha 6
|
||||
int styleable SherlockMenuView_itemTextAppearance 0
|
||||
int styleable SherlockMenuView_preserveIconSpacing 7
|
||||
int styleable SherlockMenuView_verticalDivider 2
|
||||
int styleable SherlockMenuView_windowAnimationStyle 5
|
||||
int[] styleable SherlockSearchView { 0x0101011f, 0x01010220, 0x01010264, 0x7f01005f, 0x7f010060 }
|
||||
int styleable SherlockSearchView_android_imeOptions 2
|
||||
int styleable SherlockSearchView_android_inputType 1
|
||||
int styleable SherlockSearchView_android_maxWidth 0
|
||||
int styleable SherlockSearchView_iconifiedByDefault 3
|
||||
int styleable SherlockSearchView_queryHint 4
|
||||
int[] styleable SherlockSpinner { 0x010100af, 0x01010175, 0x01010176, 0x0101017b, 0x01010262, 0x010102ac, 0x010102ad, 0x0101043a }
|
||||
int styleable SherlockSpinner_android_dropDownHorizontalOffset 5
|
||||
int styleable SherlockSpinner_android_dropDownSelector 1
|
||||
int styleable SherlockSpinner_android_dropDownVerticalOffset 6
|
||||
int styleable SherlockSpinner_android_dropDownWidth 4
|
||||
int styleable SherlockSpinner_android_gravity 0
|
||||
int styleable SherlockSpinner_android_popupBackground 2
|
||||
int styleable SherlockSpinner_android_popupPromptView 7
|
||||
int styleable SherlockSpinner_android_prompt 3
|
||||
int[] styleable SherlockTheme { 0x01010057, 0x7f010006, 0x7f010007, 0x7f010008, 0x7f010009, 0x7f01000a, 0x7f01000b, 0x7f01000c, 0x7f01000d, 0x7f01000e, 0x7f01000f, 0x7f010010, 0x7f010011, 0x7f010012, 0x7f010013, 0x7f010014, 0x7f010015, 0x7f010016, 0x7f010017, 0x7f010018, 0x7f010019, 0x7f01001a, 0x7f01001b, 0x7f01001c, 0x7f01001d, 0x7f01001e, 0x7f01001f, 0x7f010020, 0x7f010021, 0x7f010022, 0x7f010023, 0x7f010024, 0x7f010025, 0x7f010026, 0x7f010027, 0x7f010028, 0x7f010029, 0x7f01002a, 0x7f01002b, 0x7f01002c, 0x7f01002d, 0x7f01002e, 0x7f01002f, 0x7f010030, 0x7f010031, 0x7f010032, 0x7f010033, 0x7f010034, 0x7f010035, 0x7f010036, 0x7f010037, 0x7f010038, 0x7f010039, 0x7f01003a, 0x7f01003b, 0x7f01003c, 0x7f01003d, 0x7f01003e, 0x7f01003f, 0x7f010040, 0x7f010041, 0x7f010042, 0x7f010043, 0x7f010044, 0x7f010045, 0x7f010046, 0x7f010047 }
|
||||
int styleable SherlockTheme_actionBarDivider 9
|
||||
int styleable SherlockTheme_actionBarItemBackground 10
|
||||
int styleable SherlockTheme_actionBarSize 8
|
||||
int styleable SherlockTheme_actionBarSplitStyle 6
|
||||
int styleable SherlockTheme_actionBarStyle 5
|
||||
int styleable SherlockTheme_actionBarTabBarStyle 2
|
||||
int styleable SherlockTheme_actionBarTabStyle 1
|
||||
int styleable SherlockTheme_actionBarTabTextStyle 3
|
||||
int styleable SherlockTheme_actionBarWidgetTheme 7
|
||||
int styleable SherlockTheme_actionButtonStyle 53
|
||||
int styleable SherlockTheme_actionDropDownStyle 52
|
||||
int styleable SherlockTheme_actionMenuTextAppearance 11
|
||||
int styleable SherlockTheme_actionMenuTextColor 12
|
||||
int styleable SherlockTheme_actionModeBackground 15
|
||||
int styleable SherlockTheme_actionModeCloseButtonStyle 14
|
||||
int styleable SherlockTheme_actionModeCloseDrawable 17
|
||||
int styleable SherlockTheme_actionModePopupWindowStyle 19
|
||||
int styleable SherlockTheme_actionModeShareDrawable 18
|
||||
int styleable SherlockTheme_actionModeSplitBackground 16
|
||||
int styleable SherlockTheme_actionModeStyle 13
|
||||
int styleable SherlockTheme_actionOverflowButtonStyle 4
|
||||
int styleable SherlockTheme_actionSpinnerItemStyle 58
|
||||
int styleable SherlockTheme_activatedBackgroundIndicator 66
|
||||
int styleable SherlockTheme_activityChooserViewStyle 65
|
||||
int styleable SherlockTheme_android_windowIsFloating 0
|
||||
int styleable SherlockTheme_buttonStyleSmall 20
|
||||
int styleable SherlockTheme_dividerVertical 51
|
||||
int styleable SherlockTheme_dropDownListViewStyle 55
|
||||
int styleable SherlockTheme_dropdownListPreferredItemHeight 57
|
||||
int styleable SherlockTheme_homeAsUpIndicator 54
|
||||
int styleable SherlockTheme_listPopupWindowStyle 64
|
||||
int styleable SherlockTheme_listPreferredItemHeightSmall 45
|
||||
int styleable SherlockTheme_listPreferredItemPaddingLeft 46
|
||||
int styleable SherlockTheme_listPreferredItemPaddingRight 47
|
||||
int styleable SherlockTheme_popupMenuStyle 56
|
||||
int styleable SherlockTheme_searchAutoCompleteTextView 31
|
||||
int styleable SherlockTheme_searchDropdownBackground 32
|
||||
int styleable SherlockTheme_searchResultListItemHeight 42
|
||||
int styleable SherlockTheme_searchViewCloseIcon 33
|
||||
int styleable SherlockTheme_searchViewEditQuery 37
|
||||
int styleable SherlockTheme_searchViewEditQueryBackground 38
|
||||
int styleable SherlockTheme_searchViewGoIcon 34
|
||||
int styleable SherlockTheme_searchViewSearchIcon 35
|
||||
int styleable SherlockTheme_searchViewTextField 39
|
||||
int styleable SherlockTheme_searchViewTextFieldRight 40
|
||||
int styleable SherlockTheme_searchViewVoiceIcon 36
|
||||
int styleable SherlockTheme_selectableItemBackground 21
|
||||
int styleable SherlockTheme_spinnerDropDownItemStyle 30
|
||||
int styleable SherlockTheme_spinnerItemStyle 29
|
||||
int styleable SherlockTheme_textAppearanceLargePopupMenu 23
|
||||
int styleable SherlockTheme_textAppearanceListItemSmall 48
|
||||
int styleable SherlockTheme_textAppearanceSearchResultSubtitle 44
|
||||
int styleable SherlockTheme_textAppearanceSearchResultTitle 43
|
||||
int styleable SherlockTheme_textAppearanceSmall 25
|
||||
int styleable SherlockTheme_textAppearanceSmallPopupMenu 24
|
||||
int styleable SherlockTheme_textColorPrimary 26
|
||||
int styleable SherlockTheme_textColorPrimaryDisableOnly 27
|
||||
int styleable SherlockTheme_textColorPrimaryInverse 28
|
||||
int styleable SherlockTheme_textColorSearchUrl 41
|
||||
int styleable SherlockTheme_windowActionBar 60
|
||||
int styleable SherlockTheme_windowActionBarOverlay 61
|
||||
int styleable SherlockTheme_windowActionModeOverlay 62
|
||||
int styleable SherlockTheme_windowContentOverlay 22
|
||||
int styleable SherlockTheme_windowMinWidthMajor 49
|
||||
int styleable SherlockTheme_windowMinWidthMinor 50
|
||||
int styleable SherlockTheme_windowNoTitle 59
|
||||
int styleable SherlockTheme_windowSplitActionBar 63
|
||||
int[] styleable SherlockView { 0x010100da }
|
||||
int styleable SherlockView_android_focusable 0
|
||||
int xml wso2_device_admin 0x7f040000
|
@ -0,0 +1,5 @@
|
||||
# cache for current jar dependency. DO NOT EDIT.
|
||||
# format is <lastModified> <length> <SHA-1> <path>
|
||||
# Encoding is UTF-8
|
||||
1421928865000 484258 bd6479f5dd592790607e0504e66e0f31c2b4d308 /home/inoshp/Documents/work/EMM 2.0/Source/CDM/product-mdm/product/modules/agents/android/client/libs/android-support-v4.jar
|
||||
1421928865000 484258 bd6479f5dd592790607e0504e66e0f31c2b4d308 /home/inoshp/Documents/work/EMM 2.0/Source/CDM/product-mdm/product/modules/agents/android/client/plugins/ActionBarSherlock/library/libs/android-support-v4.jar
|
@ -0,0 +1,127 @@
|
||||
/**
|
||||
* Copyright (c) 2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.wso2.cdm.agent.services;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.UnsupportedEncodingException;
|
||||
import java.net.URLEncoder;
|
||||
import java.util.Map;
|
||||
|
||||
import org.json.JSONArray;
|
||||
import org.json.JSONException;
|
||||
import org.json.JSONObject;
|
||||
import org.wso2.cdm.agent.R;
|
||||
import org.wso2.cdm.agent.RegistrationActivity;
|
||||
import org.wso2.cdm.agent.api.DeviceInfo;
|
||||
import org.wso2.cdm.agent.proxy.APIResultCallBack;
|
||||
import org.wso2.cdm.agent.utils.CommonUtilities;
|
||||
import org.wso2.cdm.agent.utils.Constant;
|
||||
import org.wso2.cdm.agent.utils.Preference;
|
||||
import org.wso2.cdm.agent.utils.ServerUtils;
|
||||
|
||||
import android.content.Context;
|
||||
import android.util.Log;
|
||||
|
||||
/**
|
||||
* Used to coordinate the retrieval and processing of messages from the server.
|
||||
*/
|
||||
public class MessageProcessor implements APIResultCallBack {
|
||||
|
||||
private String TAG = MessageProcessor.class.getSimpleName();
|
||||
private Context context;
|
||||
String deviceId;
|
||||
|
||||
/**
|
||||
* Local notification message handler.
|
||||
*
|
||||
* @param context
|
||||
* Context of the application.
|
||||
*/
|
||||
public MessageProcessor(Context context) {
|
||||
this.context = context;
|
||||
|
||||
deviceId=Preference.get(context, "deviceId");
|
||||
if(deviceId ==null){
|
||||
DeviceInfo deviceInfo = new DeviceInfo(context);
|
||||
deviceId=deviceInfo.getMACAddress();
|
||||
Preference.put(context, "deviceId", deviceId);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param response
|
||||
* Response received from the server that needs to be processed
|
||||
* and applied to the device
|
||||
*/
|
||||
public void performOperation(String response) {
|
||||
try {
|
||||
JSONArray operations = new JSONArray(response);
|
||||
for (int x = 0; x < operations.length(); x++) {
|
||||
String featureCode = operations.getJSONObject(x).getString(Constant.CODE);
|
||||
String properties = operations.getJSONObject(x).getString(Constant.PROPERTIES);
|
||||
Operation operation = new Operation(context);
|
||||
operation.doTask(featureCode, properties, 0);
|
||||
}
|
||||
} catch (JSONException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Call the message retrieval end point of the server to get messages
|
||||
* pending.
|
||||
*/
|
||||
public void getMessages() {
|
||||
String ipSaved =
|
||||
Preference.get(context.getApplicationContext(),
|
||||
context.getResources().getString(R.string.shared_pref_ip));
|
||||
CommonUtilities.setServerURL(ipSaved);
|
||||
String deviceIdentifier = "";
|
||||
try {
|
||||
deviceIdentifier = URLEncoder.encode(deviceId, "utf-8");
|
||||
} catch (UnsupportedEncodingException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
ServerUtils.callSecuredAPI(context, CommonUtilities.API_SERVER_URL +
|
||||
CommonUtilities.NOTIFICATION_ENDPOINT+File.separator+deviceIdentifier,
|
||||
CommonUtilities.GET_METHOD, new JSONObject(), MessageProcessor.this,
|
||||
CommonUtilities.NOTIFICATION_REQUEST_CODE);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onReceiveAPIResult(Map<String, String> result, int requestCode) {
|
||||
String responseStatus;
|
||||
String response;
|
||||
if (requestCode == CommonUtilities.NOTIFICATION_REQUEST_CODE) {
|
||||
if (result != null) {
|
||||
responseStatus = result.get(CommonUtilities.STATUS_KEY);
|
||||
if (responseStatus != null &&
|
||||
responseStatus.equals(CommonUtilities.REQUEST_SUCCESSFUL)) {
|
||||
response = result.get(Constant.RESPONSE);
|
||||
if (response != null && !response.equals("")) {
|
||||
if (CommonUtilities.DEBUG_MODE_ENABLED) {
|
||||
Log.e(TAG, "onReceiveAPIResult- " + response);
|
||||
}
|
||||
performOperation(response);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
@ -1,249 +0,0 @@
|
||||
/*
|
||||
~ Copyright (c) 2014, WSO2 Inc. (http://wso2.com/) All Rights Reserved.
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
*/
|
||||
package org.wso2.cdm.agent.services;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import org.json.JSONArray;
|
||||
import org.json.JSONException;
|
||||
import org.json.JSONObject;
|
||||
import org.json.simple.parser.JSONParser;
|
||||
import org.wso2.cdm.agent.R;
|
||||
import org.wso2.cdm.agent.parser.PayloadParser;
|
||||
import org.wso2.cdm.agent.proxy.APIResultCallBack;
|
||||
import org.wso2.cdm.agent.utils.CommonDialogUtils;
|
||||
import org.wso2.cdm.agent.utils.CommonUtilities;
|
||||
import org.wso2.cdm.agent.utils.LoggerCustom;
|
||||
import org.wso2.cdm.agent.utils.ServerUtils;
|
||||
|
||||
import android.app.AlertDialog;
|
||||
import android.content.Context;
|
||||
import android.content.SharedPreferences;
|
||||
import android.content.SharedPreferences.Editor;
|
||||
import android.os.AsyncTask;
|
||||
import android.util.Log;
|
||||
|
||||
public class ProcessMessage implements APIResultCallBack{
|
||||
|
||||
private String TAG = ProcessMessage.class.getSimpleName();
|
||||
|
||||
|
||||
Operation operation;
|
||||
Map<String, String> params;
|
||||
AsyncTask<Void, Void, String> sendReply;
|
||||
Map<String, String> responsePayload;
|
||||
Context context;
|
||||
String replyPayload;
|
||||
public static boolean stillProcessing=false;
|
||||
AlertDialog.Builder alertDialog;
|
||||
|
||||
public ProcessMessage(Context context, int mode, String message, String recepient) {
|
||||
// TODO Auto-generated constructor stub
|
||||
JSONParser jp = new JSONParser();
|
||||
params = new HashMap<String, String>();
|
||||
try {
|
||||
|
||||
JSONObject jobj = new JSONObject(message);
|
||||
params.put("code", (String)jobj.get("message"));
|
||||
if(jobj.has("data")){
|
||||
params.put("data", ((JSONObject)jobj.get("data")).toString());
|
||||
}
|
||||
|
||||
operation = new Operation(context, mode, params, recepient);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
// local notification message handler
|
||||
public ProcessMessage(Context context) {
|
||||
this.context = context;
|
||||
}
|
||||
|
||||
public void getOperations(String replyData) {
|
||||
String isRegistered=CommonUtilities.getPref(context, context.getResources().getString(R.string.shared_pref_registered));
|
||||
if(isRegistered.equals("1")){
|
||||
if(stillProcessing==false){
|
||||
String isActive = CommonUtilities.getPref(context, context.getResources().getString(R.string.shared_pref_device_active));
|
||||
if (isActive.equals("1")) {
|
||||
try {
|
||||
SharedPreferences mainPref =
|
||||
context.getSharedPreferences(context.getResources()
|
||||
.getString(R.string.shared_pref_package),
|
||||
Context.MODE_PRIVATE);
|
||||
String regId =
|
||||
mainPref.getString(context.getResources()
|
||||
.getString(R.string.shared_pref_regId), "");
|
||||
Map<String, String> requestParams = new HashMap<String, String>();
|
||||
if (replyData != null) {
|
||||
requestParams.put("data", replyPayload);
|
||||
}
|
||||
requestParams.put("regId", regId);
|
||||
|
||||
ServerUtils.callSecuredAPI(context,
|
||||
CommonUtilities.NOTIFICATION_ENDPOINT,
|
||||
CommonUtilities.POST_METHOD, requestParams,
|
||||
ProcessMessage.this,
|
||||
CommonUtilities.NOTIFICATION_REQUEST_CODE);
|
||||
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onReceiveAPIResult(Map<String, String> result, int requestCode) {
|
||||
String responseStatus = "";
|
||||
String response = "";
|
||||
if (requestCode == CommonUtilities.NOTIFICATION_REQUEST_CODE) {
|
||||
if (result != null) {
|
||||
responseStatus = result.get(CommonUtilities.STATUS_KEY);
|
||||
if (responseStatus != null) {
|
||||
if (responseStatus.equals(CommonUtilities.REQUEST_SUCCESSFUL)) {
|
||||
response = result.get("response");
|
||||
//processMsg = new ProcessMessage(context, CommonUtilities.MESSAGE_MODE_LOCAL, response);
|
||||
if(response!=null && !response.equals("") && !response.equals("null")){
|
||||
if(CommonUtilities.DEBUG_MODE_ENABLED){
|
||||
Log.e(TAG, "onReceiveAPIResult- "+response);
|
||||
}
|
||||
messageExecute(response);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private void messageExecute(String msg) {
|
||||
stillProcessing=true;
|
||||
JSONArray repArray =new JSONArray();
|
||||
JSONObject jsReply=null;
|
||||
String msgId="";
|
||||
|
||||
|
||||
JSONArray dataReply=null;
|
||||
try {
|
||||
JSONArray jArr=new JSONArray(msg.trim());
|
||||
for(int i=0;i<jArr.length();i++){
|
||||
JSONArray innerArr=new JSONArray(jArr.getJSONObject(i).getString("data"));
|
||||
String featureCode=jArr.getJSONObject(i).getString("code");
|
||||
dataReply=new JSONArray();
|
||||
jsReply=new JSONObject();
|
||||
jsReply.put("code",featureCode);
|
||||
|
||||
|
||||
for(int x=0;x<innerArr.length();x++){
|
||||
msgId=innerArr.getJSONObject(x).getString("messageId");
|
||||
jsReply.put("messageId", msgId);
|
||||
|
||||
if (featureCode.equals(CommonUtilities.OPERATION_POLICY_BUNDLE)) {
|
||||
SharedPreferences mainPrefp =
|
||||
context.getSharedPreferences("com.mdm",
|
||||
Context.MODE_PRIVATE);
|
||||
|
||||
Editor editorp = mainPrefp.edit();
|
||||
editorp.putString("policy", "");
|
||||
editorp.commit();
|
||||
|
||||
SharedPreferences mainPref =
|
||||
context.getSharedPreferences("com.mdm",
|
||||
Context.MODE_PRIVATE);
|
||||
Editor editor = mainPref.edit();
|
||||
String arrToPut=innerArr.getJSONObject(0).getJSONArray("data").toString();
|
||||
|
||||
|
||||
editor.putString("policy", arrToPut);
|
||||
editor.commit();
|
||||
}
|
||||
|
||||
String msgData=innerArr.getJSONObject(x).getString("data");
|
||||
JSONObject dataObj=new JSONObject("{}");
|
||||
operation = new Operation(context);
|
||||
if(featureCode.equalsIgnoreCase(CommonUtilities.OPERATION_POLICY_REVOKE)){
|
||||
operation.operate(featureCode,jsReply);
|
||||
jsReply.put("status", msgId);
|
||||
}else{
|
||||
if(msgData.charAt(0)=='['){
|
||||
JSONArray dataArr=new JSONArray(msgData);
|
||||
for(int a=0;a<dataArr.length();a++){
|
||||
JSONObject innterDataObj=dataArr.getJSONObject(a);
|
||||
featureCode=innterDataObj.getString("code");
|
||||
String dataTemp=innterDataObj.getString("data");
|
||||
if(!dataTemp.isEmpty() && dataTemp!=null && !dataTemp.equalsIgnoreCase("null"))
|
||||
dataObj =innterDataObj.getJSONObject("data");
|
||||
|
||||
dataReply= operation.operate(featureCode,dataObj);
|
||||
//dataReply.put(resultJson);
|
||||
}
|
||||
}else {
|
||||
if(!msgData.isEmpty() && msgData!=null && !msgData.equalsIgnoreCase("null"))
|
||||
if(msgData.charAt(0)=='{'){
|
||||
dataObj =new JSONObject(msgData);
|
||||
}
|
||||
dataReply= operation.operate(featureCode,dataObj);
|
||||
//dataReply.put(resultJson);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
jsReply.put("data", dataReply);
|
||||
repArray.put(jsReply);
|
||||
}
|
||||
} catch (JSONException e) {
|
||||
// TODO Auto-generated catch block
|
||||
e.printStackTrace();
|
||||
}
|
||||
catch (Exception e) {
|
||||
// TODO Auto-generated catch block
|
||||
e.printStackTrace();
|
||||
}
|
||||
finally{
|
||||
if(Operation.enterpriseWipe==false){
|
||||
SharedPreferences mainPref = context.getSharedPreferences( context.getResources().getString(R.string.shared_pref_package), Context.MODE_PRIVATE);
|
||||
String regId=mainPref.getString(context.getResources().getString(R.string.shared_pref_regId), "");
|
||||
PayloadParser ps=new PayloadParser();
|
||||
|
||||
replyPayload=ps.generateReply(repArray,regId);
|
||||
if(CommonUtilities.DEBUG_MODE_ENABLED){
|
||||
Log.e(TAG,"replyPlayload -"+replyPayload);
|
||||
}
|
||||
stillProcessing=false;
|
||||
getOperations(replyPayload);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
Loading…
Reference in new issue