├── README.md ├── dist └── EZOpenAPP2.0.3.apk └── example └── EZOpenAPP-Lite-Android ├── .gitignore ├── app ├── .gitignore ├── build.gradle ├── libs │ ├── logging-interceptor-3.2.0.jar │ └── zxing.jar ├── proguard-rules.pro └── src │ ├── debug │ └── res │ │ └── values │ │ └── config.xml │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── com │ │ │ └── ezviz │ │ │ └── open │ │ │ ├── common │ │ │ ├── EZOpenConstant.java │ │ │ ├── ErrorCode.java │ │ │ ├── MD5.java │ │ │ └── WindowSizeChangeNotifier.java │ │ │ ├── glide │ │ │ ├── EZOpenGlideModule.java │ │ │ ├── EncryptFetcher.java │ │ │ ├── EncryptLoader.java │ │ │ └── EncryptUrlInfo.java │ │ │ ├── http │ │ │ ├── EZOpenAPI.java │ │ │ ├── EZOpenAPIService.java │ │ │ └── EZOpenHttpClient.java │ │ │ ├── main │ │ │ └── EZOpenApplication.java │ │ │ ├── model │ │ │ ├── DeviceEncrypt.java │ │ │ ├── EZOpenCameraInfo.java │ │ │ ├── EZOpenDetectorInfo.java │ │ │ ├── EZOpenDeviceInfo.java │ │ │ ├── EZOpenRecordFile.java │ │ │ ├── EZOpenVideoQualityInfo.java │ │ │ └── noconfusion │ │ │ │ ├── BaseResponse.java │ │ │ │ ├── DeviceCloudInfoResp.java │ │ │ │ ├── DeviceSoundStatusResp.java │ │ │ │ └── DonotConfusion.java │ │ │ ├── presenter │ │ │ ├── AppPresenter.java │ │ │ ├── BasePresenter.java │ │ │ ├── BaseRealmPresenter.java │ │ │ ├── DevicePresenter.java │ │ │ ├── DeviceSettingPresenter.java │ │ │ ├── DeviceUpgradePresenter.java │ │ │ ├── MessagePresenter.java │ │ │ ├── ModifyNamePresenter.java │ │ │ ├── PlayBackPresenter.java │ │ │ └── PlayPresenter.java │ │ │ ├── scan │ │ │ ├── camera │ │ │ │ ├── AutoFocusCallback.java │ │ │ │ ├── CameraConfigurationManager.java │ │ │ │ ├── CameraManager.java │ │ │ │ └── PreviewCallback.java │ │ │ └── main │ │ │ │ ├── CaptureActivityHandler.java │ │ │ │ ├── Contents.java │ │ │ │ ├── DecodeFormatManager.java │ │ │ │ ├── DecodeHandler.java │ │ │ │ ├── DecodeThread.java │ │ │ │ ├── FinishListener.java │ │ │ │ ├── InactivityTimer.java │ │ │ │ ├── IntentSource.java │ │ │ │ ├── Intents.java │ │ │ │ ├── PlanarYUVLuminanceSource.java │ │ │ │ ├── PreferencesActivity.java │ │ │ │ ├── ViewfinderResultPointCallback.java │ │ │ │ └── ViewfinderView.java │ │ │ ├── utils │ │ │ ├── AsyncBitmapTaskTag.java │ │ │ ├── BitmapWorkManager.java │ │ │ ├── BitmapWorkerTask.java │ │ │ ├── CameraCaptureCache.java │ │ │ ├── DataManager.java │ │ │ ├── DateUtil.java │ │ │ ├── EZCameraDBManager.java │ │ │ ├── EZDeviceDBManager.java │ │ │ ├── EZLog.java │ │ │ ├── EZOpenUtils.java │ │ │ ├── JsonUtils.java │ │ │ ├── PermissionUtils.java │ │ │ ├── ResponseUtils.java │ │ │ ├── SharedPreferencesUtils.java │ │ │ └── ToastUtls.java │ │ │ └── view │ │ │ ├── AppView.java │ │ │ ├── BaseView.java │ │ │ ├── DeviceSettingView.java │ │ │ ├── DeviceView.java │ │ │ ├── MessageView.java │ │ │ ├── ModifyNameView.java │ │ │ ├── PlayBackView.java │ │ │ ├── PlayView.java │ │ │ ├── SearchAddDeviceView.java │ │ │ ├── adapter │ │ │ ├── BaseLoadMoreRecyclerViewAdapter.java │ │ │ ├── BaseRealmRecyclerViewAdapter.java │ │ │ ├── BaseRecyclerViewAdapter.java │ │ │ ├── CameraAdapter.java │ │ │ ├── DeviceAdapter.java │ │ │ ├── DeviceSettingAdapter.java │ │ │ ├── MessageAdapter.java │ │ │ └── ReplayDeviceAdapter.java │ │ │ ├── avctivity │ │ │ ├── AddDeviceActivity.java │ │ │ ├── DeviceSettingActivity.java │ │ │ ├── DeviceStartAddActivity.java │ │ │ ├── DeviceUpgradeActivity.java │ │ │ ├── MainActivity.java │ │ │ ├── ModifyNameActivity.java │ │ │ ├── PlayActivity.java │ │ │ ├── PlayBackActivity.java │ │ │ ├── RootActivity.java │ │ │ ├── SearchDeviceActivity.java │ │ │ ├── SmartConfigActivity.java │ │ │ ├── Welcome.java │ │ │ └── WiFiSelecteActivity.java │ │ │ ├── fragment │ │ │ ├── AddDeviceBySerialFragment.java │ │ │ ├── AppFragment.java │ │ │ ├── BaseFragment.java │ │ │ ├── BaseLazyFragment.java │ │ │ ├── CameraListFragment.java │ │ │ ├── CaptureFragment.java │ │ │ ├── DeviceFragment.java │ │ │ ├── DeviceListFragment.java │ │ │ └── MessageFragment.java │ │ │ └── widget │ │ │ ├── BoldSpan.java │ │ │ ├── CameraSettingDialog.java │ │ │ ├── CommomAlertDialog.java │ │ │ ├── DialogPopFromBottom.java │ │ │ ├── EZFragmentTabHost.java │ │ │ ├── EZMessageItemDecoration.java │ │ │ ├── EZUIPlayerView.java │ │ │ ├── ExRelativeLayout.java │ │ │ ├── ImageViewFitW.java │ │ │ ├── ImageViewFixedRatio.java │ │ │ ├── LoadProgressDialog.java │ │ │ ├── PullRefreshRealmRecyclerView.java │ │ │ ├── PullRefreshRecyclerView.java │ │ │ ├── RecycleViewItemDivider.java │ │ │ ├── RingView.java │ │ │ ├── Topbar.java │ │ │ └── VerifyCodeInputDialog.java │ └── res │ │ ├── anim │ │ ├── device_search_bg.xml │ │ ├── fade_down.xml │ │ ├── fade_up.xml │ │ ├── slide_in_bottom.xml │ │ └── slide_out_bottom.xml │ │ ├── color │ │ └── btn_defence_text_selector.xml │ │ ├── drawable-xhdpi │ │ ├── add2_button.png │ │ ├── add2_button_sel.png │ │ ├── add3_button.png │ │ ├── add3_button_sel.png │ │ ├── add_button.png │ │ ├── add_button_sel.png │ │ ├── add_device_number_bg.png │ │ ├── alarm_encrypt_image_big.png │ │ ├── alarm_encrypt_image_mid.png │ │ ├── app_icon.png │ │ ├── app_icon_small.png │ │ ├── bar_bg.9.png │ │ ├── bar_bg_01.9.png │ │ ├── bg_b1.jpg │ │ ├── bg_b10.jpg │ │ ├── bg_b2.jpg │ │ ├── bg_b3.jpg │ │ ├── bg_b4.jpg │ │ ├── bg_b5.jpg │ │ ├── bg_b6.jpg │ │ ├── bg_b7.jpg │ │ ├── bg_b8.jpg │ │ ├── bg_b9.jpg │ │ ├── bg_m.jpg │ │ ├── btn_2_normal.png │ │ ├── btn_2_select.png │ │ ├── btn_add_highlight.png │ │ ├── btn_add_normal.png │ │ ├── btn_arrow.png │ │ ├── btn_back_selected.png │ │ ├── btn_before_highlight.png │ │ ├── btn_before_normal.png │ │ ├── btn_bg.9.png │ │ ├── btn_delete.png │ │ ├── btn_full.png │ │ ├── btn_least.png │ │ ├── btn_list_highlight.png │ │ ├── btn_list_normal.png │ │ ├── btn_little_round.png │ │ ├── btn_loudest.png │ │ ├── btn_more_highlight.png │ │ ├── btn_more_normal.png │ │ ├── btn_next_highlight.png │ │ ├── btn_next_normal.png │ │ ├── btn_photo_highlight.png │ │ ├── btn_photo_normal.png │ │ ├── btn_play_n.png │ │ ├── btn_preview_selected.png │ │ ├── btn_replay_highlight.png │ │ ├── btn_replay_normal.png │ │ ├── btn_return.png │ │ ├── btn_round.png │ │ ├── btn_set_highlight.png │ │ ├── btn_set_normal.png │ │ ├── btn_stop_n.png │ │ ├── btn_video_highlight.png │ │ ├── btn_video_normal.png │ │ ├── btn_voice_highlight.png │ │ ├── btn_voice_normal.png │ │ ├── button_normal.png │ │ ├── ckb_normal.png │ │ ├── ckb_selected.png │ │ ├── close_02_normal.png │ │ ├── code_normal.png │ │ ├── code_selected.png │ │ ├── common_refresh.png │ │ ├── common_title_back.png │ │ ├── connect_wifi1.png │ │ ├── connect_wifi2.png │ │ ├── connect_wifi3.png │ │ ├── connect_wifi4.png │ │ ├── default_cover_big.png │ │ ├── device_other.png │ │ ├── device_serial.png │ │ ├── event_list_fail_pic.jpg │ │ ├── failure_account.png │ │ ├── failure_server.png │ │ ├── failure_wifi.png │ │ ├── frame_normal.png │ │ ├── handle_02_normal.png │ │ ├── handle_02_pressed.png │ │ ├── handle_normal.png │ │ ├── handle_pressed.png │ │ ├── icn_back1.png │ │ ├── icon_arrow.png │ │ ├── images_cache_bg2.png │ │ ├── input_normal.png │ │ ├── inputlayout_bg.9.png │ │ ├── link_account1.png │ │ ├── link_account2.png │ │ ├── link_account3.png │ │ ├── link_account4.png │ │ ├── logo.png │ │ ├── me_normal.png │ │ ├── me_selected.png │ │ ├── message_fire.png │ │ ├── message_infrared.png │ │ ├── message_move.png │ │ ├── message_normal.png │ │ ├── message_other.png │ │ ├── message_police.png │ │ ├── message_selected.png │ │ ├── message_video.png │ │ ├── message_water.png │ │ ├── number_normal.png │ │ ├── number_selected.png │ │ ├── play_talkback.png │ │ ├── play_talkback_sel.png │ │ ├── play_video_record.png │ │ ├── play_video_time_bg.png │ │ ├── prepare_device.png │ │ ├── query_loding1.png │ │ ├── query_loding2.png │ │ ├── query_loding3.png │ │ ├── query_loding4.png │ │ ├── query_loding5.png │ │ ├── reset_deivce.png │ │ ├── resource_normal.png │ │ ├── resource_selected.png │ │ ├── results_pic_bg.png │ │ ├── results_pic_default.png │ │ ├── seekbar_normal.png │ │ ├── seekbar_press.png │ │ ├── server1.png │ │ ├── server2.png │ │ ├── server3.png │ │ ├── server4.png │ │ ├── spinner_0.png │ │ ├── spinner_1.png │ │ ├── spinner_10.png │ │ ├── spinner_11.png │ │ ├── spinner_2.png │ │ ├── spinner_3.png │ │ ├── spinner_4.png │ │ ├── spinner_5.png │ │ ├── spinner_6.png │ │ ├── spinner_7.png │ │ ├── spinner_8.png │ │ ├── spinner_9.png │ │ ├── success.png │ │ ├── success_icon.png │ │ ├── success_img.png │ │ ├── switch_off.png │ │ ├── switch_on.png │ │ ├── tab_detection.png │ │ ├── tab_undetection.png │ │ ├── video_camera1_3.png │ │ ├── wifi_config_bg.png │ │ └── wifi_connect_tip.png │ │ ├── drawable │ │ ├── auto_wifi_link_account_bg.xml │ │ ├── bg_loaderprogress.xml │ │ ├── bottom_divider.xml │ │ ├── btn_defence_normal.xml │ │ ├── btn_defence_selected.xml │ │ ├── btn_defence_selector.xml │ │ ├── btn_hd_selector.xml │ │ ├── btn_picture_selector.xml │ │ ├── btn_record_selector.xml │ │ ├── btn_smooth_selector.xml │ │ ├── btn_switch.xml │ │ ├── btn_talk_selector.xml │ │ ├── btn_video_level_selected.xml │ │ ├── btn_video_level_selector.xml │ │ ├── btn_white_selector.xml │ │ ├── camera_item_bottom_background.xml │ │ ├── camera_item_top_background.xml │ │ ├── ckb_selector.xml │ │ ├── code_text_selector.xml │ │ ├── connect_wifi_bg.xml │ │ ├── ez_btn_r1_retry_selector.xml │ │ ├── ez_reaty_btn_selector.xml │ │ ├── feedback_edittext_bg.xml │ │ ├── footer_progress.xml │ │ ├── input_shade.xml │ │ ├── login_btn_selector.xml │ │ ├── play_talkback_selector.xml │ │ ├── recycle_item_divider.xml │ │ ├── register_server_bg.xml │ │ ├── seekbar.xml │ │ ├── seekbar_thumb_bg.xml │ │ ├── seekbar_thumb_small_bg.xml │ │ └── voice_progress_bg.xml │ │ ├── layout │ │ ├── activity_add_device.xml │ │ ├── activity_auto_config_wifi_connect.xml │ │ ├── activity_auto_wifi_net_config.xml │ │ ├── activity_auto_wifi_prepare_step_one.xml │ │ ├── activity_auto_wifi_reset.xml │ │ ├── activity_capture.xml │ │ ├── activity_device_setting_layout.xml │ │ ├── activity_device_upgrade.xml │ │ ├── activity_feedback.xml │ │ ├── activity_main.xml │ │ ├── activity_modify_name.xml │ │ ├── activity_play.xml │ │ ├── activity_play_back.xml │ │ ├── activity_search_add_device.xml │ │ ├── activity_search_device.xml │ │ ├── activity_smart_config.xml │ │ ├── activity_welcome.xml │ │ ├── activity_wifi_selecte.xml │ │ ├── app_list_setting.xml │ │ ├── auto_wifi_connecting_status_item.xml │ │ ├── bottom_list_dialog.xml │ │ ├── bottom_list_dialog_item.xml │ │ ├── camera_list_item.xml │ │ ├── device_list_item.xml │ │ ├── device_setting_item.xml │ │ ├── device_setting_item_divider.xml │ │ ├── fragment_add_device_by_serial.xml │ │ ├── fragment_app.xml │ │ ├── fragment_cameralist_layout.xml │ │ ├── fragment_capture.xml │ │ ├── fragment_device.xml │ │ ├── fragment_devicelist_layout.xml │ │ ├── fragment_message.xml │ │ ├── fragment_playback_device_list_item.xml │ │ ├── fragment_playback_list_layout.xml │ │ ├── layout_loaderprogress.xml │ │ ├── main_bottom_item.xml │ │ ├── message_item.xml │ │ ├── pullrefresh_layout.xml │ │ ├── realplay_talkback_wnd.xml │ │ ├── recyclerview_footview_layout.xml │ │ ├── topbar.xml │ │ └── video_quality_layout.xml │ │ ├── mipmap-hdpi │ │ └── ic_launcher.png │ │ ├── mipmap-mdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xhdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xxhdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xxxhdpi │ │ └── ic_launcher.png │ │ ├── raw │ │ ├── beep.mp3 │ │ ├── picture.mp3 │ │ └── record.wav │ │ ├── values-w820dp │ │ └── dimens.xml │ │ └── values │ │ ├── attrs.xml │ │ ├── colors.xml │ │ ├── dimens.xml │ │ ├── ids.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── release │ └── res │ └── values │ └── config.xml ├── build.gradle ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle /README.md: -------------------------------------------------------------------------------- 1 | ## EZOpenAPP-Lite-Android 2 | 萤石开放平台app基于萤石开放平台SDK开发的开源项目 3 | 4 | 5 | 1. 需要在EZOpenApplication中修改自己申请的appkey 6 | 7 | ```java 8 | //修改为开发申请的AppKey 9 | public static String APP_KEY = "开发申请的AppKey"; 10 | ``` 11 | 12 | 2. 将工程包名修改为自己绑定appkey的包名,app的build.gradle 13 | 14 | ```java 15 | //修改为开发应用包名 16 | applicationId "开发者应用包名" 17 | ``` 18 | 19 | 20 | ## License 21 | -------------------------------------------------------------------------------- /dist/EZOpenAPP2.0.3.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/dist/EZOpenAPP2.0.3.apk -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | .idea 4 | /local.properties 5 | /.idea/workspace.xml 6 | /.idea/libraries 7 | .DS_Store 8 | /build 9 | /captures 10 | .externalNativeBuild 11 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | apply plugin: 'realm-android' 3 | 4 | android { 5 | compileSdkVersion 25 6 | buildToolsVersion '27.0.3' 7 | defaultConfig { 8 | applicationId "com.ezviz.open" 9 | minSdkVersion 16 10 | targetSdkVersion 22 11 | versionCode 10 12 | versionName "2.0.0" 13 | multiDexEnabled true 14 | ndk { 15 | abiFilters "armeabi-v7a" 16 | } 17 | javaCompileOptions { 18 | annotationProcessorOptions { 19 | includeCompileClasspath = true 20 | } 21 | } 22 | } 23 | 24 | sourceSets { 25 | main { 26 | jniLibs.srcDirs = ['libs'] 27 | } 28 | } 29 | dexOptions { 30 | preDexLibraries = false 31 | javaMaxHeapSize "4g" 32 | jumboMode = true 33 | } 34 | lintOptions { 35 | abortOnError false 36 | } 37 | 38 | } 39 | 40 | 41 | 42 | repositories { 43 | flatDir { 44 | dirs 'libs' 45 | } 46 | google() 47 | 48 | } 49 | 50 | dependencies { 51 | implementation fileTree(include: ['*.jar'], dir: 'libs') 52 | implementation 'com.android.support:appcompat-v7:25.2.0' 53 | implementation 'com.android.support:multidex:1.0.1' 54 | implementation 'com.squareup.retrofit2:retrofit:2.0.2' 55 | implementation 'com.squareup.retrofit2:converter-gson:2.0.2' 56 | implementation 'io.reactivex:rxjava:1.1.5' 57 | implementation 'io.reactivex:rxandroid:1.2.0' 58 | implementation 'com.squareup.retrofit2:adapter-rxjava:2.0.2' 59 | implementation 'com.jakewharton:butterknife-compiler:8.4.0' 60 | implementation 'com.github.bumptech.glide:glide:3.7.0' 61 | implementation 'com.android.support:support-v4:25.2.0' 62 | implementation 'com.android.support:design:25.2.0' 63 | implementation 'com.android.support:cardview-v7:25.2.0' 64 | implementation 'com.android.support:recyclerview-v7:25.2.0' 65 | implementation 'com.hikvision.ezviz:ezviz-sdk:5.0.0' 66 | // implementation 'com.facebook.stetho:stetho:1.5.0' 67 | 68 | } 69 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/libs/logging-interceptor-3.2.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/libs/logging-interceptor-3.2.0.jar -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/libs/zxing.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/libs/zxing.jar -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/debug/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | true 4 | 5 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/common/ErrorCode.java: -------------------------------------------------------------------------------- 1 | package com.ezviz.open.common; 2 | 3 | /** 4 | * Description: 5 | * Created by dingwei3 6 | * 7 | * @date : 2017/1/12 8 | */ 9 | public class ErrorCode { 10 | 11 | 12 | /** 13 | * 设备不支持云存储 14 | */ 15 | public static final int HTTP_ERROR_CODE_NOSUPPORT_CLOUND = 60020; 16 | 17 | /** 18 | * 参数错误 参数为空或格式不正确 19 | */ 20 | public static final int HTTP_ERROR_CODE_PARAM_ERROR = 10001; 21 | 22 | /** 23 | * accessToken异常或过期 24 | */ 25 | public static final int HTTP_ERROR_CODE_ACCESSTOKEN_ERROR = 10002; 26 | 27 | /** 28 | * 用户不存在 29 | */ 30 | public static final int HTTP_ERROR_CODE_NO_USER = 10004; 31 | 32 | /** 33 | * appKey异常 34 | */ 35 | public static final int HTTP_ERROR_CODE_APPKEY_ERROR = 10005; 36 | 37 | /** 38 | * 设备不存在 39 | */ 40 | public static final int HTTP_ERROR_CODE_NO_DEVICE = 20002; 41 | 42 | /** 43 | * deviceSerial不合法 44 | */ 45 | public static final int HTTP_ERROR_CODE_DEVICESERIAL_ISVALID = 20014; 46 | 47 | /** 48 | * 该用户不拥有该设备 49 | */ 50 | public static final int HTTP_ERROR_CODE_USER_NOT_OWNED = 20018; 51 | 52 | 53 | 54 | /** 55 | * 该用户下通道不存在 56 | */ 57 | public static final int HTTP_ERROR_CODE_NO_CAMERA = 20032; 58 | 59 | /** 60 | * 数据异常 61 | */ 62 | public static final int HTTP_ERROR_CODE_DATA_ERROR = 49999; 63 | 64 | /** 65 | * 未知错误 66 | */ 67 | public static final int HTTP_ERROR_CODE_UNKNOWN_ERROR = 60012; 68 | 69 | 70 | } 71 | 72 | 73 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/common/MD5.java: -------------------------------------------------------------------------------- 1 | package com.ezviz.open.common; 2 | 3 | import android.text.TextUtils; 4 | 5 | import com.ezviz.open.utils.EZLog; 6 | 7 | import java.io.File; 8 | import java.io.FileInputStream; 9 | import java.io.FileNotFoundException; 10 | import java.io.IOException; 11 | import java.io.InputStream; 12 | import java.math.BigInteger; 13 | import java.security.MessageDigest; 14 | import java.security.NoSuchAlgorithmException; 15 | 16 | public class MD5 { 17 | private static final String TAG = "MD5"; 18 | 19 | public static boolean checkMD5(String md5, File updateFile) { 20 | if (TextUtils.isEmpty(md5) || updateFile == null) { 21 | EZLog.e(TAG, "MD5 string empty or updateFile null"); 22 | return false; 23 | } 24 | String calculatedDigest = calculateMD5(updateFile); 25 | if (calculatedDigest == null) { 26 | EZLog.e(TAG, "calculatedDigest null"); 27 | return false; 28 | } 29 | EZLog.v(TAG, "Calculated digest: " + calculatedDigest); 30 | EZLog.v(TAG, "Provided digest: " + md5); 31 | 32 | return calculatedDigest.equalsIgnoreCase(md5); 33 | } 34 | 35 | public static String calculateMD5(File updateFile) { 36 | MessageDigest digest; 37 | try { 38 | digest = MessageDigest.getInstance("MD5"); 39 | } catch (NoSuchAlgorithmException e) { 40 | EZLog.e(TAG, "Exception while getting digest", e); 41 | return null; 42 | } 43 | InputStream is; 44 | try { 45 | is = new FileInputStream(updateFile); 46 | } catch (FileNotFoundException e) { 47 | EZLog.e(TAG, "Exception while getting FileInputStream", e); 48 | return null; 49 | } 50 | 51 | byte[] buffer = new byte[8192]; 52 | int read; 53 | try { 54 | while ((read = is.read(buffer)) > 0) { 55 | digest.update(buffer, 0, read); 56 | } 57 | byte[] md5sum = digest.digest(); 58 | BigInteger bigInt = new BigInteger(1, md5sum); 59 | String output = bigInt.toString(16); 60 | // Fill to 32 chars 61 | output = String.format("%32s", output).replace(' ', '0'); 62 | return output; 63 | } catch (IOException e) { 64 | throw new RuntimeException("Unable to process file for MD5", e); 65 | } finally { 66 | try { 67 | is.close(); 68 | } catch (IOException e) { 69 | EZLog.e(TAG, "Exception on closing MD5 input stream", e); 70 | } 71 | } 72 | } 73 | } -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/common/WindowSizeChangeNotifier.java: -------------------------------------------------------------------------------- 1 | package com.ezviz.open.common; 2 | 3 | import android.app.Activity; 4 | import android.graphics.Point; 5 | import android.graphics.Rect; 6 | import android.view.View; 7 | import android.view.ViewTreeObserver; 8 | import android.widget.FrameLayout; 9 | 10 | public class WindowSizeChangeNotifier { 11 | 12 | private View mChildOfContent; 13 | private Point mPreviousPoint = null; 14 | private OnWindowSizeChangedListener mListener = null; 15 | public static interface OnWindowSizeChangedListener { 16 | void onWindowSizeChanged(int w, int h, int oldW, int oldH); 17 | } 18 | 19 | public WindowSizeChangeNotifier(Activity activity, OnWindowSizeChangedListener onWindowSizeChangedListener) { 20 | mListener = onWindowSizeChangedListener; 21 | FrameLayout content = (FrameLayout) activity.findViewById(android.R.id.content); 22 | mChildOfContent = content.getChildAt(0); 23 | mChildOfContent.getViewTreeObserver().addOnGlobalLayoutListener(new ViewTreeObserver.OnGlobalLayoutListener() { 24 | public void onGlobalLayout() { 25 | possiblyResizeChildOfContent(); 26 | } 27 | }); 28 | } 29 | 30 | private void possiblyResizeChildOfContent() { 31 | Point pointNow = computeUsablePoint(); 32 | if(mPreviousPoint == null) { 33 | mPreviousPoint = pointNow; 34 | return; 35 | } 36 | if (pointNow.x != mPreviousPoint.x || pointNow.y != mPreviousPoint.y) { 37 | if(mListener != null) { 38 | mListener.onWindowSizeChanged(pointNow.x, pointNow.y, mPreviousPoint.x, mPreviousPoint.y); 39 | } 40 | mPreviousPoint = pointNow; 41 | 42 | } 43 | } 44 | 45 | private Point computeUsablePoint() { 46 | Point p = new Point(); 47 | Rect r = new Rect(); 48 | mChildOfContent.getWindowVisibleDisplayFrame(r); 49 | p.x = r.width(); 50 | p.y = r.height(); 51 | return p; 52 | } 53 | 54 | } 55 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/glide/EZOpenGlideModule.java: -------------------------------------------------------------------------------- 1 | package com.ezviz.open.glide; 2 | 3 | import android.content.Context; 4 | 5 | import com.bumptech.glide.Glide; 6 | import com.bumptech.glide.GlideBuilder; 7 | import com.bumptech.glide.load.DecodeFormat; 8 | import com.bumptech.glide.load.engine.bitmap_recycle.LruBitmapPool; 9 | import com.bumptech.glide.load.engine.cache.LruResourceCache; 10 | import com.bumptech.glide.load.engine.cache.MemorySizeCalculator; 11 | import com.bumptech.glide.module.GlideModule; 12 | import com.bumptech.glide.request.target.ViewTarget; 13 | 14 | import java.io.InputStream; 15 | import java.util.concurrent.Executors; 16 | import com.ezviz.open.R; 17 | 18 | public class EZOpenGlideModule implements GlideModule { 19 | 20 | @Override 21 | public void applyOptions(Context context, GlideBuilder builder) { 22 | ViewTarget.setTagId(R.id.glide_tag_id); 23 | builder.setDecodeFormat(DecodeFormat.PREFER_ARGB_8888); 24 | MemorySizeCalculator calculator = new MemorySizeCalculator(context); 25 | int defaultMemoryCacheSize = calculator.getMemoryCacheSize(); 26 | int defaultBitmapPoolSize = calculator.getBitmapPoolSize(); 27 | 28 | int customMemoryCacheSize = (int) (1 * defaultMemoryCacheSize); 29 | int customBitmapPoolSize = (int) (1 * defaultBitmapPoolSize); 30 | 31 | builder.setMemoryCache(new LruResourceCache(customMemoryCacheSize)); 32 | builder.setBitmapPool(new LruBitmapPool(customBitmapPoolSize)); 33 | builder.setResizeService(Executors.newFixedThreadPool(2)); 34 | builder.setDiskCacheService(Executors.newFixedThreadPool(2)); 35 | } 36 | 37 | @Override 38 | public void registerComponents(Context context, Glide glide) { 39 | glide.register(EncryptUrlInfo.class,InputStream.class,new EncryptLoader.Factory()); 40 | } 41 | 42 | } 43 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/glide/EncryptLoader.java: -------------------------------------------------------------------------------- 1 | package com.ezviz.open.glide; 2 | 3 | import android.content.Context; 4 | 5 | import com.bumptech.glide.load.data.DataFetcher; 6 | import com.bumptech.glide.load.model.GenericLoaderFactory; 7 | import com.bumptech.glide.load.model.ModelLoader; 8 | import com.bumptech.glide.load.model.ModelLoaderFactory; 9 | 10 | import java.io.InputStream; 11 | 12 | /** 13 | * Description: 14 | * Created by dingwei3 15 | * 16 | * @date : 2016/12/22 17 | */ 18 | public class EncryptLoader implements ModelLoader { 19 | @Override 20 | public DataFetcher getResourceFetcher(EncryptUrlInfo encryptUrlInfo, int i, int i1) { 21 | 22 | return new EncryptFetcher(encryptUrlInfo); 23 | } 24 | 25 | public static class Factory implements ModelLoaderFactory { 26 | @Override 27 | public ModelLoader build(Context context, GenericLoaderFactory factories) { 28 | return new EncryptLoader(); 29 | } 30 | @Override 31 | public void teardown() { 32 | 33 | } 34 | } 35 | } 36 | 37 | 38 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/glide/EncryptUrlInfo.java: -------------------------------------------------------------------------------- 1 | package com.ezviz.open.glide; 2 | 3 | /** 4 | * Description: 5 | * Created by dingwei3 6 | * 7 | * @date : 2016/12/22 8 | */ 9 | public class EncryptUrlInfo { 10 | public String deviceSerial; 11 | public String url; 12 | public String password; 13 | public boolean isEncrypt; 14 | public int position; 15 | 16 | public EncryptUrlInfo(String deviceSerial, String url, String password, boolean isEncrypt) { 17 | this.deviceSerial = deviceSerial; 18 | this.url = url; 19 | this.password = password; 20 | this.isEncrypt = isEncrypt; 21 | } 22 | 23 | public EncryptUrlInfo(String deviceSerial, String url, boolean isEncrypt) { 24 | this.deviceSerial = deviceSerial; 25 | this.url = url; 26 | this.isEncrypt = isEncrypt; 27 | } 28 | 29 | public EncryptUrlInfo(){ 30 | 31 | } 32 | 33 | public void setPosition(int position) { 34 | this.position = position; 35 | } 36 | } 37 | 38 | 39 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/http/EZOpenAPI.java: -------------------------------------------------------------------------------- 1 | package com.ezviz.open.http; 2 | 3 | import com.ezviz.open.main.EZOpenApplication; 4 | 5 | import retrofit2.Retrofit; 6 | import retrofit2.adapter.rxjava.RxJavaCallAdapterFactory; 7 | import retrofit2.converter.gson.GsonConverterFactory; 8 | 9 | /** 10 | * Description: 11 | * Created by dingwei3 12 | * 13 | * @date : 2016/12/6 14 | */ 15 | public class EZOpenAPI { 16 | 17 | private static final String TAG = "EZOpenAPI"; 18 | 19 | public static EZOpenAPIService mEZOpenAPIService; 20 | static { 21 | Retrofit retrofit = new Retrofit.Builder().baseUrl(EZOpenApplication.API_URL). 22 | addConverterFactory(GsonConverterFactory.create()) 23 | .client(EZOpenHttpClient.getInstance().mOkHttpClient) 24 | .addCallAdapterFactory(RxJavaCallAdapterFactory.create()).build(); 25 | mEZOpenAPIService = retrofit.create(EZOpenAPIService.class); 26 | } 27 | 28 | 29 | } 30 | 31 | 32 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/http/EZOpenAPIService.java: -------------------------------------------------------------------------------- 1 | package com.ezviz.open.http; 2 | 3 | import com.ezviz.open.model.noconfusion.BaseResponse; 4 | import com.ezviz.open.model.noconfusion.DeviceCloudInfoResp; 5 | import com.ezviz.open.model.noconfusion.DeviceSoundStatusResp; 6 | 7 | import retrofit2.http.Field; 8 | import retrofit2.http.FormUrlEncoded; 9 | import retrofit2.http.POST; 10 | import rx.Observable; 11 | 12 | /** 13 | * Description: 14 | * Created by dingwei3 15 | * 16 | * @date : 2017/1/12 17 | */ 18 | 19 | public interface EZOpenAPIService{ 20 | 21 | /** 22 | * 获取设备云存储状态 23 | * @param accessToken 授权过程获取的access_token 24 | * @param deviceSerial 设备序列号 25 | * @return 26 | */ 27 | @FormUrlEncoded 28 | @POST("/api/lapp/cloud/storage/device/info") 29 | Observable getDeviceCloudInfo(@Field("accessToken")String accessToken, @Field("deviceSerial")String deviceSerial); 30 | 31 | 32 | 33 | /** 34 | * 修改监控点名称 35 | * @param accessToken 授权过程获取的access_token 36 | * @param deviceSerial 设备序列号 37 | * @param channelNo 通道号 cameraNo 38 | * @param name 需要修改的名称 39 | * @return 40 | */ 41 | @FormUrlEncoded 42 | @POST("/api/lapp/camera/name/update") 43 | Observable modifyCameraName(@Field("accessToken")String accessToken, @Field("deviceSerial")String deviceSerial, @Field("channelNo")int channelNo, 44 | @Field("name")String name); 45 | 46 | /** 47 | * 获取设备提示音开关状态 48 | * @param accessToken 授权过程获取的access_token 49 | * @param deviceSerial 设备序列号 50 | * @return 51 | */ 52 | @FormUrlEncoded 53 | @POST("/api/lapp/device/sound/switch/status") 54 | Observable getDeviceSoundStatus(@Field("accessToken")String accessToken, @Field("deviceSerial")String deviceSerial); 55 | 56 | 57 | /** 58 | * 设置设备提示音状态 59 | * @param accessToken 授权过程获取的access_token 60 | * @param deviceSerial 设备序列号 61 | * @param enable 状态:0-关闭,1-开启 62 | * @return 63 | */ 64 | @FormUrlEncoded 65 | @POST("/api/lapp/device/sound/switch/set") 66 | Observable setDeviceSoundStatus(@Field("accessToken")String accessToken, @Field("deviceSerial")String deviceSerial, 67 | @Field("enable")int enable); 68 | 69 | } 70 | 71 | 72 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/http/EZOpenHttpClient.java: -------------------------------------------------------------------------------- 1 | package com.ezviz.open.http; 2 | 3 | import android.content.Context; 4 | 5 | import com.ezviz.open.main.EZOpenApplication; 6 | 7 | 8 | import okhttp3.OkHttpClient; 9 | import okhttp3.logging.HttpLoggingInterceptor; 10 | 11 | /** 12 | * Description: 13 | * Created by dingwei3 14 | * 15 | * @date : 2017/1/12 16 | */ 17 | public class EZOpenHttpClient { 18 | private final static String TAG = "EZOpenHttpClient"; 19 | public OkHttpClient mOkHttpClient; 20 | private static EZOpenHttpClient mEZOpenHttpClient; 21 | 22 | /** 23 | * 根据类型生成并获取实例 24 | */ 25 | public static EZOpenHttpClient getInstance() { 26 | if (mEZOpenHttpClient == null) { 27 | synchronized (EZOpenHttpClient.class) { 28 | if (mEZOpenHttpClient == null) { 29 | mEZOpenHttpClient = new EZOpenHttpClient(EZOpenApplication.mEZOpenApplication.getApplicationContext()); 30 | } 31 | } 32 | } 33 | return mEZOpenHttpClient; 34 | } 35 | 36 | public EZOpenHttpClient(Context context) { 37 | OkHttpClient.Builder okHttpClientBuilder = new OkHttpClient.Builder(); 38 | if (EZOpenApplication.DEBUG) { 39 | HttpLoggingInterceptor httpLoggingInterceptor = new HttpLoggingInterceptor(); 40 | httpLoggingInterceptor.setLevel(HttpLoggingInterceptor.Level.BODY); 41 | okHttpClientBuilder.addInterceptor(httpLoggingInterceptor); 42 | } 43 | mOkHttpClient = okHttpClientBuilder.build(); 44 | } 45 | 46 | } 47 | 48 | 49 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/main/EZOpenApplication.java: -------------------------------------------------------------------------------- 1 | package com.ezviz.open.main; 2 | 3 | import android.content.Intent; 4 | import android.support.multidex.MultiDexApplication; 5 | import android.util.Log; 6 | 7 | 8 | import com.ezviz.open.utils.DataManager; 9 | import com.ezviz.open.view.avctivity.MainActivity; 10 | import com.ezviz.opensdk.auth.OnAuthCallBack; 11 | import com.videogo.openapi.EZOpenSDK; 12 | import com.videogo.openapi.bean.EZAccessToken; 13 | 14 | import io.realm.Realm; 15 | import com.ezviz.open.R; 16 | /** 17 | * Description: 18 | * Created by dingwei3 19 | * 20 | * @date : 2016/12/3 21 | */ 22 | public class EZOpenApplication extends MultiDexApplication { 23 | public static final boolean DEBUG = false; 24 | public static final String TAG = "EZOpenApplication"; 25 | public static String APP_KEY = ""; 26 | public static String API_URL = "https://open.ys7.com"; 27 | public static EZOpenApplication mEZOpenApplication; 28 | 29 | @Override 30 | public void onCreate() { 31 | super.onCreate(); 32 | mEZOpenApplication = this; 33 | init(); 34 | Realm.init(this); 35 | } 36 | 37 | public void init() { 38 | Log.i(TAG, "init debug = " + getResources().getBoolean(R.bool.debug)); 39 | EZOpenSDK.showSDKLog(getResources().getBoolean(R.bool.debug)); 40 | EZOpenSDK.initSDK(this, APP_KEY); 41 | DataManager.init(this); 42 | EZOpenSDK.setAuthCallBack(new OnAuthCallBack() { 43 | @Override 44 | public void onAuthSuccessCallBack(EZAccessToken ezAccessToken) { 45 | Intent toIntent = new Intent(mEZOpenApplication, MainActivity.class); 46 | toIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP|Intent.FLAG_ACTIVITY_NEW_TASK); 47 | startActivity(toIntent); 48 | } 49 | 50 | @Override 51 | public void onNeedAuthAccessToken() { 52 | 53 | } 54 | }); 55 | } 56 | 57 | @Override 58 | protected void finalize() throws Throwable { 59 | super.finalize(); 60 | } 61 | } 62 | 63 | 64 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/model/DeviceEncrypt.java: -------------------------------------------------------------------------------- 1 | package com.ezviz.open.model; 2 | 3 | import io.realm.RealmObject; 4 | import io.realm.annotations.PrimaryKey; 5 | 6 | /** 7 | * Description:设备对应设备验证码关系类 8 | * Created by dingwei3 9 | * 10 | * @date : 2016/12/20 11 | */ 12 | public class DeviceEncrypt extends RealmObject{ 13 | 14 | /** 15 | * 设备序列号 16 | */ 17 | @PrimaryKey 18 | private String deviceSerial; 19 | 20 | /** 21 | * 设备验证码, 22 | */ 23 | private String encryptPwd; 24 | 25 | public String getEncryptPwd() { 26 | return encryptPwd; 27 | } 28 | 29 | public void setEncryptPwd(String encryptPwd) { 30 | this.encryptPwd = encryptPwd; 31 | } 32 | 33 | public String getDeviceSerial() { 34 | return deviceSerial; 35 | } 36 | 37 | public void setDeviceSerial(String deviceSerial) { 38 | this.deviceSerial = deviceSerial; 39 | } 40 | 41 | } 42 | 43 | 44 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/model/EZOpenRecordFile.java: -------------------------------------------------------------------------------- 1 | package com.ezviz.open.model; 2 | 3 | import com.videogo.openapi.bean.EZCloudRecordFile; 4 | import com.videogo.openapi.bean.EZDeviceRecordFile; 5 | 6 | /** 7 | * Description: 设备录像文件 8 | * Created by dingwei3 9 | * 10 | * @date : 2016/12/26 11 | */ 12 | public class EZOpenRecordFile { 13 | /** 14 | * 云存储文件 15 | */ 16 | private EZCloudRecordFile mEZCloudRecordFile; 17 | 18 | /** 19 | * 设备本地存储文件 20 | */ 21 | private EZDeviceRecordFile mEZDeviceRecordFile; 22 | } 23 | 24 | 25 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/model/EZOpenVideoQualityInfo.java: -------------------------------------------------------------------------------- 1 | package com.ezviz.open.model; 2 | 3 | import com.videogo.openapi.bean.EZVideoQualityInfo; 4 | 5 | import io.realm.RealmObject; 6 | 7 | /** 8 | * Description: 通道清晰度信息类 9 | * Created by dingwei3 10 | * 11 | * @date : 2017/2/28 12 | */ 13 | public class EZOpenVideoQualityInfo extends RealmObject { 14 | /** 15 | * 清晰度名称 16 | */ 17 | private String videoQualityName; 18 | /** 19 | * 清晰度等级 20 | */ 21 | private int videoLevel; 22 | 23 | /** 24 | * 码流类型 25 | */ 26 | private int streamType; 27 | 28 | 29 | public String getVideoQualityName() { 30 | return videoQualityName; 31 | } 32 | 33 | public void setVideoQualityName(String videoQualityName) { 34 | this.videoQualityName = videoQualityName; 35 | } 36 | 37 | public int getVideoLevel() { 38 | return videoLevel; 39 | } 40 | 41 | public void setVideoLevel(int videoLevel) { 42 | this.videoLevel = videoLevel; 43 | } 44 | 45 | public int getStreamType() { 46 | return streamType; 47 | } 48 | 49 | public void setStreamType(int streamType) { 50 | this.streamType = streamType; 51 | } 52 | 53 | public void copy(EZVideoQualityInfo videoQualityInfo){ 54 | setVideoLevel(videoQualityInfo.getVideoLevel()); 55 | setStreamType(videoQualityInfo.getStreamType()); 56 | setVideoQualityName(videoQualityInfo.getVideoQualityName()); 57 | } 58 | 59 | } 60 | 61 | 62 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/model/noconfusion/BaseResponse.java: -------------------------------------------------------------------------------- 1 | package com.ezviz.open.model.noconfusion; 2 | 3 | import com.ezviz.open.common.EZOpenConstant; 4 | 5 | /** 6 | * Description: 7 | * Created by dingwei3 8 | * 9 | * @date : 2017/1/12 10 | */ 11 | public class BaseResponse implements DonotConfusion{ 12 | public String code; 13 | public String msg; 14 | 15 | 16 | public boolean parseCode(){ 17 | int coderesp = Integer.parseInt(code); 18 | if (coderesp == EZOpenConstant.HTTP_RESUILT_OK) { 19 | return true; 20 | } 21 | return false; 22 | } 23 | 24 | 25 | 26 | } 27 | 28 | 29 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/model/noconfusion/DeviceSoundStatusResp.java: -------------------------------------------------------------------------------- 1 | package com.ezviz.open.model.noconfusion; 2 | 3 | /** 4 | * Description: 设备语音开关状态类 5 | * Created by dingwei3 6 | * 7 | * @date : 2017/1/12 8 | */ 9 | public class DeviceSoundStatusResp extends BaseResponse { 10 | 11 | private DeviceSoundStatus data; 12 | 13 | public DeviceSoundStatus getData() { 14 | return data; 15 | } 16 | 17 | public class DeviceSoundStatus{ 18 | /** 19 | * 设备序列号 20 | */ 21 | private String deviceSerial; 22 | /** 23 | * 通道号 24 | */ 25 | private int channelNo; 26 | /** 27 | * 状态:0-关闭,1-开启 28 | */ 29 | private int enable = -1; 30 | 31 | public String getDeviceSerial() { 32 | return deviceSerial; 33 | } 34 | 35 | public void setDeviceSerial(String deviceSerial) { 36 | this.deviceSerial = deviceSerial; 37 | } 38 | 39 | public int getChannelNo() { 40 | return channelNo; 41 | } 42 | 43 | public void setChannelNo(int channelNo) { 44 | this.channelNo = channelNo; 45 | } 46 | 47 | public int getEnable() { 48 | return enable; 49 | } 50 | 51 | public void setEnable(int enable) { 52 | this.enable = enable; 53 | } 54 | } 55 | } 56 | 57 | 58 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/model/noconfusion/DonotConfusion.java: -------------------------------------------------------------------------------- 1 | package com.ezviz.open.model.noconfusion; 2 | 3 | /** 4 | * 只要有此标记接口的类都不要进行代码混淆 5 | */ 6 | public interface DonotConfusion { 7 | } 8 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/presenter/AppPresenter.java: -------------------------------------------------------------------------------- 1 | package com.ezviz.open.presenter; 2 | 3 | import android.support.v4.app.FragmentActivity; 4 | import android.text.TextUtils; 5 | 6 | import com.ezviz.open.R; 7 | import com.ezviz.open.utils.EZOpenUtils; 8 | import com.ezviz.open.view.AppView; 9 | import com.videogo.openapi.EZOpenSDK; 10 | 11 | import rx.Observable; 12 | import rx.Subscriber; 13 | import rx.android.schedulers.AndroidSchedulers; 14 | import rx.functions.Action1; 15 | import rx.schedulers.Schedulers; 16 | 17 | /** 18 | * Description: 19 | * Created by dingwei3 20 | * 21 | * @date : 2016/12/27 22 | */ 23 | public class AppPresenter { 24 | private AppView mAppView; 25 | public AppPresenter(AppView appView){ 26 | mAppView = appView; 27 | } 28 | 29 | /** 30 | * 账号切换 31 | */ 32 | public void switchAccount(){ 33 | Observable.create(new Observable.OnSubscribe() { 34 | @Override 35 | public void call(Subscriber subscriber) { 36 | EZOpenSDK.logout(); 37 | subscriber.onNext(null); 38 | } 39 | }).observeOn(AndroidSchedulers.mainThread()).subscribeOn(Schedulers.io()).subscribe(new Action1() { 40 | @Override 41 | public void call(Void param) { 42 | mAppView.handleLogoutSuccess(); 43 | } 44 | }); 45 | } 46 | 47 | /** 48 | * 获取当前app版本以及sdk版本 49 | * @param activity 50 | * @return 51 | */ 52 | public String getVersionString(FragmentActivity activity){ 53 | String sdkversion = EZOpenSDK.getVersion(); 54 | String appVersion = EZOpenUtils.getAppVersionNameInfo(activity); 55 | return String.format(activity.getResources().getString(R.string.version), TextUtils.isEmpty(appVersion)?"":appVersion,TextUtils.isEmpty(sdkversion)?"":sdkversion); 56 | } 57 | 58 | } 59 | 60 | 61 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/presenter/BaseRealmPresenter.java: -------------------------------------------------------------------------------- 1 | package com.ezviz.open.presenter; 2 | 3 | import com.ezviz.open.utils.DataManager; 4 | 5 | import io.realm.Realm; 6 | 7 | /** 8 | * Description: 9 | * Created by dingwei3 10 | * 11 | * @date : 2016/12/12 12 | */ 13 | public abstract class BaseRealmPresenter extends BasePresenter{ 14 | public Realm mRealm; 15 | public BaseRealmPresenter(){ 16 | super(); 17 | init(); 18 | } 19 | public void init(){ 20 | mRealm = DataManager.getInstance().getRealm(); 21 | } 22 | public void release(){ 23 | super.release(); 24 | mRealm.close(); 25 | } 26 | } 27 | 28 | 29 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/scan/camera/AutoFocusCallback.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2010 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.ezviz.open.scan.camera; 18 | 19 | import android.hardware.Camera; 20 | import android.os.Handler; 21 | import android.os.Message; 22 | 23 | import com.ezviz.open.utils.EZLog; 24 | 25 | final class AutoFocusCallback implements Camera.AutoFocusCallback { 26 | 27 | private static final String TAG = AutoFocusCallback.class.getSimpleName(); 28 | 29 | private static final long AUTOFOCUS_INTERVAL_MS = 1500L; 30 | 31 | private Handler autoFocusHandler; 32 | private int autoFocusMessage; 33 | 34 | void setHandler(Handler autoFocusHandler, int autoFocusMessage) { 35 | this.autoFocusHandler = autoFocusHandler; 36 | this.autoFocusMessage = autoFocusMessage; 37 | } 38 | 39 | @Override 40 | public void onAutoFocus(boolean success, Camera camera) { 41 | if (autoFocusHandler != null) { 42 | Message message = autoFocusHandler.obtainMessage(autoFocusMessage, success); 43 | // Simulate continuous autofocus by sending a focus request every 44 | // AUTOFOCUS_INTERVAL_MS milliseconds. 45 | //LogUtil.debugLog(TAG, "Got auto-focus callback; requesting another"); 46 | autoFocusHandler.sendMessageDelayed(message, AUTOFOCUS_INTERVAL_MS); 47 | autoFocusHandler = null; 48 | } else { 49 | EZLog.debugLog(TAG, "Got auto-focus callback, but no handler for it"); 50 | } 51 | } 52 | 53 | } 54 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/scan/camera/PreviewCallback.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2010 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.ezviz.open.scan.camera; 18 | 19 | import android.graphics.Point; 20 | import android.hardware.Camera; 21 | import android.os.Handler; 22 | import android.os.Message; 23 | 24 | import com.ezviz.open.utils.EZLog; 25 | 26 | final class PreviewCallback implements Camera.PreviewCallback { 27 | 28 | private static final String TAG = PreviewCallback.class.getSimpleName(); 29 | 30 | private final CameraConfigurationManager configManager; 31 | private Handler previewHandler; 32 | private int previewMessage; 33 | 34 | PreviewCallback(CameraConfigurationManager configManager) { 35 | this.configManager = configManager; 36 | } 37 | 38 | void setHandler(Handler previewHandler, int previewMessage) { 39 | this.previewHandler = previewHandler; 40 | this.previewMessage = previewMessage; 41 | } 42 | 43 | @Override 44 | public void onPreviewFrame(byte[] data, Camera camera) { 45 | Point cameraResolution = configManager.getCameraResolution(); 46 | Handler thePreviewHandler = previewHandler; 47 | if (thePreviewHandler != null) { 48 | Message message = thePreviewHandler.obtainMessage(previewMessage, cameraResolution.x, 49 | cameraResolution.y, data); 50 | message.sendToTarget(); 51 | previewHandler = null; 52 | } else { 53 | EZLog.debugLog(TAG, "Got preview callback, but no handler for it"); 54 | } 55 | } 56 | 57 | } 58 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/scan/main/FinishListener.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2010 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.ezviz.open.scan.main; 18 | 19 | import android.app.Activity; 20 | import android.content.DialogInterface; 21 | 22 | /** 23 | * Simple listener used to exit the app in a few cases. 24 | * 25 | * @author Sean Owen 26 | */ 27 | public final class FinishListener 28 | implements DialogInterface.OnClickListener, DialogInterface.OnCancelListener, Runnable { 29 | 30 | private final Activity activityToFinish; 31 | 32 | public FinishListener(Activity activityToFinish) { 33 | this.activityToFinish = activityToFinish; 34 | } 35 | 36 | @Override 37 | public void onCancel(DialogInterface dialogInterface) { 38 | run(); 39 | } 40 | 41 | @Override 42 | public void onClick(DialogInterface dialogInterface, int i) { 43 | run(); 44 | } 45 | 46 | @Override 47 | public void run() { 48 | activityToFinish.finish(); 49 | } 50 | 51 | } 52 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/scan/main/IntentSource.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2011 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.ezviz.open.scan.main; 18 | 19 | enum IntentSource { 20 | 21 | NATIVE_APP_INTENT, 22 | PRODUCT_SEARCH_LINK, 23 | ZXING_LINK, 24 | NONE 25 | 26 | } 27 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/scan/main/ViewfinderResultPointCallback.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2009 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.ezviz.open.scan.main; 18 | 19 | import com.google.zxing.ResultPoint; 20 | import com.google.zxing.ResultPointCallback; 21 | 22 | 23 | final class ViewfinderResultPointCallback implements ResultPointCallback { 24 | 25 | private final ViewfinderView viewfinderView; 26 | 27 | ViewfinderResultPointCallback(ViewfinderView viewfinderView) { 28 | this.viewfinderView = viewfinderView; 29 | } 30 | 31 | @Override 32 | public void foundPossibleResultPoint(ResultPoint point) { 33 | viewfinderView.addPossibleResultPoint(point); 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/utils/AsyncBitmapTaskTag.java: -------------------------------------------------------------------------------- 1 | package com.ezviz.open.utils; 2 | 3 | /** 4 | * Description: 5 | * Created by dingwei3 6 | * 7 | * @date : 2016/12/29 8 | */ 9 | 10 | import java.lang.ref.WeakReference; 11 | 12 | /** 13 | * 自定义的一个 Drawable,让这个 Drawable持有BitmapWorkerTask的弱引用。 14 | */ 15 | public class AsyncBitmapTaskTag { 16 | private WeakReference bitmapWorkerTaskReference; 17 | 18 | public AsyncBitmapTaskTag(BitmapWorkerTask bitmapWorkerTask) { 19 | bitmapWorkerTaskReference = new WeakReference( 20 | bitmapWorkerTask); 21 | } 22 | 23 | public BitmapWorkerTask getBitmapWorkerTask() { 24 | return bitmapWorkerTaskReference .get(); 25 | } 26 | } 27 | 28 | 29 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/utils/BitmapWorkManager.java: -------------------------------------------------------------------------------- 1 | package com.ezviz.open.utils; 2 | 3 | import android.os.AsyncTask; 4 | import android.widget.ImageView; 5 | import com.ezviz.open.R; 6 | 7 | public class BitmapWorkManager { 8 | /** 9 | * 获取传入的ImageView它所对应的BitmapWorkerTask。 10 | */ 11 | public static BitmapWorkerTask getBitmapWorkerTask(ImageView imageView) { 12 | if (imageView != null) { 13 | Object object = imageView.getTag(R.id.tag_key_capture_task); 14 | if (object instanceof AsyncBitmapTaskTag) { 15 | AsyncBitmapTaskTag asyncBitmapTaskTag = (AsyncBitmapTaskTag) object; 16 | return asyncBitmapTaskTag.getBitmapWorkerTask(); 17 | } 18 | } 19 | return null; 20 | } 21 | 22 | /** 23 | * 取消掉后台的潜在任务,当认为当前ImageView存在着一个另外图片请求任务时 , 24 | * 则把它取消掉并返回true,否则返回false。 25 | */ 26 | public static boolean cancelPotentialWork(String deviceSerial,int cameraNo, ImageView imageView) { 27 | BitmapWorkerTask bitmapWorkerTask = getBitmapWorkerTask(imageView); 28 | if (bitmapWorkerTask != null && bitmapWorkerTask.getStatus() == AsyncTask.Status.PENDING) { 29 | if (bitmapWorkerTask.deviceSerial == null 30 | || !(bitmapWorkerTask.deviceSerial.equals(deviceSerial)&& bitmapWorkerTask.cameraNo == cameraNo)) { 31 | bitmapWorkerTask.cancel(true); 32 | } else { 33 | return false; 34 | } 35 | } 36 | return true; 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/utils/EZCameraDBManager.java: -------------------------------------------------------------------------------- 1 | package com.ezviz.open.utils; 2 | 3 | import com.ezviz.open.model.EZOpenCameraInfo; 4 | 5 | import io.realm.Realm; 6 | 7 | /** 8 | * Description: 通道数据库操作类 9 | * Created by dingwei3 10 | * 11 | * @date : 2017/1/4 12 | */ 13 | public class EZCameraDBManager { 14 | /** 15 | * 同步查询通道 16 | * @param deviceSerial 17 | * @return 18 | */ 19 | public static EZOpenCameraInfo findFirst(String deviceSerial,int cameraNo){ 20 | EZOpenCameraInfo ezOpenCameraInfo = DataManager.getInstance().getRealm().where(EZOpenCameraInfo.class).equalTo("deviceSerial_cameraNo",deviceSerial+"_"+cameraNo).findFirst(); 21 | if (ezOpenCameraInfo == null || !ezOpenCameraInfo.isValid()){ 22 | return null; 23 | } 24 | return ezOpenCameraInfo; 25 | } 26 | 27 | /** 28 | * 设置通道预览清晰度 29 | * @param deviceSerial 30 | * @param cameraNo 31 | * @param level 32 | */ 33 | public static void setDeviceVideoLevel(final String deviceSerial, final int cameraNo, final int level){ 34 | Realm realm = DataManager.getInstance().getRealm(); 35 | realm.executeTransactionAsync(new Realm.Transaction() { 36 | @Override 37 | public void execute(Realm realm) { 38 | EZOpenCameraInfo ezOpenCameraInfo = realm.where(EZOpenCameraInfo.class).equalTo("deviceSerial_cameraNo",deviceSerial+"_"+cameraNo).findFirst(); 39 | ezOpenCameraInfo.setVideoLevel(level); 40 | } 41 | }); 42 | } 43 | 44 | /** 45 | * 设置设备监控点名称,即通道号名称 46 | * @param deviceSerial 设备序列号 47 | * @param cameraNo 设备通道号 48 | * @param name 通道号名称 49 | */ 50 | public static void setCameraName(final String deviceSerial, final int cameraNo, final String name){ 51 | Realm realm = DataManager.getInstance().getRealm(); 52 | realm.executeTransactionAsync(new Realm.Transaction() { 53 | @Override 54 | public void execute(Realm realm) { 55 | EZOpenCameraInfo ezOpenCameraInfo = realm.where(EZOpenCameraInfo.class).equalTo("deviceSerial_cameraNo",deviceSerial+"_"+cameraNo).findFirst(); 56 | ezOpenCameraInfo.setCameraName(name); 57 | } 58 | }); 59 | } 60 | } 61 | 62 | 63 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/utils/EZLog.java: -------------------------------------------------------------------------------- 1 | package com.ezviz.open.utils; 2 | 3 | import android.util.Log; 4 | 5 | 6 | /** 7 | * Description: log类 8 | * Created by dingwei3 9 | * 10 | * @date : 2016/12/9 11 | */ 12 | public class EZLog { 13 | 14 | public static boolean DEBUG = false; 15 | 16 | public static void debugLog(String tag, String content) { 17 | if (DEBUG) { 18 | Log.i(tag, content); 19 | } 20 | } 21 | 22 | public static void errorLog(String tag, String content) { 23 | if (DEBUG) { 24 | Log.e(tag, content); 25 | } 26 | } 27 | 28 | public static void infoLog(String tag, String content) { 29 | if (DEBUG) { 30 | Log.i(tag, content); 31 | } 32 | } 33 | 34 | public static void verboseLog(String tag, String content) { 35 | if (DEBUG) { 36 | Log.v(tag, content); 37 | } 38 | } 39 | 40 | public static void warnLog(String tag, String content) { 41 | if (DEBUG) { 42 | Log.w(tag, content); 43 | } 44 | } 45 | 46 | public static void debugLog(String tag, String content, Exception e) { 47 | if (DEBUG) { 48 | Log.d(tag, content, e); 49 | } 50 | } 51 | 52 | public static void errorLog(String tag, String content, Exception e) { 53 | if (DEBUG) { 54 | Log.e(tag, content, e); 55 | } 56 | } 57 | 58 | public static void warnLog(String tag, String content, Exception e) { 59 | if (DEBUG) { 60 | Log.w(tag, content, e); 61 | } 62 | } 63 | 64 | public static void warnLog(String tag, Exception ex) { 65 | if (DEBUG) { 66 | Log.w(tag, ex); 67 | } 68 | } 69 | 70 | public static void d(String tag, String content) { 71 | if (DEBUG) { 72 | Log.i(tag, content); 73 | } 74 | } 75 | 76 | public static void e(String tag, String content) { 77 | if (DEBUG) { 78 | Log.e(tag, content); 79 | } 80 | } 81 | 82 | public static void i(String tag, String content) { 83 | if (DEBUG) { 84 | Log.i(tag, content); 85 | } 86 | } 87 | 88 | public static void v(String tag, String content) { 89 | if (DEBUG) { 90 | Log.v(tag, content); 91 | } 92 | } 93 | 94 | public static void w(String tag, String content) { 95 | if (DEBUG) { 96 | Log.w(tag, content); 97 | } 98 | } 99 | 100 | public static void d(String tag, String content, Exception e) { 101 | if (DEBUG) { 102 | Log.d(tag, content, e); 103 | } 104 | } 105 | 106 | public static void e(String tag, String content, Exception e) { 107 | if (DEBUG) { 108 | Log.e(tag, content, e); 109 | } 110 | } 111 | 112 | public static void w(String tag, String content, Exception e) { 113 | if (DEBUG) { 114 | Log.w(tag, content, e); 115 | } 116 | } 117 | 118 | public static void w(String tag, Exception ex) { 119 | if (DEBUG) { 120 | Log.w(tag, ex); 121 | } 122 | } 123 | } 124 | 125 | 126 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/utils/JsonUtils.java: -------------------------------------------------------------------------------- 1 | package com.ezviz.open.utils; 2 | 3 | /** 4 | * Created by tanyongfeng on 2016/11/4. 5 | */ 6 | 7 | import com.google.gson.Gson; 8 | import com.google.gson.GsonBuilder; 9 | 10 | /** 11 | * Json转换工具 12 | */ 13 | public class JsonUtils { 14 | 15 | private static Gson gson; 16 | 17 | private static Gson getGson() { 18 | synchronized (com.ezviz.stream.JsonUtils.class) { 19 | if (gson == null) { 20 | GsonBuilder gsonBuilder = new GsonBuilder(); 21 | gsonBuilder.serializeSpecialFloatingPointValues(); 22 | gson = gsonBuilder.create(); 23 | } 24 | } 25 | return gson; 26 | } 27 | 28 | /** 29 | * 对象转Json字符串 30 | * @return Json字符串 31 | */ 32 | public static String toJson(Object object) { 33 | return getGson().toJson(object); 34 | } 35 | 36 | /** 37 | * Json转为对象 38 | * @param json JSON 39 | * @param clazz 类型 40 | * @return 对象 41 | */ 42 | public static T fromJson(String json, Class clazz) { 43 | return getGson().fromJson(json, clazz); 44 | } 45 | } 46 | 47 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/utils/ResponseUtils.java: -------------------------------------------------------------------------------- 1 | package com.ezviz.open.utils; 2 | 3 | import android.content.Context; 4 | 5 | import com.videogo.exception.BaseException; 6 | import com.videogo.exception.ErrorCode; 7 | 8 | /** 9 | * Description: 10 | * Created by dingwei3 11 | * 12 | * @date : 2017/1/12 13 | */ 14 | public class ResponseUtils { 15 | public static void pareException(Context context,int code){ 16 | switch (code){ 17 | case 10002: 18 | //accessToken异常或过期 19 | break; 20 | } 21 | } 22 | 23 | public static void pareException(Context context,BaseException baseException){ 24 | switch (baseException.getErrorCode()){ 25 | case ErrorCode.ERROR_WEB_SESSION_ERROR: 26 | //accessToken异常或过期 27 | break; 28 | } 29 | } 30 | } 31 | 32 | 33 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/utils/SharedPreferencesUtils.java: -------------------------------------------------------------------------------- 1 | package com.ezviz.open.utils; 2 | 3 | import android.content.Context; 4 | import android.content.SharedPreferences; 5 | import android.text.TextUtils; 6 | import android.util.Log; 7 | 8 | import com.ezviz.opensdk.base.data.CameraManager; 9 | import com.ezviz.opensdk.base.data.DeviceManager; 10 | import com.ezviz.opensdk.http.bean.CameraInfoEx; 11 | import com.ezviz.opensdk.http.bean.DeviceInfoEx; 12 | 13 | /** 14 | * TODO description 15 | * 16 | * @author dingwei3 17 | * @date 2017/11/21 18 | */ 19 | 20 | public class SharedPreferencesUtils { 21 | 22 | private static final String TAG = "SharedPreferencesUtils"; 23 | 24 | /** 变量/常量说明 */ 25 | public static final String VIDEOGO_PREFERENCE_NAME = "videoGo"; 26 | private static final String DEVICE_SERIAL_CACHE = "deviceSerial cache"; 27 | 28 | private static SharedPreferences getSharedPreferences(Context context) { 29 | SharedPreferences sharedPreference = null; 30 | sharedPreference = context.getSharedPreferences(VIDEOGO_PREFERENCE_NAME, Context.MODE_PRIVATE); 31 | return sharedPreference; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/utils/ToastUtls.java: -------------------------------------------------------------------------------- 1 | package com.ezviz.open.utils; 2 | 3 | import android.content.Context; 4 | import android.text.TextUtils; 5 | import android.widget.Toast; 6 | 7 | /** 8 | * Description: 9 | * Created by dingwei3 10 | * 11 | * @date : 2017/1/9 12 | */ 13 | public class ToastUtls { 14 | 15 | private static Toast mToast; 16 | 17 | public static void showToast(Context context,String res){ 18 | if (TextUtils.isEmpty(res)){ 19 | return; 20 | } 21 | if (mToast != null){ 22 | mToast.cancel(); 23 | } 24 | mToast = Toast.makeText(context,res,Toast.LENGTH_LONG); 25 | mToast.show(); 26 | } 27 | public static void showToast(Context context,int resId){ 28 | showToast(context,context.getString(resId)); 29 | } 30 | 31 | public static void showToast(Context context,int resId,int errorCode){ 32 | showToast(context,context.getString(resId)+":"+String.valueOf(errorCode)); 33 | } 34 | 35 | } 36 | 37 | 38 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/view/AppView.java: -------------------------------------------------------------------------------- 1 | package com.ezviz.open.view; 2 | 3 | /** 4 | * Description: 5 | * Created by dingwei3 6 | * 7 | * @date : 2016/12/27 8 | */ 9 | public interface AppView { 10 | /** 11 | * 登录成功 12 | */ 13 | public void handleLogoutSuccess(); 14 | } 15 | 16 | 17 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/view/BaseView.java: -------------------------------------------------------------------------------- 1 | package com.ezviz.open.view; 2 | 3 | /** 4 | * Description: 5 | * Created by dingwei3 6 | * 7 | * @date : 2016/12/15 8 | */ 9 | public interface BaseView { 10 | 11 | public void showLoadDialog(); 12 | 13 | public void showLoadDialog(int stringResId); 14 | 15 | public void showLoadDialog(String string); 16 | 17 | public void dismissLoadDialog(); 18 | 19 | public void showToast(String res); 20 | 21 | public void showToast(int resId); 22 | 23 | public void showToast(int resId,int errorCode); 24 | 25 | } 26 | 27 | 28 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/view/DeviceSettingView.java: -------------------------------------------------------------------------------- 1 | package com.ezviz.open.view; 2 | 3 | /** 4 | * Description: 5 | * Created by dingwei3 6 | * 7 | * @date : 2016/12/26 8 | */ 9 | public interface DeviceSettingView extends BaseView{ 10 | /** 11 | * 查询设备信息成功 12 | */ 13 | public void handleEZOpenDeviceInfo(); 14 | 15 | /** 16 | * 设置项有更新刷新列表 17 | */ 18 | public void refeshList(); 19 | 20 | /** 21 | * 播放信息准备成功回调 22 | */ 23 | public void handlePrepareInfo(); 24 | 25 | /** 26 | * 设置清晰度成功 27 | */ 28 | public void handleSetQualitSuccess(); 29 | 30 | /** 31 | * 设置清晰度失败 32 | */ 33 | public void handleSetQualityFail(); 34 | 35 | /** 36 | * 抓拍成功 37 | * @param path 抓图图片存放路径 38 | */ 39 | public void handleCaptureSuccess(String path); 40 | 41 | /** 42 | * 删除设备成功 43 | */ 44 | public void handleDeleteDeviceSuccess(); 45 | } 46 | 47 | 48 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/view/DeviceView.java: -------------------------------------------------------------------------------- 1 | package com.ezviz.open.view; 2 | 3 | /** 4 | * Description: 5 | * Created by dingwei3 6 | * 7 | * @date : 2016/12/9 8 | */ 9 | public interface DeviceView extends BaseView{ 10 | 11 | public void loadFinish(); 12 | 13 | public void refreshFinish(); 14 | } 15 | 16 | 17 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/view/MessageView.java: -------------------------------------------------------------------------------- 1 | package com.ezviz.open.view; 2 | 3 | import com.videogo.openapi.bean.EZAlarmInfo; 4 | 5 | import java.util.List; 6 | 7 | /** 8 | * Description: 9 | * Created by dingwei3 10 | * 11 | * @date : 2016/12/15 12 | */ 13 | public interface MessageView { 14 | /** 15 | * 加载更多 16 | * @param list 17 | * @param isEnd 是否没有更多需要加载 18 | */ 19 | public void loadFinish(List list,boolean isEnd); 20 | 21 | /** 22 | * 刷新数据 23 | * @param list 24 | * @param isEnd 是否没有更多需要加载 25 | */ 26 | public void refreshFinish(List list,boolean isEnd); 27 | 28 | /** 29 | * 错误返回 30 | */ 31 | public void onError(); 32 | 33 | 34 | } 35 | 36 | 37 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/view/ModifyNameView.java: -------------------------------------------------------------------------------- 1 | package com.ezviz.open.view; 2 | 3 | /** 4 | * Description: 5 | * Created by dingwei3 6 | * 7 | * @date : 2016/12/26 8 | */ 9 | public interface ModifyNameView extends BaseView{ 10 | 11 | public void handleModifySuccess(); 12 | } 13 | 14 | 15 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/view/PlayBackView.java: -------------------------------------------------------------------------------- 1 | package com.ezviz.open.view; 2 | 3 | import com.videogo.openapi.bean.EZCloudRecordFile; 4 | import com.videogo.openapi.bean.EZDeviceRecordFile; 5 | 6 | /** 7 | * Description: 8 | * Created by dingwei3 9 | * 10 | * @date : 2016/12/26 11 | */ 12 | public interface PlayBackView extends BaseView{ 13 | /** 14 | * 播放信息准备成功回调 15 | */ 16 | public void handlePrepareInfo(); 17 | 18 | /** 19 | * 回放文件sdcard查询成功 20 | */ 21 | public void handleSearchFileFormDeviceSuccess(EZDeviceRecordFile list); 22 | /** 23 | * 回放文件云存储查询成功 24 | */ 25 | public void handleSearchFileFromCloudSuccess(EZCloudRecordFile list); 26 | 27 | /** 28 | * 回放文件查询失败 29 | */ 30 | public void handleSearchFileFail(); 31 | } 32 | 33 | 34 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/view/PlayView.java: -------------------------------------------------------------------------------- 1 | package com.ezviz.open.view; 2 | 3 | /** 4 | * Description: 5 | * Created by dingwei3 6 | * 7 | * @date : 2016/12/26 8 | */ 9 | public interface PlayView extends BaseView{ 10 | /** 11 | * 查询设备信息成功 12 | */ 13 | public void handleEZOpenDeviceInfo(); 14 | 15 | /** 16 | * 查询通道信息成功 17 | */ 18 | public void handleEZOpenCameraInfo(); 19 | 20 | /** 21 | * 播放信息准备成功回调 22 | */ 23 | public void handlePrepareInfo(); 24 | 25 | /** 26 | * 设置清晰度成功 27 | */ 28 | public void handleSetQualitSuccess(); 29 | 30 | 31 | } 32 | 33 | 34 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/view/SearchAddDeviceView.java: -------------------------------------------------------------------------------- 1 | package com.ezviz.open.view; 2 | 3 | import com.videogo.openapi.bean.EZProbeDeviceInfo; 4 | 5 | /** 6 | * Description: 7 | * Created by dingwei3 8 | * 9 | * @date : 2017/1/20 10 | */ 11 | public interface SearchAddDeviceView extends BaseView { 12 | public void showErrorPage(int strId,int errorCode); 13 | 14 | public void showQueryingCamera(); 15 | 16 | public void handleQueryCameraFail(int errorCode); 17 | 18 | public void handleQueryCameraSuccess(EZProbeDeviceInfo eZProbeDeviceInfo); 19 | } 20 | 21 | 22 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/view/adapter/BaseRecyclerViewAdapter.java: -------------------------------------------------------------------------------- 1 | package com.ezviz.open.view.adapter; 2 | 3 | import android.content.Context; 4 | import android.support.v7.widget.RecyclerView; 5 | 6 | import java.util.ArrayList; 7 | import java.util.List; 8 | 9 | /** 10 | * Description: 11 | * Created by dingwei3 12 | * 13 | * @date : 2016/12/15 14 | */ 15 | public abstract class BaseRecyclerViewAdapter extends RecyclerView.Adapter { 16 | 17 | public List mList; 18 | 19 | public Context mContext; 20 | 21 | public BaseRecyclerViewAdapter(Context context){ 22 | mContext = context; 23 | } 24 | 25 | public void setList(List list) { 26 | if (list == null) { 27 | list = new ArrayList(); 28 | } 29 | this.mList = list; 30 | notifyDataSetChanged(); 31 | } 32 | 33 | public void appendData(List list) { 34 | if (list == null) { 35 | return; 36 | } 37 | mList.addAll(list); 38 | notifyDataSetChanged(); 39 | } 40 | 41 | public void add(T object) { 42 | if (object == null || mList == null) { 43 | return; 44 | } else { 45 | mList.add(object); 46 | notifyDataSetChanged(); 47 | } 48 | } 49 | 50 | public T getItem(int position){ 51 | if (mList == null){ 52 | return null; 53 | } 54 | if (position > mList.size()){ 55 | return null; 56 | } 57 | return mList.get(position); 58 | } 59 | 60 | public void add(int position, T object) { 61 | if (object == null || mList == null || position < 0 || position >= mList.size()) { 62 | return; 63 | } else { 64 | synchronized (mList) { 65 | mList.add(position, object); 66 | } 67 | } 68 | } 69 | 70 | public void clear() { 71 | if (mList != null) { 72 | mList.clear(); 73 | notifyDataSetChanged(); 74 | } 75 | } 76 | 77 | 78 | @Override 79 | public int getItemCount() { 80 | if (mList != null) { 81 | return mList.size(); 82 | } 83 | return 0; 84 | } 85 | 86 | public int getRealItemCount(){ 87 | if (mList == null) { 88 | return 0; 89 | } 90 | return mList.size(); 91 | } 92 | } 93 | 94 | 95 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/view/avctivity/DeviceStartAddActivity.java: -------------------------------------------------------------------------------- 1 | package com.ezviz.open.view.avctivity; 2 | 3 | import android.content.Intent; 4 | import android.os.Bundle; 5 | import android.view.View; 6 | import android.widget.ImageView; 7 | import android.widget.LinearLayout; 8 | import android.widget.TextView; 9 | 10 | import com.ezviz.open.view.fragment.CaptureFragment; 11 | import com.ezviz.open.view.widget.Topbar; 12 | 13 | import com.ezviz.open.R; 14 | /** 15 | * Description:添加设备 16 | * Created by dingwei3 17 | * 18 | * @date : 2016/12/21 19 | */ 20 | public class DeviceStartAddActivity extends RootActivity implements View.OnClickListener { 21 | 22 | /** 23 | * 扫描二维码添加 24 | */ 25 | private static final int TYPE_CODE = 1; 26 | /** 27 | * 手动输入序列号添加 28 | */ 29 | private static final int TYPE_SERIAL = 2; 30 | private int mType = 0; 31 | private Topbar mTopbar; 32 | private ImageView mCodeImg; 33 | private ImageView mSerialImg; 34 | private TextView mCodeTextView; 35 | private TextView mSerialTextView; 36 | private TextView mCodeTipTextView; 37 | private LinearLayout mBottomBar; 38 | @Override 39 | protected void onCreate(Bundle savedInstanceState) { 40 | super.onCreate(savedInstanceState); 41 | setContentView(R.layout.activity_capture); 42 | initView(); 43 | } 44 | 45 | private void initView() { 46 | mTopbar = (Topbar) findViewById(R.id.capture_topbar); 47 | mTopbar.setTitle(R.string.string_add_device); 48 | mCodeImg = (ImageView) findViewById(R.id.img_code); 49 | mSerialImg = (ImageView) findViewById(R.id.img_serial); 50 | mCodeTextView = (TextView) findViewById(R.id.text_code); 51 | mSerialTextView = (TextView) findViewById(R.id.text_serial); 52 | mCodeTipTextView = (TextView) findViewById(R.id.code_tip_textview); 53 | mBottomBar = (LinearLayout) findViewById(R.id.bottom_bar_layout); 54 | mTopbar.setOnTopbarClickListener(new Topbar.OnTopbarClickListener() { 55 | @Override 56 | public void onLeftButtonClicked() { 57 | finish(); 58 | } 59 | 60 | @Override 61 | public void onRightButtonClicked() { 62 | 63 | } 64 | }); 65 | mSerialImg.setOnClickListener(this); 66 | getSupportFragmentManager().beginTransaction().replace(R.id.fragment_layout, new CaptureFragment()).commitAllowingStateLoss(); 67 | mSerialImg.setImageResource(R.drawable.number_normal); 68 | mCodeImg.setImageResource(R.drawable.code_selected); 69 | mCodeTextView.setSelected(true); 70 | mSerialTextView.setSelected(false); 71 | mCodeTipTextView.setVisibility(View.VISIBLE); 72 | mBottomBar.setBackgroundColor(android.graphics.Color.parseColor("#00ffffff")); 73 | } 74 | 75 | @Override 76 | public void onClick(View view) { 77 | if (view == mSerialImg) { 78 | Bundle bundle = new Bundle(); 79 | Intent intent = new Intent(this, SearchDeviceActivity.class); 80 | intent.putExtras(bundle); 81 | startActivity(intent); 82 | } 83 | } 84 | } 85 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/view/avctivity/DeviceUpgradeActivity.java: -------------------------------------------------------------------------------- 1 | package com.ezviz.open.view.avctivity; 2 | 3 | import android.content.Context; 4 | import android.content.Intent; 5 | import android.os.Bundle; 6 | import com.ezviz.open.R; 7 | 8 | import com.ezviz.open.common.EZOpenConstant; 9 | import com.ezviz.open.presenter.DeviceUpgradePresenter; 10 | 11 | public class DeviceUpgradeActivity extends RootActivity { 12 | private DeviceUpgradePresenter mDeviceSettingPresenter; 13 | 14 | public static void startDeviceUpgradeActivity(Context context,String deviceVersionDes){ 15 | Intent intent = new Intent(context,DeviceUpgradeActivity.class); 16 | intent.putExtra(EZOpenConstant.EXTRA_DEVICE_VERSION_DES,deviceVersionDes); 17 | context.startActivity(intent); 18 | } 19 | @Override 20 | protected void onCreate(Bundle savedInstanceState) { 21 | super.onCreate(savedInstanceState); 22 | setContentView(R.layout.activity_device_upgrade); 23 | mDeviceSettingPresenter = new DeviceUpgradePresenter(); 24 | initDate(); 25 | initView(); 26 | } 27 | 28 | private void initView() { 29 | 30 | } 31 | 32 | private void initDate() { 33 | 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/view/fragment/AddDeviceBySerialFragment.java: -------------------------------------------------------------------------------- 1 | package com.ezviz.open.view.fragment; 2 | 3 | import android.content.Context; 4 | import android.content.Intent; 5 | import android.os.Bundle; 6 | import android.support.annotation.Nullable; 7 | import android.text.TextUtils; 8 | import android.view.LayoutInflater; 9 | import android.view.View; 10 | import android.view.ViewGroup; 11 | import android.view.inputmethod.InputMethodManager; 12 | import android.widget.Button; 13 | import android.widget.EditText; 14 | import com.ezviz.open.R; 15 | 16 | 17 | /** 18 | * 通过手动输入序列号添加设备Fragment 19 | */ 20 | public class AddDeviceBySerialFragment extends BaseFragment { 21 | 22 | private static final String TAG = "AddDeviceBySerialFragment"; 23 | private EditText mEditText; 24 | private Button mButton; 25 | @Override 26 | public void onCreate(@Nullable Bundle savedInstanceState) { 27 | super.onCreate(savedInstanceState); 28 | } 29 | 30 | @Nullable 31 | @Override 32 | public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) { 33 | View view = inflater.inflate(R.layout.fragment_add_device_by_serial, null); 34 | mEditText = (EditText) view.findViewById(R.id.seriesNumberEt); 35 | mButton = (Button) view.findViewById(R.id.btn_next); 36 | mButton.setOnClickListener(new View.OnClickListener() { 37 | @Override 38 | public void onClick(View view) { 39 | final String serialNo = mEditText.getText().toString().trim(); 40 | if (!TextUtils.isEmpty(serialNo)) { 41 | searchCameraBySN(serialNo); 42 | } 43 | } 44 | }); 45 | mEditText.requestFocus(); 46 | InputMethodManager imm = (InputMethodManager) mContext.getSystemService(Context.INPUT_METHOD_SERVICE); 47 | imm.showSoftInput(mEditText, InputMethodManager.SHOW_FORCED); 48 | return view; 49 | } 50 | 51 | /** 52 | * 判断序列号是否规范,跳转添加界面进行处理 53 | * @param serialNo 54 | */ 55 | private void searchCameraBySN(String serialNo){ 56 | if (TextUtils.isEmpty(serialNo)){ 57 | showToast(R.string.serial_number_is_null); 58 | return; 59 | } 60 | if (serialNo.length() != 9){ 61 | showToast(R.string.serial_number_put_the_right_no); 62 | return; 63 | } 64 | // Intent intent = new Intent(mContext, .class); 65 | // intent.putExtra(EZOpenConstant.EXTRA_DEVICE_SERIAL,serialNo); 66 | // mContext.startActivity(intent); 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/view/fragment/DeviceListFragment.java: -------------------------------------------------------------------------------- 1 | package com.ezviz.open.view.fragment; 2 | 3 | import android.os.Bundle; 4 | import android.util.Log; 5 | import android.view.LayoutInflater; 6 | import android.view.View; 7 | import android.view.ViewGroup; 8 | 9 | 10 | import com.ezviz.open.presenter.DevicePresenter; 11 | import com.ezviz.open.view.DeviceView; 12 | import com.ezviz.open.view.adapter.DeviceAdapter; 13 | import com.ezviz.open.view.avctivity.DeviceSettingActivity; 14 | import com.ezviz.open.view.widget.PullRefreshRealmRecyclerView; 15 | import com.ezviz.open.R; 16 | /** 17 | * Description:设备列表 18 | * Created by dingwei3 19 | * 20 | * @date : 2016/12/12 21 | */ 22 | public class DeviceListFragment extends BaseLazyFragment implements DeviceView, PullRefreshRealmRecyclerView.OnAutoRefreshingListner, DeviceAdapter.OnDeviceItemClickListener { 23 | 24 | private final static String TAG = "DeviceListFragment"; 25 | private DeviceAdapter mDeviceAdapter; 26 | private DevicePresenter mDevicePresenter; 27 | private PullRefreshRealmRecyclerView mPullRefreshRecyclerView; 28 | public DeviceListFragment(){ 29 | mDevicePresenter = new DevicePresenter(this); 30 | Log.d(TAG,mDevicePresenter.getRealm().toString()); 31 | } 32 | @Override 33 | protected View initView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { 34 | View view = inflater.inflate(R.layout.fragment_devicelist_layout,null); 35 | mPullRefreshRecyclerView = (PullRefreshRealmRecyclerView) view.findViewById(R.id.message_list_layout); 36 | mDeviceAdapter = new DeviceAdapter(mContext,mDevicePresenter.getEZOpenDeviceInfoList()); 37 | mDeviceAdapter.setOnDeviceItemClickListener(this); 38 | mPullRefreshRecyclerView.setAdapter(mDeviceAdapter); 39 | mPullRefreshRecyclerView.setOnAutoRefreshingListner(this); 40 | return view; 41 | } 42 | 43 | @Override 44 | protected void lazyLoad() { 45 | 46 | } 47 | 48 | 49 | @Override 50 | public void loadFinish() { 51 | mPullRefreshRecyclerView.onRefreshComplete(); 52 | } 53 | 54 | @Override 55 | public void refreshFinish() { 56 | mPullRefreshRecyclerView.onRefreshComplete(); 57 | } 58 | 59 | @Override 60 | public void onAutoRefreshing() { 61 | mDevicePresenter.loadDeviceList(); 62 | } 63 | 64 | @Override 65 | public void onDestroy() { 66 | super.onDestroy(); 67 | mDevicePresenter.release(); 68 | } 69 | 70 | @Override 71 | public void onItemClick(String deviceSerial, int position) { 72 | // TODO: 2017/1/10 进入设备设置 73 | DeviceSettingActivity.startDeviceSetting(mContext,deviceSerial); 74 | } 75 | 76 | } 77 | 78 | 79 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/view/widget/BoldSpan.java: -------------------------------------------------------------------------------- 1 | package com.ezviz.open.view.widget; 2 | 3 | import android.text.TextPaint; 4 | import android.text.style.StyleSpan; 5 | 6 | public class BoldSpan extends StyleSpan { 7 | 8 | public BoldSpan(int style) { 9 | super(style); 10 | // TODO Auto-generated constructor stub 11 | } 12 | 13 | @Override 14 | public void updateDrawState(TextPaint ds) { 15 | ds.setFakeBoldText(true); 16 | super.updateDrawState(ds); 17 | } 18 | 19 | @Override 20 | public void updateMeasureState(TextPaint paint) { 21 | paint.setFakeBoldText(true); 22 | super.updateMeasureState(paint); 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/view/widget/ExRelativeLayout.java: -------------------------------------------------------------------------------- 1 | package com.ezviz.open.view.widget; 2 | 3 | import android.content.Context; 4 | import android.util.AttributeSet; 5 | import android.widget.RelativeLayout; 6 | 7 | public class ExRelativeLayout extends RelativeLayout { 8 | 9 | private int mHeight; 10 | private int mLastMargin = 0; 11 | 12 | public ExRelativeLayout(Context context) { 13 | this(context, null); 14 | } 15 | 16 | public ExRelativeLayout(Context context, AttributeSet attrs) { 17 | super(context, attrs); 18 | } 19 | 20 | 21 | @Override 22 | protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 23 | int newHeight = MeasureSpec.getSize(heightMeasureSpec); 24 | // mHeight = newHeight; 25 | super.onMeasure(widthMeasureSpec, heightMeasureSpec); 26 | } 27 | 28 | public void setBottomMargin(float x){ 29 | if(mHeight == 0) { 30 | mHeight = getHeight(); 31 | } 32 | RelativeLayout.LayoutParams params = (RelativeLayout.LayoutParams) getLayoutParams(); 33 | params.bottomMargin = -(int)(x * mHeight); 34 | mLastMargin = params.bottomMargin; 35 | setLayoutParams(params); 36 | } 37 | 38 | public void setTopMargin(float x){ 39 | if(mHeight == 0) { 40 | mHeight = getHeight(); 41 | } 42 | RelativeLayout.LayoutParams params = (RelativeLayout.LayoutParams) getLayoutParams(); 43 | params.topMargin = -(int)(x * mHeight); 44 | mLastMargin = params.topMargin; 45 | setLayoutParams(params); 46 | } 47 | 48 | public int geTopMargin(){ 49 | return mLastMargin; 50 | } 51 | 52 | public int getBottomMargin(){return mLastMargin;}; 53 | } -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/view/widget/ImageViewFitW.java: -------------------------------------------------------------------------------- 1 | package com.ezviz.open.view.widget; 2 | 3 | import android.content.Context; 4 | import android.graphics.drawable.Drawable; 5 | import android.util.AttributeSet; 6 | 7 | /** 8 | * 根据快读自适应高度的imagview 9 | */ 10 | public class ImageViewFitW extends android.support.v7.widget.AppCompatImageView{ 11 | 12 | public ImageViewFitW(Context context, AttributeSet attrs) { 13 | super(context, attrs); 14 | // TODO Auto-generated constructor stub 15 | } 16 | 17 | public ImageViewFitW(Context context) { 18 | super(context); 19 | // TODO Auto-generated constructor stub 20 | } 21 | 22 | @Override 23 | protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 24 | Drawable d = getDrawable(); 25 | if (d != null) { 26 | int width = MeasureSpec.getSize(widthMeasureSpec); 27 | int height = (int) Math.ceil((float) width 28 | * (float) d.getIntrinsicHeight() 29 | / (float) d.getIntrinsicWidth()); 30 | setMeasuredDimension(width, height); 31 | } else { 32 | super.onMeasure(widthMeasureSpec, heightMeasureSpec); 33 | } 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/view/widget/ImageViewFixedRatio.java: -------------------------------------------------------------------------------- 1 | package com.ezviz.open.view.widget; 2 | 3 | import android.content.Context; 4 | import android.content.res.TypedArray; 5 | import android.graphics.Canvas; 6 | import android.graphics.Paint; 7 | import android.graphics.RectF; 8 | import android.util.AttributeSet; 9 | import com.ezviz.open.R; 10 | 11 | 12 | public class ImageViewFixedRatio extends android.support.v7.widget.AppCompatImageView { 13 | 14 | private float mRatio = 1.0f; 15 | private Paint mPaint = new Paint(); 16 | protected RectF mRect = new RectF(); 17 | 18 | public ImageViewFixedRatio(Context context) { 19 | super(context); 20 | // TODO Auto-generated constructor stub 21 | } 22 | 23 | public ImageViewFixedRatio(Context context,float ratio ) { 24 | super(context); 25 | this.mRatio = ratio; 26 | } 27 | 28 | public ImageViewFixedRatio(Context context, AttributeSet attrs) { 29 | super(context, attrs, 0); 30 | TypedArray typedArray = context.obtainStyledAttributes(attrs, R.styleable.ImageViewFixedRatio); 31 | mRatio = typedArray.getFloat(R.styleable.ImageViewFixedRatio_ratio, 1.0f); 32 | typedArray.recycle(); 33 | } 34 | 35 | @Override 36 | protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 37 | 38 | int width = MeasureSpec.getSize(widthMeasureSpec); 39 | int height = (int) (width * mRatio); 40 | setMeasuredDimension(width, height); 41 | mRect.set(0, 0, width, height); 42 | 43 | } 44 | 45 | @Override 46 | protected void onDraw(Canvas canvas) { 47 | // TODO Auto-generated method stub; 48 | super.onDraw(canvas); 49 | //Paint paint=new Paint(); 50 | mPaint.setColor(0x14000000); 51 | mPaint.setStyle(Paint.Style.STROKE); 52 | // mPaint.setStrokeWidth(2); 53 | canvas.drawRect(mRect, mPaint); 54 | } 55 | 56 | public float getRatio() { 57 | return mRatio; 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/view/widget/RecycleViewItemDivider.java: -------------------------------------------------------------------------------- 1 | package com.ezviz.open.view.widget; 2 | 3 | import android.content.Context; 4 | import android.graphics.Canvas; 5 | import android.graphics.Rect; 6 | import android.graphics.drawable.Drawable; 7 | import android.support.v7.widget.RecyclerView; 8 | import android.view.View; 9 | 10 | /** 11 | * Description: 12 | * Created by dingwei3 13 | * 14 | * @date : 2017/1/3 15 | */ 16 | public class RecycleViewItemDivider extends RecyclerView.ItemDecoration { 17 | private Drawable mDrawable; 18 | public RecycleViewItemDivider(Context context, int resId) { 19 | //在这里我们传入作为Divider的Drawable对象 20 | mDrawable = context.getResources().getDrawable(resId); 21 | } 22 | 23 | @Override 24 | public void onDraw(Canvas c, RecyclerView parent, RecyclerView.State state) { 25 | super.onDraw(c, parent, state); 26 | } 27 | 28 | @Override 29 | public void getItemOffsets(Rect outRect, View view, RecyclerView parent, RecyclerView.State state) { 30 | outRect.set(0, 0, 0, mDrawable.getIntrinsicWidth()); 31 | } 32 | 33 | @Override 34 | public void onDrawOver(Canvas c, RecyclerView parent, RecyclerView.State state) { 35 | final int left = parent.getPaddingLeft(); 36 | final int right = parent.getWidth() - parent.getPaddingRight(); 37 | 38 | final int childCount = parent.getChildCount(); 39 | for (int i = 0; i < childCount; i++) { 40 | final View child = parent.getChildAt(i); 41 | final RecyclerView.LayoutParams params = (RecyclerView.LayoutParams) child 42 | .getLayoutParams(); 43 | //以下计算主要用来确定绘制的位置 44 | final int top = child.getBottom() + params.bottomMargin; 45 | final int bottom = top + mDrawable.getIntrinsicHeight(); 46 | mDrawable.setBounds(left, top, right, bottom); 47 | mDrawable.draw(c); 48 | } 49 | } 50 | } 51 | 52 | 53 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/view/widget/RingView.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @ProjectName VideoGo 3 | * @Copyright HangZhou Hikvision System Technology Co.,Ltd. All Right Reserved 4 | * 5 | * @FileName RingView.java 6 | * @Description 这里对文件进行描述 7 | * 8 | * @author chenxingyf1 9 | * @data 2014-6-19 10 | * 11 | * @note 这里写本文件的详细功能描述和注释 12 | * @note 历史记录 13 | * 14 | * @warning 这里写本文件的相关警告 15 | */ 16 | package com.ezviz.open.view.widget; 17 | 18 | import android.content.Context; 19 | import android.graphics.Canvas; 20 | import android.graphics.Paint; 21 | import android.util.AttributeSet; 22 | import android.view.View; 23 | 24 | import com.ezviz.open.utils.EZOpenUtils; 25 | 26 | //import com.videogo.util.LogUtil; 27 | 28 | public class RingView extends View implements Runnable { 29 | 30 | private final Paint mPaint; 31 | private final Context mContext; 32 | private float mMinRadius; 33 | private float mDistance; 34 | private float mCurrentRadius; 35 | 36 | public RingView(Context context) { 37 | this(context, null); 38 | } 39 | 40 | public RingView(Context context, AttributeSet attrs) { 41 | super(context, attrs); 42 | mContext = context; 43 | mPaint = new Paint(); 44 | mPaint.setAntiAlias(true); //消除锯齿 45 | mPaint.setStyle(Paint.Style.STROKE); //绘制空心圆 46 | mPaint.setStrokeWidth(EZOpenUtils.dip2px(mContext, 1)); 47 | } 48 | 49 | @Override 50 | protected void onDraw(Canvas canvas) { 51 | //绘制圆环 52 | if(mCurrentRadius > 0) { 53 | canvas.drawCircle(this.getLeft() + this.getWidth()/2, this.getTop() + this.getHeight()/2, 54 | mCurrentRadius, mPaint); 55 | } 56 | 57 | super.onDraw(canvas); 58 | } 59 | 60 | public void setMinRadiusAndDistance(float minRadius, int distance) { 61 | mMinRadius = minRadius; 62 | mCurrentRadius = mMinRadius + mDistance; 63 | mDistance = distance; 64 | //LogUtil.infoLog("RingView", "minRadius:" + minRadius); 65 | new Thread(this).start(); 66 | } 67 | 68 | @Override 69 | public void run() { 70 | while(mMinRadius > 0 && !Thread.currentThread().isInterrupted()) { 71 | try { 72 | Thread.sleep(300); 73 | } 74 | catch(Exception e) { 75 | Thread.currentThread().interrupt(); 76 | } 77 | int maxRadius = getHeight()/2; 78 | if(mCurrentRadius + mDistance < maxRadius) { 79 | mCurrentRadius += mDistance; 80 | } else { 81 | mCurrentRadius = mMinRadius + mDistance; 82 | } 83 | int alpha = (int)(255*(maxRadius - mCurrentRadius + mDistance)/maxRadius); 84 | //LogUtil.infoLog("RingView", "mCurrentRadius:" + mCurrentRadius + ", alpha:" + alpha + ", maxRadius:" + maxRadius); 85 | mPaint.setARGB(alpha, 209 ,216, 219); 86 | postInvalidate(); 87 | } 88 | } 89 | } 90 | 91 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/java/com/ezviz/open/view/widget/VerifyCodeInputDialog.java: -------------------------------------------------------------------------------- 1 | package com.ezviz.open.view.widget; 2 | 3 | import android.app.DialogFragment; 4 | 5 | /** 6 | * Description:设备验证码输入框 7 | * Created by dingwei3 8 | * 9 | * @date : 2016/12/20 10 | */ 11 | public class VerifyCodeInputDialog extends DialogFragment{ 12 | 13 | } 14 | 15 | 16 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/anim/device_search_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 8 | 9 | 12 | 13 | 16 | 17 | 20 | 21 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/anim/fade_down.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/anim/fade_up.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/anim/slide_in_bottom.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/anim/slide_out_bottom.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/color/btn_defence_text_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/add2_button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/add2_button.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/add2_button_sel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/add2_button_sel.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/add3_button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/add3_button.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/add3_button_sel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/add3_button_sel.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/add_button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/add_button.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/add_button_sel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/add_button_sel.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/add_device_number_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/add_device_number_bg.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/alarm_encrypt_image_big.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/alarm_encrypt_image_big.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/alarm_encrypt_image_mid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/alarm_encrypt_image_mid.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/app_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/app_icon.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/app_icon_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/app_icon_small.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/bar_bg.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/bar_bg.9.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/bar_bg_01.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/bar_bg_01.9.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/bg_b1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/bg_b1.jpg -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/bg_b10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/bg_b10.jpg -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/bg_b2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/bg_b2.jpg -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/bg_b3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/bg_b3.jpg -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/bg_b4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/bg_b4.jpg -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/bg_b5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/bg_b5.jpg -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/bg_b6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/bg_b6.jpg -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/bg_b7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/bg_b7.jpg -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/bg_b8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/bg_b8.jpg -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/bg_b9.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/bg_b9.jpg -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/bg_m.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/bg_m.jpg -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_2_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_2_normal.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_2_select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_2_select.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_add_highlight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_add_highlight.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_add_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_add_normal.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_arrow.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_back_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_back_selected.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_before_highlight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_before_highlight.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_before_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_before_normal.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_bg.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_bg.9.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_delete.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_full.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_full.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_least.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_least.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_list_highlight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_list_highlight.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_list_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_list_normal.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_little_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_little_round.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_loudest.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_loudest.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_more_highlight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_more_highlight.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_more_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_more_normal.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_next_highlight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_next_highlight.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_next_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_next_normal.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_photo_highlight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_photo_highlight.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_photo_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_photo_normal.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_play_n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_play_n.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_preview_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_preview_selected.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_replay_highlight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_replay_highlight.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_replay_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_replay_normal.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_return.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_return.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_round.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_set_highlight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_set_highlight.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_set_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_set_normal.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_stop_n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_stop_n.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_video_highlight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_video_highlight.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_video_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_video_normal.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_voice_highlight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_voice_highlight.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_voice_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/btn_voice_normal.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/button_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/button_normal.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/ckb_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/ckb_normal.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/ckb_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/ckb_selected.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/close_02_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/close_02_normal.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/code_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/code_normal.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/code_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/code_selected.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/common_refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/common_refresh.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/common_title_back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/common_title_back.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/connect_wifi1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/connect_wifi1.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/connect_wifi2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/connect_wifi2.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/connect_wifi3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/connect_wifi3.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/connect_wifi4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/connect_wifi4.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/default_cover_big.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/default_cover_big.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/device_other.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/device_other.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/device_serial.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/device_serial.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/event_list_fail_pic.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/event_list_fail_pic.jpg -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/failure_account.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/failure_account.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/failure_server.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/failure_server.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/failure_wifi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/failure_wifi.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/frame_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/frame_normal.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/handle_02_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/handle_02_normal.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/handle_02_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/handle_02_pressed.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/handle_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/handle_normal.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/handle_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/handle_pressed.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/icn_back1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/icn_back1.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/icon_arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/icon_arrow.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/images_cache_bg2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/images_cache_bg2.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/input_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/input_normal.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/inputlayout_bg.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/inputlayout_bg.9.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/link_account1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/link_account1.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/link_account2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/link_account2.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/link_account3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/link_account3.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/link_account4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/link_account4.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/logo.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/me_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/me_normal.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/me_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/me_selected.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/message_fire.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/message_fire.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/message_infrared.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/message_infrared.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/message_move.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/message_move.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/message_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/message_normal.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/message_other.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/message_other.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/message_police.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/message_police.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/message_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/message_selected.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/message_video.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/message_video.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/message_water.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/message_water.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/number_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/number_normal.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/number_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/number_selected.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/play_talkback.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/play_talkback.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/play_talkback_sel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/play_talkback_sel.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/play_video_record.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/play_video_record.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/play_video_time_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/play_video_time_bg.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/prepare_device.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/prepare_device.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/query_loding1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/query_loding1.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/query_loding2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/query_loding2.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/query_loding3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/query_loding3.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/query_loding4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/query_loding4.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/query_loding5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/query_loding5.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/reset_deivce.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/reset_deivce.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/resource_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/resource_normal.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/resource_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/resource_selected.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/results_pic_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/results_pic_bg.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/results_pic_default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/results_pic_default.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/seekbar_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/seekbar_normal.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/seekbar_press.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/seekbar_press.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/server1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/server1.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/server2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/server2.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/server3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/server3.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/server4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/server4.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/spinner_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/spinner_0.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/spinner_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/spinner_1.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/spinner_10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/spinner_10.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/spinner_11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/spinner_11.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/spinner_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/spinner_2.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/spinner_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/spinner_3.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/spinner_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/spinner_4.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/spinner_5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/spinner_5.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/spinner_6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/spinner_6.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/spinner_7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/spinner_7.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/spinner_8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/spinner_8.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/spinner_9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/spinner_9.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/success.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/success_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/success_icon.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/success_img.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/success_img.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/switch_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/switch_off.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/switch_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/switch_on.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/tab_detection.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/tab_detection.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/tab_undetection.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/tab_undetection.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/video_camera1_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/video_camera1_3.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/wifi_config_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/wifi_config_bg.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/wifi_connect_tip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ezviz-OpenBiz/EZOpenAPP-Lite-Android/b4987e84cac1a1405c2c2c2b8f088a5a7e6c21a6/example/EZOpenAPP-Lite-Android/app/src/main/res/drawable-xhdpi/wifi_connect_tip.png -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable/auto_wifi_link_account_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 8 | 11 | 14 | 17 | 18 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable/bg_loaderprogress.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 11 | 12 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable/bottom_divider.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable/btn_defence_normal.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 14 | 15 | 16 | 17 | 22 | 23 | 24 | 25 | 27 | 28 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable/btn_defence_selected.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 14 | 15 | 16 | 17 | 22 | 23 | 24 | 25 | 27 | 28 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable/btn_defence_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable/btn_hd_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 16 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable/btn_picture_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable/btn_record_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable/btn_smooth_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable/btn_switch.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable/btn_talk_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable/btn_video_level_selected.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 14 | 15 | 16 | 17 | 22 | 23 | 24 | 25 | 28 | 29 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable/btn_video_level_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable/btn_white_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable/camera_item_bottom_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable/camera_item_top_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable/ckb_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable/code_text_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable/connect_wifi_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 8 | 11 | 14 | 17 | 18 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable/ez_btn_r1_retry_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable/ez_reaty_btn_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable/feedback_edittext_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 10 | 11 | 13 | 14 | 19 | 20 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable/footer_progress.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable/input_shade.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 10 | 11 | 16 | 17 | 22 | 23 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable/login_btn_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable/play_talkback_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable/recycle_item_divider.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable/register_server_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 8 | 11 | 14 | 17 | 18 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable/seekbar.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable/seekbar_thumb_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 8 | 9 | 11 | 12 | 14 | 15 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable/seekbar_thumb_small_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 8 | 9 | 11 | 12 | 14 | 15 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/drawable/voice_progress_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/layout/activity_add_device.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | 19 | 20 | 21 | 22 | 32 | 33 | 34 | 46 | 47 | -------------------------------------------------------------------------------- /example/EZOpenAPP-Lite-Android/app/src/main/res/layout/activity_auto_wifi_prepare_step_one.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 18 | 19 | 26 | 27 | 36 | 37 | 43 | 44 |