├── HuaweiAdsSdk_Demo
├── bin
│ └── .gitkeep
├── gen
│ └── .gitkeep
├── libs
│ └── .gitkeep
├── assets
│ └── .gitkeep
├── res
│ ├── drawable
│ │ ├── default_slogan.png
│ │ ├── btn_check_off_emui.png
│ │ ├── btn_check_on_emui.png
│ │ ├── btn_check_on_pressed_emui.png
│ │ ├── native_flag_rounded_corners_shape.xml
│ │ ├── native_button_rounded_corners_shape.xml
│ │ ├── detail_checkbox_selector.xml
│ │ ├── emui_button_select.xml
│ │ └── app_whythisad_info.xml
│ ├── drawable-hdpi
│ │ └── ic_launcher.png
│ ├── drawable-mdpi
│ │ └── ic_launcher.png
│ ├── drawable-xhdpi
│ │ ├── ic_launcher.png
│ │ ├── btn_check_off_emui.png
│ │ ├── btn_check_on_emui.png
│ │ ├── btn_check_on_pressed_emui.png
│ │ └── popup_full_bright_emui.9.png
│ ├── drawable-xxhdpi
│ │ ├── ic_launcher.png
│ │ ├── btn_default_disabled_emui.9.png
│ │ ├── btn_default_normal_emui.9.png
│ │ └── btn_default_pressed_emui.9.png
│ ├── values
│ │ ├── ic_launcher_background.xml
│ │ ├── colors.xml
│ │ ├── dimens.xml
│ │ └── styles.xml
│ ├── menu
│ │ └── ad_sample_menu.xml
│ ├── values-v11
│ │ └── styles.xml
│ ├── values-w820dp
│ │ └── dimens.xml
│ ├── values-v14
│ │ └── styles.xml
│ ├── layout
│ │ ├── activity_main.xml
│ │ ├── dialog_consent.xml
│ │ ├── dialog_consent_moreinfo.xml
│ │ ├── activity_reward.xml
│ │ ├── dialog_consent_partner_list.xml
│ │ ├── dialog_consent_content.xml
│ │ ├── activity_consent.xml
│ │ ├── activity_interstitial.xml
│ │ ├── activity_splash.xml
│ │ ├── activity_native.xml
│ │ ├── dialog_protocol.xml
│ │ ├── native_small_template.xml
│ │ └── native_video_template.xml
│ └── drawable-v24
│ │ └── ic_launcher_foreground.xml
├── .classpath
├── .project
├── proguard-project.txt
├── project.properties
├── src
│ └── com
│ │ └── huawei
│ │ └── hms
│ │ └── ads
│ │ └── sdk
│ │ ├── AdSampleApplication.java
│ │ ├── AdFormat.java
│ │ ├── AdsConstant.java
│ │ ├── AdSampleAdapter.java
│ │ └── ProtocolActivity.java
├── README.md
└── AndroidManifest.xml
├── ads-base
├── libs
│ └── ads-base.jar
├── res
│ ├── drawable
│ │ ├── hiad_box_checked.png
│ │ ├── hiad_box_uncheck.png
│ │ ├── hiad_allow_install_close.png
│ │ ├── hiad_allow_install_checkbox_bg.xml
│ │ ├── hiad_app_allow_install_dialog_bg.xml
│ │ ├── hiad_app_allow_install_dialog_btn_bg.xml
│ │ └── hiad_hm_bg_ad_label.xml
│ ├── drawable-xxxhdpi-v4
│ │ ├── hiad_hm_info.png
│ │ ├── hiad_hm_close_btn.png
│ │ ├── hiad_video_mute.png
│ │ ├── hiad_video_unmute.png
│ │ ├── hiad_choices_adchoice.png
│ │ ├── hiad_choices_whythisad_x.png
│ │ └── hiad_bg_permission_circle.png
│ ├── drawable-hdpi-v4
│ │ ├── hiad_choices_adchoice.png
│ │ ├── hiad_bg_permission_circle.png
│ │ └── hiad_choices_whythisad_x.png
│ ├── drawable-ldpi-v4
│ │ ├── hiad_choices_adchoice.png
│ │ ├── hiad_bg_permission_circle.png
│ │ └── hiad_choices_whythisad_x.png
│ ├── drawable-mdpi-v4
│ │ ├── hiad_choices_adchoice.png
│ │ ├── hiad_bg_permission_circle.png
│ │ └── hiad_choices_whythisad_x.png
│ ├── drawable-xhdpi-v4
│ │ ├── hiad_choices_adchoice.png
│ │ ├── hiad_choices_whythisad_x.png
│ │ └── hiad_bg_permission_circle.png
│ ├── drawable-xxhdpi-v4
│ │ ├── hiad_choices_adchoice.png
│ │ ├── hiad_bg_permission_circle.png
│ │ └── hiad_choices_whythisad_x.png
│ ├── drawable-anydpi-v21
│ │ ├── hiad_bg_permission_circle.xml
│ │ └── hiad_choices_adchoice.xml
│ ├── layout
│ │ ├── hiad_view_video.xml
│ │ ├── hiad_permission_dialog_parent_item.xml
│ │ ├── hiad_ar_view.xml
│ │ ├── hiad_permission_dialog_child_item.xml
│ │ ├── hiad_loading_dialog_content.xml
│ │ ├── hiad_permission_dialog_cotent.xml
│ │ └── hiad_app_allow_install_dialog_cotent.xml
│ └── drawable-anydpi-v24
│ │ └── hiad_choices_whythisad_x.xml
├── .settings
│ └── org.eclipse.jdt.core.prefs
├── .classpath
├── project.properties
├── .project
└── proguard-project.txt
├── ads-lang
├── libs
│ └── ads-lang.jar
├── .settings
│ └── org.eclipse.jdt.core.prefs
├── res
│ └── values-night-v29
│ │ └── values-night-v29.xml
├── .classpath
├── project.properties
├── AndroidManifest.xml
└── .project
├── ads-banner
├── libs
│ └── ads-banner.jar
├── res
│ ├── drawable-hdpi-v4
│ │ └── hiad_banner_close_btn.png
│ ├── drawable-ldpi-v4
│ │ └── hiad_banner_close_btn.png
│ ├── drawable-mdpi-v4
│ │ └── hiad_banner_close_btn.png
│ ├── drawable-xhdpi-v4
│ │ └── hiad_banner_close_btn.png
│ ├── drawable-xxhdpi-v4
│ │ └── hiad_banner_close_btn.png
│ ├── drawable-xxxhdpi-v4
│ │ └── hiad_banner_close_btn.png
│ ├── values
│ │ └── values.xml
│ ├── drawable
│ │ └── hiad_bg_ad_label.xml
│ ├── layout
│ │ └── hiad_view_adchoice_root.xml
│ └── drawable-anydpi-v24
│ │ └── hiad_banner_close_btn.xml
├── .settings
│ └── org.eclipse.jdt.core.prefs
├── .classpath
├── project.properties
├── AndroidManifest.xml
├── .project
└── proguard-project.txt
├── ads-native
├── libs
│ └── ads-native.jar
├── res
│ ├── drawable-xxxhdpi-v4
│ │ ├── hiad_pause.png
│ │ ├── hiad_play.png
│ │ ├── hiad_choices_feedback_x.png
│ │ ├── hiad_banner_skip_whythisad.png
│ │ └── hiad_choices_feedback_close.png
│ ├── drawable-hdpi-v4
│ │ ├── hiad_choices_feedback_x.png
│ │ ├── hiad_banner_skip_whythisad.png
│ │ └── hiad_choices_feedback_close.png
│ ├── drawable-ldpi-v4
│ │ ├── hiad_choices_feedback_x.png
│ │ ├── hiad_banner_skip_whythisad.png
│ │ └── hiad_choices_feedback_close.png
│ ├── drawable-mdpi-v4
│ │ ├── hiad_choices_feedback_x.png
│ │ ├── hiad_banner_skip_whythisad.png
│ │ └── hiad_choices_feedback_close.png
│ ├── drawable-xhdpi-v4
│ │ ├── hiad_choices_feedback_x.png
│ │ ├── hiad_banner_skip_whythisad.png
│ │ └── hiad_choices_feedback_close.png
│ ├── drawable-xxhdpi-v4
│ │ ├── hiad_choices_feedback_x.png
│ │ ├── hiad_banner_skip_whythisad.png
│ │ └── hiad_choices_feedback_close.png
│ ├── drawable
│ │ ├── hiad_choices_feedback_background.xml
│ │ ├── hiad_selector_ic_sound_check.xml
│ │ ├── hiad_selector_bg_btn_continue.xml
│ │ ├── hiad_btn_continue.xml
│ │ ├── hiad_btn_continue_pressed.xml
│ │ ├── hiad_app_down_btn_installing.xml
│ │ ├── hiad_choices_feedback_special.xml
│ │ ├── hiad_choices_feedback_focus.xml
│ │ ├── hiad_choices_feedback_press.xml
│ │ ├── hiad_video_buffer_progress.xml
│ │ ├── hiad_choices_feedback_normal.xml
│ │ ├── hiad_app_down_btn_normal.xml
│ │ ├── hiad_app_down_btn_processing_hm.xml
│ │ ├── hiad_app_down_btn_installing_hm.xml
│ │ ├── hiad_app_down_btn_processing.xml
│ │ └── hiad_app_down_btn_normal_hm.xml
│ ├── drawable-anydpi-v21
│ │ └── hiad_choices_feedback_x.xml
│ ├── layout
│ │ ├── hiad_choices_wrapper.xml
│ │ ├── hiad_native_pure_video_view.xml
│ │ ├── hiad_native_video_view.xml
│ │ ├── hiad_window_image_layout.xml
│ │ ├── hiad_choices_item.xml
│ │ ├── hiad_open_app_dialog.xml
│ │ ├── hiad_choices_whythisad_root.xml
│ │ ├── hiad_choices_whythisad.xml
│ │ └── hiad_choices_feedback.xml
│ ├── values
│ │ └── values.xml
│ └── drawable-anydpi-v24
│ │ ├── hiad_choices_feedback_close.xml
│ │ └── hiad_banner_skip_whythisad.xml
├── .settings
│ └── org.eclipse.jdt.core.prefs
├── .classpath
├── project.properties
├── AndroidManifest.xml
├── .project
└── proguard-project.txt
├── ads-reward
├── libs
│ └── ads-reward.jar
├── .settings
│ └── org.eclipse.jdt.core.prefs
├── .classpath
├── project.properties
├── AndroidManifest.xml
├── .project
└── proguard-project.txt
├── ads-splash
├── libs
│ └── ads-splash.jar
├── res
│ ├── drawable
│ │ ├── hiad_scan.png
│ │ ├── hiad_arrow_scan.png
│ │ ├── hiad_shake_phone.png
│ │ ├── hiad_swipe_arrow.png
│ │ ├── hiad_default_slogan.png
│ │ ├── hiad_selector_ic_sound_check.xml
│ │ ├── hiad_splash_pro_bg.xml
│ │ ├── hiad_splash_pro_bg_scan.xml
│ │ ├── hiad_hm_bg_skip_text.xml
│ │ ├── hiad_bg_ad_label.xml
│ │ ├── hiad_bg_skip_text.xml
│ │ └── hiad_splash_circle_bg.xml
│ ├── drawable-hdpi-v4
│ │ ├── hiad_chevron_right.png
│ │ └── hiad_ic_pro_icon.png
│ ├── drawable-ldpi-v4
│ │ ├── hiad_chevron_right.png
│ │ └── hiad_ic_pro_icon.png
│ ├── drawable-mdpi-v4
│ │ ├── hiad_chevron_right.png
│ │ └── hiad_ic_pro_icon.png
│ ├── drawable-xhdpi-v4
│ │ ├── hiad_ic_pro_icon.png
│ │ └── hiad_chevron_right.png
│ ├── drawable-xxhdpi-v4
│ │ ├── hiad_ic_pro_icon.png
│ │ └── hiad_chevron_right.png
│ ├── drawable-xxxhdpi-v4
│ │ ├── hiad_ic_pro_icon.png
│ │ └── hiad_chevron_right.png
│ ├── anim
│ │ ├── hiad_close.xml
│ │ └── hiad_open.xml
│ ├── layout
│ │ ├── hiad_view_image_ad.xml
│ │ ├── hiad_view_video.xml
│ │ ├── hiad_surfaceview_video.xml
│ │ ├── hiad_view_skip_button.xml
│ │ ├── hiad_view_stub_logo.xml
│ │ ├── hiad_wls_view.xml
│ │ ├── hiad_layout_splash_pro.xml
│ │ ├── hiad_layout_splash_twist.xml
│ │ └── hiad_layout_splash_swipe.xml
│ ├── drawable-anydpi-v21
│ │ └── hiad_chevron_right.xml
│ └── drawable-anydpi-v24
│ │ └── hiad_ic_pro_icon.xml
├── .settings
│ └── org.eclipse.jdt.core.prefs
├── .classpath
├── project.properties
├── AndroidManifest.xml
├── .project
└── proguard-project.txt
├── ads-consent
├── libs
│ └── ads-consent.jar
├── .settings
│ └── org.eclipse.jdt.core.prefs
├── .classpath
├── project.properties
├── AndroidManifest.xml
├── .project
└── proguard-project.txt
├── ads-instream
├── libs
│ └── ads-instream.jar
├── .settings
│ └── org.eclipse.jdt.core.prefs
├── .classpath
├── res
│ └── layout
│ │ └── hiad_placement_pure_video_view.xml
├── project.properties
├── AndroidManifest.xml
├── .project
└── proguard-project.txt
├── ads-jsbridge
├── libs
│ └── ads-jsbridge.jar
├── .settings
│ └── org.eclipse.jdt.core.prefs
├── .classpath
├── project.properties
├── AndroidManifest.xml
├── .project
└── proguard-project.txt
├── ads-identifier
├── libs
│ └── ads-identifier.jar
├── .settings
│ └── org.eclipse.jdt.core.prefs
├── .classpath
├── project.properties
├── AndroidManifest.xml
├── .project
└── proguard-project.txt
├── ads-interstitial
├── libs
│ └── ads-interstitial.jar
├── .settings
│ └── org.eclipse.jdt.core.prefs
├── .classpath
├── project.properties
├── AndroidManifest.xml
├── .project
└── proguard-project.txt
├── README_ZH.md
└── README.md
/HuaweiAdsSdk_Demo/bin/.gitkeep:
--------------------------------------------------------------------------------
1 | # Ignore everything in this directory
2 | *
3 | # Except this file !.gitkeep
4 |
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/gen/.gitkeep:
--------------------------------------------------------------------------------
1 | # Ignore everything in this directory
2 | *
3 | # Except this file !.gitkeep
4 |
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/libs/.gitkeep:
--------------------------------------------------------------------------------
1 | # Ignore everything in this directory
2 | *
3 | # Except this file !.gitkeep
4 |
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/assets/.gitkeep:
--------------------------------------------------------------------------------
1 | # Ignore everything in this directory
2 | *
3 | # Except this file !.gitkeep
4 |
--------------------------------------------------------------------------------
/ads-base/libs/ads-base.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-base/libs/ads-base.jar
--------------------------------------------------------------------------------
/ads-lang/libs/ads-lang.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-lang/libs/ads-lang.jar
--------------------------------------------------------------------------------
/ads-banner/libs/ads-banner.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-banner/libs/ads-banner.jar
--------------------------------------------------------------------------------
/ads-native/libs/ads-native.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-native/libs/ads-native.jar
--------------------------------------------------------------------------------
/ads-reward/libs/ads-reward.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-reward/libs/ads-reward.jar
--------------------------------------------------------------------------------
/ads-splash/libs/ads-splash.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-splash/libs/ads-splash.jar
--------------------------------------------------------------------------------
/ads-consent/libs/ads-consent.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-consent/libs/ads-consent.jar
--------------------------------------------------------------------------------
/ads-instream/libs/ads-instream.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-instream/libs/ads-instream.jar
--------------------------------------------------------------------------------
/ads-jsbridge/libs/ads-jsbridge.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-jsbridge/libs/ads-jsbridge.jar
--------------------------------------------------------------------------------
/ads-identifier/libs/ads-identifier.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-identifier/libs/ads-identifier.jar
--------------------------------------------------------------------------------
/ads-splash/res/drawable/hiad_scan.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-splash/res/drawable/hiad_scan.png
--------------------------------------------------------------------------------
/ads-base/res/drawable/hiad_box_checked.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-base/res/drawable/hiad_box_checked.png
--------------------------------------------------------------------------------
/ads-base/res/drawable/hiad_box_uncheck.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-base/res/drawable/hiad_box_uncheck.png
--------------------------------------------------------------------------------
/ads-interstitial/libs/ads-interstitial.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-interstitial/libs/ads-interstitial.jar
--------------------------------------------------------------------------------
/ads-splash/res/drawable/hiad_arrow_scan.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-splash/res/drawable/hiad_arrow_scan.png
--------------------------------------------------------------------------------
/ads-splash/res/drawable/hiad_shake_phone.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-splash/res/drawable/hiad_shake_phone.png
--------------------------------------------------------------------------------
/ads-splash/res/drawable/hiad_swipe_arrow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-splash/res/drawable/hiad_swipe_arrow.png
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/res/drawable/default_slogan.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/HuaweiAdsSdk_Demo/res/drawable/default_slogan.png
--------------------------------------------------------------------------------
/ads-base/res/drawable-xxxhdpi-v4/hiad_hm_info.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-base/res/drawable-xxxhdpi-v4/hiad_hm_info.png
--------------------------------------------------------------------------------
/ads-native/res/drawable-xxxhdpi-v4/hiad_pause.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-native/res/drawable-xxxhdpi-v4/hiad_pause.png
--------------------------------------------------------------------------------
/ads-native/res/drawable-xxxhdpi-v4/hiad_play.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-native/res/drawable-xxxhdpi-v4/hiad_play.png
--------------------------------------------------------------------------------
/ads-splash/res/drawable/hiad_default_slogan.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-splash/res/drawable/hiad_default_slogan.png
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/HuaweiAdsSdk_Demo/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/HuaweiAdsSdk_Demo/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/ads-base/res/drawable/hiad_allow_install_close.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-base/res/drawable/hiad_allow_install_close.png
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/HuaweiAdsSdk_Demo/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/res/drawable-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/HuaweiAdsSdk_Demo/res/drawable-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/res/drawable/btn_check_off_emui.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/HuaweiAdsSdk_Demo/res/drawable/btn_check_off_emui.png
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/res/drawable/btn_check_on_emui.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/HuaweiAdsSdk_Demo/res/drawable/btn_check_on_emui.png
--------------------------------------------------------------------------------
/ads-base/res/drawable-xxxhdpi-v4/hiad_hm_close_btn.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-base/res/drawable-xxxhdpi-v4/hiad_hm_close_btn.png
--------------------------------------------------------------------------------
/ads-base/res/drawable-xxxhdpi-v4/hiad_video_mute.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-base/res/drawable-xxxhdpi-v4/hiad_video_mute.png
--------------------------------------------------------------------------------
/ads-base/res/drawable-xxxhdpi-v4/hiad_video_unmute.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-base/res/drawable-xxxhdpi-v4/hiad_video_unmute.png
--------------------------------------------------------------------------------
/ads-splash/res/drawable-hdpi-v4/hiad_chevron_right.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-splash/res/drawable-hdpi-v4/hiad_chevron_right.png
--------------------------------------------------------------------------------
/ads-splash/res/drawable-hdpi-v4/hiad_ic_pro_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-splash/res/drawable-hdpi-v4/hiad_ic_pro_icon.png
--------------------------------------------------------------------------------
/ads-splash/res/drawable-ldpi-v4/hiad_chevron_right.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-splash/res/drawable-ldpi-v4/hiad_chevron_right.png
--------------------------------------------------------------------------------
/ads-splash/res/drawable-ldpi-v4/hiad_ic_pro_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-splash/res/drawable-ldpi-v4/hiad_ic_pro_icon.png
--------------------------------------------------------------------------------
/ads-splash/res/drawable-mdpi-v4/hiad_chevron_right.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-splash/res/drawable-mdpi-v4/hiad_chevron_right.png
--------------------------------------------------------------------------------
/ads-splash/res/drawable-mdpi-v4/hiad_ic_pro_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-splash/res/drawable-mdpi-v4/hiad_ic_pro_icon.png
--------------------------------------------------------------------------------
/ads-splash/res/drawable-xhdpi-v4/hiad_ic_pro_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-splash/res/drawable-xhdpi-v4/hiad_ic_pro_icon.png
--------------------------------------------------------------------------------
/ads-splash/res/drawable-xxhdpi-v4/hiad_ic_pro_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-splash/res/drawable-xxhdpi-v4/hiad_ic_pro_icon.png
--------------------------------------------------------------------------------
/ads-base/res/drawable-hdpi-v4/hiad_choices_adchoice.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-base/res/drawable-hdpi-v4/hiad_choices_adchoice.png
--------------------------------------------------------------------------------
/ads-base/res/drawable-ldpi-v4/hiad_choices_adchoice.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-base/res/drawable-ldpi-v4/hiad_choices_adchoice.png
--------------------------------------------------------------------------------
/ads-base/res/drawable-mdpi-v4/hiad_choices_adchoice.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-base/res/drawable-mdpi-v4/hiad_choices_adchoice.png
--------------------------------------------------------------------------------
/ads-base/res/drawable-xhdpi-v4/hiad_choices_adchoice.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-base/res/drawable-xhdpi-v4/hiad_choices_adchoice.png
--------------------------------------------------------------------------------
/ads-splash/res/drawable-xhdpi-v4/hiad_chevron_right.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-splash/res/drawable-xhdpi-v4/hiad_chevron_right.png
--------------------------------------------------------------------------------
/ads-splash/res/drawable-xxhdpi-v4/hiad_chevron_right.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-splash/res/drawable-xxhdpi-v4/hiad_chevron_right.png
--------------------------------------------------------------------------------
/ads-splash/res/drawable-xxxhdpi-v4/hiad_ic_pro_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-splash/res/drawable-xxxhdpi-v4/hiad_ic_pro_icon.png
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/res/drawable-xhdpi/btn_check_off_emui.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/HuaweiAdsSdk_Demo/res/drawable-xhdpi/btn_check_off_emui.png
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/res/drawable-xhdpi/btn_check_on_emui.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/HuaweiAdsSdk_Demo/res/drawable-xhdpi/btn_check_on_emui.png
--------------------------------------------------------------------------------
/ads-banner/res/drawable-hdpi-v4/hiad_banner_close_btn.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-banner/res/drawable-hdpi-v4/hiad_banner_close_btn.png
--------------------------------------------------------------------------------
/ads-banner/res/drawable-ldpi-v4/hiad_banner_close_btn.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-banner/res/drawable-ldpi-v4/hiad_banner_close_btn.png
--------------------------------------------------------------------------------
/ads-banner/res/drawable-mdpi-v4/hiad_banner_close_btn.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-banner/res/drawable-mdpi-v4/hiad_banner_close_btn.png
--------------------------------------------------------------------------------
/ads-banner/res/drawable-xhdpi-v4/hiad_banner_close_btn.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-banner/res/drawable-xhdpi-v4/hiad_banner_close_btn.png
--------------------------------------------------------------------------------
/ads-banner/res/drawable-xxhdpi-v4/hiad_banner_close_btn.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-banner/res/drawable-xxhdpi-v4/hiad_banner_close_btn.png
--------------------------------------------------------------------------------
/ads-base/res/drawable-hdpi-v4/hiad_bg_permission_circle.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-base/res/drawable-hdpi-v4/hiad_bg_permission_circle.png
--------------------------------------------------------------------------------
/ads-base/res/drawable-hdpi-v4/hiad_choices_whythisad_x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-base/res/drawable-hdpi-v4/hiad_choices_whythisad_x.png
--------------------------------------------------------------------------------
/ads-base/res/drawable-ldpi-v4/hiad_bg_permission_circle.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-base/res/drawable-ldpi-v4/hiad_bg_permission_circle.png
--------------------------------------------------------------------------------
/ads-base/res/drawable-ldpi-v4/hiad_choices_whythisad_x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-base/res/drawable-ldpi-v4/hiad_choices_whythisad_x.png
--------------------------------------------------------------------------------
/ads-base/res/drawable-mdpi-v4/hiad_bg_permission_circle.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-base/res/drawable-mdpi-v4/hiad_bg_permission_circle.png
--------------------------------------------------------------------------------
/ads-base/res/drawable-mdpi-v4/hiad_choices_whythisad_x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-base/res/drawable-mdpi-v4/hiad_choices_whythisad_x.png
--------------------------------------------------------------------------------
/ads-base/res/drawable-xhdpi-v4/hiad_choices_whythisad_x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-base/res/drawable-xhdpi-v4/hiad_choices_whythisad_x.png
--------------------------------------------------------------------------------
/ads-base/res/drawable-xxhdpi-v4/hiad_choices_adchoice.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-base/res/drawable-xxhdpi-v4/hiad_choices_adchoice.png
--------------------------------------------------------------------------------
/ads-base/res/drawable-xxxhdpi-v4/hiad_choices_adchoice.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-base/res/drawable-xxxhdpi-v4/hiad_choices_adchoice.png
--------------------------------------------------------------------------------
/ads-native/res/drawable-hdpi-v4/hiad_choices_feedback_x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-native/res/drawable-hdpi-v4/hiad_choices_feedback_x.png
--------------------------------------------------------------------------------
/ads-native/res/drawable-ldpi-v4/hiad_choices_feedback_x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-native/res/drawable-ldpi-v4/hiad_choices_feedback_x.png
--------------------------------------------------------------------------------
/ads-native/res/drawable-mdpi-v4/hiad_choices_feedback_x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-native/res/drawable-mdpi-v4/hiad_choices_feedback_x.png
--------------------------------------------------------------------------------
/ads-splash/res/drawable-xxxhdpi-v4/hiad_chevron_right.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-splash/res/drawable-xxxhdpi-v4/hiad_chevron_right.png
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/res/drawable/btn_check_on_pressed_emui.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/HuaweiAdsSdk_Demo/res/drawable/btn_check_on_pressed_emui.png
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/res/values/ic_launcher_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #26A69A
4 |
--------------------------------------------------------------------------------
/ads-banner/res/drawable-xxxhdpi-v4/hiad_banner_close_btn.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-banner/res/drawable-xxxhdpi-v4/hiad_banner_close_btn.png
--------------------------------------------------------------------------------
/ads-base/res/drawable-xhdpi-v4/hiad_bg_permission_circle.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-base/res/drawable-xhdpi-v4/hiad_bg_permission_circle.png
--------------------------------------------------------------------------------
/ads-base/res/drawable-xxhdpi-v4/hiad_bg_permission_circle.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-base/res/drawable-xxhdpi-v4/hiad_bg_permission_circle.png
--------------------------------------------------------------------------------
/ads-base/res/drawable-xxhdpi-v4/hiad_choices_whythisad_x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-base/res/drawable-xxhdpi-v4/hiad_choices_whythisad_x.png
--------------------------------------------------------------------------------
/ads-base/res/drawable-xxxhdpi-v4/hiad_choices_whythisad_x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-base/res/drawable-xxxhdpi-v4/hiad_choices_whythisad_x.png
--------------------------------------------------------------------------------
/ads-native/res/drawable-xhdpi-v4/hiad_choices_feedback_x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-native/res/drawable-xhdpi-v4/hiad_choices_feedback_x.png
--------------------------------------------------------------------------------
/ads-native/res/drawable-xxhdpi-v4/hiad_choices_feedback_x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-native/res/drawable-xxhdpi-v4/hiad_choices_feedback_x.png
--------------------------------------------------------------------------------
/ads-base/res/drawable-xxxhdpi-v4/hiad_bg_permission_circle.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-base/res/drawable-xxxhdpi-v4/hiad_bg_permission_circle.png
--------------------------------------------------------------------------------
/ads-native/res/drawable-hdpi-v4/hiad_banner_skip_whythisad.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-native/res/drawable-hdpi-v4/hiad_banner_skip_whythisad.png
--------------------------------------------------------------------------------
/ads-native/res/drawable-hdpi-v4/hiad_choices_feedback_close.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-native/res/drawable-hdpi-v4/hiad_choices_feedback_close.png
--------------------------------------------------------------------------------
/ads-native/res/drawable-ldpi-v4/hiad_banner_skip_whythisad.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-native/res/drawable-ldpi-v4/hiad_banner_skip_whythisad.png
--------------------------------------------------------------------------------
/ads-native/res/drawable-ldpi-v4/hiad_choices_feedback_close.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-native/res/drawable-ldpi-v4/hiad_choices_feedback_close.png
--------------------------------------------------------------------------------
/ads-native/res/drawable-mdpi-v4/hiad_banner_skip_whythisad.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-native/res/drawable-mdpi-v4/hiad_banner_skip_whythisad.png
--------------------------------------------------------------------------------
/ads-native/res/drawable-mdpi-v4/hiad_choices_feedback_close.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-native/res/drawable-mdpi-v4/hiad_choices_feedback_close.png
--------------------------------------------------------------------------------
/ads-native/res/drawable-xhdpi-v4/hiad_banner_skip_whythisad.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-native/res/drawable-xhdpi-v4/hiad_banner_skip_whythisad.png
--------------------------------------------------------------------------------
/ads-native/res/drawable-xhdpi-v4/hiad_choices_feedback_close.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-native/res/drawable-xhdpi-v4/hiad_choices_feedback_close.png
--------------------------------------------------------------------------------
/ads-native/res/drawable-xxhdpi-v4/hiad_banner_skip_whythisad.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-native/res/drawable-xxhdpi-v4/hiad_banner_skip_whythisad.png
--------------------------------------------------------------------------------
/ads-native/res/drawable-xxxhdpi-v4/hiad_choices_feedback_x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-native/res/drawable-xxxhdpi-v4/hiad_choices_feedback_x.png
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/res/drawable-xhdpi/btn_check_on_pressed_emui.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/HuaweiAdsSdk_Demo/res/drawable-xhdpi/btn_check_on_pressed_emui.png
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/res/drawable-xhdpi/popup_full_bright_emui.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/HuaweiAdsSdk_Demo/res/drawable-xhdpi/popup_full_bright_emui.9.png
--------------------------------------------------------------------------------
/ads-native/res/drawable-xxhdpi-v4/hiad_choices_feedback_close.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-native/res/drawable-xxhdpi-v4/hiad_choices_feedback_close.png
--------------------------------------------------------------------------------
/ads-native/res/drawable-xxxhdpi-v4/hiad_banner_skip_whythisad.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-native/res/drawable-xxxhdpi-v4/hiad_banner_skip_whythisad.png
--------------------------------------------------------------------------------
/ads-native/res/drawable-xxxhdpi-v4/hiad_choices_feedback_close.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/ads-native/res/drawable-xxxhdpi-v4/hiad_choices_feedback_close.png
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/res/drawable-xxhdpi/btn_default_disabled_emui.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/HuaweiAdsSdk_Demo/res/drawable-xxhdpi/btn_default_disabled_emui.9.png
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/res/drawable-xxhdpi/btn_default_normal_emui.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/HuaweiAdsSdk_Demo/res/drawable-xxhdpi/btn_default_normal_emui.9.png
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/res/drawable-xxhdpi/btn_default_pressed_emui.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HMS-Core/hms-ads-demo-eclipse/HEAD/HuaweiAdsSdk_Demo/res/drawable-xxhdpi/btn_default_pressed_emui.9.png
--------------------------------------------------------------------------------
/ads-banner/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
3 | org.eclipse.jdt.core.compiler.compliance=1.6
4 | org.eclipse.jdt.core.compiler.source=1.6
5 |
--------------------------------------------------------------------------------
/ads-base/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
3 | org.eclipse.jdt.core.compiler.compliance=1.6
4 | org.eclipse.jdt.core.compiler.source=1.6
5 |
--------------------------------------------------------------------------------
/ads-consent/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
3 | org.eclipse.jdt.core.compiler.compliance=1.6
4 | org.eclipse.jdt.core.compiler.source=1.6
5 |
--------------------------------------------------------------------------------
/ads-instream/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
3 | org.eclipse.jdt.core.compiler.compliance=1.6
4 | org.eclipse.jdt.core.compiler.source=1.6
5 |
--------------------------------------------------------------------------------
/ads-jsbridge/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
3 | org.eclipse.jdt.core.compiler.compliance=1.6
4 | org.eclipse.jdt.core.compiler.source=1.6
5 |
--------------------------------------------------------------------------------
/ads-lang/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
3 | org.eclipse.jdt.core.compiler.compliance=1.6
4 | org.eclipse.jdt.core.compiler.source=1.6
5 |
--------------------------------------------------------------------------------
/ads-native/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
3 | org.eclipse.jdt.core.compiler.compliance=1.6
4 | org.eclipse.jdt.core.compiler.source=1.6
5 |
--------------------------------------------------------------------------------
/ads-reward/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
3 | org.eclipse.jdt.core.compiler.compliance=1.6
4 | org.eclipse.jdt.core.compiler.source=1.6
5 |
--------------------------------------------------------------------------------
/ads-splash/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
3 | org.eclipse.jdt.core.compiler.compliance=1.6
4 | org.eclipse.jdt.core.compiler.source=1.6
5 |
--------------------------------------------------------------------------------
/ads-identifier/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
3 | org.eclipse.jdt.core.compiler.compliance=1.6
4 | org.eclipse.jdt.core.compiler.source=1.6
5 |
--------------------------------------------------------------------------------
/ads-interstitial/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
3 | org.eclipse.jdt.core.compiler.compliance=1.6
4 | org.eclipse.jdt.core.compiler.source=1.6
5 |
--------------------------------------------------------------------------------
/ads-splash/res/anim/hiad_close.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #008577
4 | #00574B
5 | #D81B60
6 |
7 | #e6000000
8 |
9 |
--------------------------------------------------------------------------------
/ads-banner/res/values/values.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ads-base/res/drawable/hiad_allow_install_checkbox_bg.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/ads-native/res/drawable/hiad_choices_feedback_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/ads-native/res/drawable/hiad_selector_ic_sound_check.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/ads-splash/res/drawable/hiad_selector_ic_sound_check.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/ads-lang/res/values-night-v29/values-night-v29.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #80FFFFFF
4 | #1AFFFFFF
5 | #2E2E2E
6 | #FFFFFF
7 |
--------------------------------------------------------------------------------
/ads-native/res/drawable/hiad_selector_bg_btn_continue.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/res/menu/ad_sample_menu.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/res/values-v11/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/ads-native/res/drawable/hiad_btn_continue.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/ads-splash/res/anim/hiad_open.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
10 |
--------------------------------------------------------------------------------
/ads-native/res/drawable/hiad_btn_continue_pressed.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/ads-base/res/drawable-anydpi-v21/hiad_bg_permission_circle.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/ads-base/res/drawable/hiad_app_allow_install_dialog_bg.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 | -
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/ads-base/res/drawable/hiad_app_allow_install_dialog_btn_bg.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 | -
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/res/values-w820dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 | 64dp
9 |
10 |
11 |
--------------------------------------------------------------------------------
/ads-splash/res/layout/hiad_view_image_ad.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
11 |
--------------------------------------------------------------------------------
/ads-splash/res/drawable/hiad_splash_pro_bg.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 | -
5 |
6 |
7 |
8 |
9 |
10 | -
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/ads-splash/res/drawable/hiad_splash_pro_bg_scan.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 | -
5 |
6 |
7 |
8 |
9 |
10 | -
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/res/values-v14/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/ads-base/res/layout/hiad_view_video.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
10 |
--------------------------------------------------------------------------------
/ads-splash/res/layout/hiad_view_video.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
10 |
--------------------------------------------------------------------------------
/ads-banner/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/ads-base/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/ads-lang/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/ads-native/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/ads-reward/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/ads-splash/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/ads-consent/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/ads-identifier/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/ads-instream/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/ads-jsbridge/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/ads-interstitial/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/ads-instream/res/layout/hiad_placement_pure_video_view.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
11 |
12 |
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/res/layout/activity_main.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
12 |
13 |
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 16dp
4 | 16dp
5 | 200dp
6 | 3dp
7 | 5dp
8 | 8dp
9 | 16dp
10 | 100dp
11 |
--------------------------------------------------------------------------------
/ads-splash/res/drawable/hiad_hm_bg_skip_text.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 | -
5 |
6 |
7 |
8 |
9 |
10 |
11 | -
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/ads-splash/res/drawable-anydpi-v21/hiad_chevron_right.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/res/drawable/native_flag_rounded_corners_shape.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
10 |
11 |
16 |
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/res/drawable/native_button_rounded_corners_shape.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
10 |
11 |
16 |
--------------------------------------------------------------------------------
/ads-native/res/drawable/hiad_app_down_btn_installing.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | -
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/ads-native/res/drawable/hiad_choices_feedback_special.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/ads-banner/res/drawable/hiad_bg_ad_label.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 | -
5 |
6 |
7 |
8 |
9 |
10 |
11 | -
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/ads-base/res/drawable/hiad_hm_bg_ad_label.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 | -
5 |
6 |
7 |
8 |
9 |
10 |
11 | -
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/ads-splash/res/drawable/hiad_bg_ad_label.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 | -
5 |
6 |
7 |
8 |
9 |
10 |
11 | -
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/ads-splash/res/drawable/hiad_bg_skip_text.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 | -
5 |
6 |
7 |
8 |
9 |
10 |
11 | -
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/ads-base/res/layout/hiad_permission_dialog_parent_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
13 |
14 |
--------------------------------------------------------------------------------
/ads-splash/res/layout/hiad_surfaceview_video.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
9 |
14 |
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/res/drawable/detail_checkbox_selector.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ads-native/res/drawable-anydpi-v21/hiad_choices_feedback_x.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/ads-splash/res/drawable/hiad_splash_circle_bg.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 | -
7 |
8 |
9 |
10 |
11 |
12 | -
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/ads-base/project.properties:
--------------------------------------------------------------------------------
1 | # This file is automatically generated by Android Tools.
2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED!
3 | #
4 | # This file must be checked in Version Control Systems.
5 | #
6 | # To customize properties used by the Ant build system edit
7 | # "ant.properties", and override values to adapt the script to your
8 | # project structure.
9 | #
10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
12 |
13 | # Project target.
14 | target=android-29
15 | android.library=true
16 |
--------------------------------------------------------------------------------
/ads-lang/project.properties:
--------------------------------------------------------------------------------
1 | # This file is automatically generated by Android Tools.
2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED!
3 | #
4 | # This file must be checked in Version Control Systems.
5 | #
6 | # To customize properties used by the Ant build system edit
7 | # "ant.properties", and override values to adapt the script to your
8 | # project structure.
9 | #
10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
12 |
13 | # Project target.
14 | target=android-29
15 | android.library=true
16 |
--------------------------------------------------------------------------------
/ads-banner/project.properties:
--------------------------------------------------------------------------------
1 | # This file is automatically generated by Android Tools.
2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED!
3 | #
4 | # This file must be checked in Version Control Systems.
5 | #
6 | # To customize properties used by the Ant build system edit
7 | # "ant.properties", and override values to adapt the script to your
8 | # project structure.
9 | #
10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
12 |
13 | # Project target.
14 | target=android-29
15 | android.library=true
16 |
--------------------------------------------------------------------------------
/ads-consent/project.properties:
--------------------------------------------------------------------------------
1 | # This file is automatically generated by Android Tools.
2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED!
3 | #
4 | # This file must be checked in Version Control Systems.
5 | #
6 | # To customize properties used by the Ant build system edit
7 | # "ant.properties", and override values to adapt the script to your
8 | # project structure.
9 | #
10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
12 |
13 | # Project target.
14 | target=android-29
15 | android.library=true
16 |
--------------------------------------------------------------------------------
/ads-identifier/project.properties:
--------------------------------------------------------------------------------
1 | # This file is automatically generated by Android Tools.
2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED!
3 | #
4 | # This file must be checked in Version Control Systems.
5 | #
6 | # To customize properties used by the Ant build system edit
7 | # "ant.properties", and override values to adapt the script to your
8 | # project structure.
9 | #
10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
12 |
13 | # Project target.
14 | target=android-29
15 | android.library=true
16 |
--------------------------------------------------------------------------------
/ads-instream/project.properties:
--------------------------------------------------------------------------------
1 | # This file is automatically generated by Android Tools.
2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED!
3 | #
4 | # This file must be checked in Version Control Systems.
5 | #
6 | # To customize properties used by the Ant build system edit
7 | # "ant.properties", and override values to adapt the script to your
8 | # project structure.
9 | #
10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
12 |
13 | # Project target.
14 | target=android-29
15 | android.library=true
16 |
--------------------------------------------------------------------------------
/ads-jsbridge/project.properties:
--------------------------------------------------------------------------------
1 | # This file is automatically generated by Android Tools.
2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED!
3 | #
4 | # This file must be checked in Version Control Systems.
5 | #
6 | # To customize properties used by the Ant build system edit
7 | # "ant.properties", and override values to adapt the script to your
8 | # project structure.
9 | #
10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
12 |
13 | # Project target.
14 | target=android-29
15 | android.library=true
16 |
--------------------------------------------------------------------------------
/ads-native/project.properties:
--------------------------------------------------------------------------------
1 | # This file is automatically generated by Android Tools.
2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED!
3 | #
4 | # This file must be checked in Version Control Systems.
5 | #
6 | # To customize properties used by the Ant build system edit
7 | # "ant.properties", and override values to adapt the script to your
8 | # project structure.
9 | #
10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
12 |
13 | # Project target.
14 | target=android-29
15 | android.library=true
16 |
--------------------------------------------------------------------------------
/ads-native/res/drawable/hiad_choices_feedback_focus.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
14 |
15 |
--------------------------------------------------------------------------------
/ads-native/res/drawable/hiad_choices_feedback_press.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
14 |
15 |
--------------------------------------------------------------------------------
/ads-reward/project.properties:
--------------------------------------------------------------------------------
1 | # This file is automatically generated by Android Tools.
2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED!
3 | #
4 | # This file must be checked in Version Control Systems.
5 | #
6 | # To customize properties used by the Ant build system edit
7 | # "ant.properties", and override values to adapt the script to your
8 | # project structure.
9 | #
10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
12 |
13 | # Project target.
14 | target=android-29
15 | android.library=true
16 |
--------------------------------------------------------------------------------
/ads-splash/project.properties:
--------------------------------------------------------------------------------
1 | # This file is automatically generated by Android Tools.
2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED!
3 | #
4 | # This file must be checked in Version Control Systems.
5 | #
6 | # To customize properties used by the Ant build system edit
7 | # "ant.properties", and override values to adapt the script to your
8 | # project structure.
9 | #
10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
12 |
13 | # Project target.
14 | target=android-29
15 | android.library=true
16 |
--------------------------------------------------------------------------------
/ads-interstitial/project.properties:
--------------------------------------------------------------------------------
1 | # This file is automatically generated by Android Tools.
2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED!
3 | #
4 | # This file must be checked in Version Control Systems.
5 | #
6 | # To customize properties used by the Ant build system edit
7 | # "ant.properties", and override values to adapt the script to your
8 | # project structure.
9 | #
10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
12 |
13 | # Project target.
14 | target=android-29
15 | android.library=true
16 |
--------------------------------------------------------------------------------
/ads-lang/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
11 |
12 |
13 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/ads-native/res/drawable/hiad_video_buffer_progress.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
11 |
12 |
17 |
18 |
--------------------------------------------------------------------------------
/ads-banner/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
11 |
12 |
13 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/ads-consent/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
11 |
12 |
13 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/ads-native/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
11 |
12 |
13 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/ads-reward/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
11 |
12 |
13 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/ads-native/res/drawable/hiad_choices_feedback_normal.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/ads-native/res/layout/hiad_choices_wrapper.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
14 |
--------------------------------------------------------------------------------
/ads-instream/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
11 |
12 |
13 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/ads-interstitial/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
11 |
12 |
13 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/res/drawable/emui_button_select.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/ads-base/res/layout/hiad_ar_view.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
12 |
13 |
18 |
19 |
--------------------------------------------------------------------------------
/ads-splash/res/layout/hiad_view_skip_button.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
16 |
--------------------------------------------------------------------------------
/ads-splash/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
11 |
12 |
13 |
14 |
15 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/ads-native/res/layout/hiad_native_pure_video_view.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
11 |
12 |
18 |
--------------------------------------------------------------------------------
/ads-native/res/layout/hiad_native_video_view.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
11 |
12 |
17 |
--------------------------------------------------------------------------------
/ads-identifier/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
11 |
12 |
13 |
16 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/ads-jsbridge/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
11 |
12 |
13 |
16 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/ads-native/res/layout/hiad_window_image_layout.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
9 |
13 |
19 |
--------------------------------------------------------------------------------
/ads-banner/res/layout/hiad_view_adchoice_root.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
17 |
18 |
--------------------------------------------------------------------------------
/ads-base/res/layout/hiad_permission_dialog_child_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
13 |
14 |
21 |
22 |
--------------------------------------------------------------------------------
/ads-native/res/layout/hiad_choices_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
21 |
--------------------------------------------------------------------------------
/ads-banner/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | ads-banner
4 |
5 |
6 |
7 |
8 |
9 | com.android.ide.eclipse.adt.ResourceManagerBuilder
10 |
11 |
12 |
13 |
14 | com.android.ide.eclipse.adt.PreCompilerBuilder
15 |
16 |
17 |
18 |
19 | org.eclipse.jdt.core.javabuilder
20 |
21 |
22 |
23 |
24 | com.android.ide.eclipse.adt.ApkBuilder
25 |
26 |
27 |
28 |
29 |
30 | com.android.ide.eclipse.adt.AndroidNature
31 | org.eclipse.jdt.core.javanature
32 |
33 |
34 |
--------------------------------------------------------------------------------
/ads-base/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | ads-base
4 |
5 |
6 |
7 |
8 |
9 | com.android.ide.eclipse.adt.ResourceManagerBuilder
10 |
11 |
12 |
13 |
14 | com.android.ide.eclipse.adt.PreCompilerBuilder
15 |
16 |
17 |
18 |
19 | org.eclipse.jdt.core.javabuilder
20 |
21 |
22 |
23 |
24 | com.android.ide.eclipse.adt.ApkBuilder
25 |
26 |
27 |
28 |
29 |
30 | com.android.ide.eclipse.adt.AndroidNature
31 | org.eclipse.jdt.core.javanature
32 |
33 |
34 |
--------------------------------------------------------------------------------
/ads-lang/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | ads-lang
4 |
5 |
6 |
7 |
8 |
9 | com.android.ide.eclipse.adt.ResourceManagerBuilder
10 |
11 |
12 |
13 |
14 | com.android.ide.eclipse.adt.PreCompilerBuilder
15 |
16 |
17 |
18 |
19 | org.eclipse.jdt.core.javabuilder
20 |
21 |
22 |
23 |
24 | com.android.ide.eclipse.adt.ApkBuilder
25 |
26 |
27 |
28 |
29 |
30 | com.android.ide.eclipse.adt.AndroidNature
31 | org.eclipse.jdt.core.javanature
32 |
33 |
34 |
--------------------------------------------------------------------------------
/ads-native/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | ads-native
4 |
5 |
6 |
7 |
8 |
9 | com.android.ide.eclipse.adt.ResourceManagerBuilder
10 |
11 |
12 |
13 |
14 | com.android.ide.eclipse.adt.PreCompilerBuilder
15 |
16 |
17 |
18 |
19 | org.eclipse.jdt.core.javabuilder
20 |
21 |
22 |
23 |
24 | com.android.ide.eclipse.adt.ApkBuilder
25 |
26 |
27 |
28 |
29 |
30 | com.android.ide.eclipse.adt.AndroidNature
31 | org.eclipse.jdt.core.javanature
32 |
33 |
34 |
--------------------------------------------------------------------------------
/ads-reward/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | ads-reward
4 |
5 |
6 |
7 |
8 |
9 | com.android.ide.eclipse.adt.ResourceManagerBuilder
10 |
11 |
12 |
13 |
14 | com.android.ide.eclipse.adt.PreCompilerBuilder
15 |
16 |
17 |
18 |
19 | org.eclipse.jdt.core.javabuilder
20 |
21 |
22 |
23 |
24 | com.android.ide.eclipse.adt.ApkBuilder
25 |
26 |
27 |
28 |
29 |
30 | com.android.ide.eclipse.adt.AndroidNature
31 | org.eclipse.jdt.core.javanature
32 |
33 |
34 |
--------------------------------------------------------------------------------
/ads-splash/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | ads-splash
4 |
5 |
6 |
7 |
8 |
9 | com.android.ide.eclipse.adt.ResourceManagerBuilder
10 |
11 |
12 |
13 |
14 | com.android.ide.eclipse.adt.PreCompilerBuilder
15 |
16 |
17 |
18 |
19 | org.eclipse.jdt.core.javabuilder
20 |
21 |
22 |
23 |
24 | com.android.ide.eclipse.adt.ApkBuilder
25 |
26 |
27 |
28 |
29 |
30 | com.android.ide.eclipse.adt.AndroidNature
31 | org.eclipse.jdt.core.javanature
32 |
33 |
34 |
--------------------------------------------------------------------------------
/ads-consent/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | ads-consent
4 |
5 |
6 |
7 |
8 |
9 | com.android.ide.eclipse.adt.ResourceManagerBuilder
10 |
11 |
12 |
13 |
14 | com.android.ide.eclipse.adt.PreCompilerBuilder
15 |
16 |
17 |
18 |
19 | org.eclipse.jdt.core.javabuilder
20 |
21 |
22 |
23 |
24 | com.android.ide.eclipse.adt.ApkBuilder
25 |
26 |
27 |
28 |
29 |
30 | com.android.ide.eclipse.adt.AndroidNature
31 | org.eclipse.jdt.core.javanature
32 |
33 |
34 |
--------------------------------------------------------------------------------
/ads-instream/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | ads-instream
4 |
5 |
6 |
7 |
8 |
9 | com.android.ide.eclipse.adt.ResourceManagerBuilder
10 |
11 |
12 |
13 |
14 | com.android.ide.eclipse.adt.PreCompilerBuilder
15 |
16 |
17 |
18 |
19 | org.eclipse.jdt.core.javabuilder
20 |
21 |
22 |
23 |
24 | com.android.ide.eclipse.adt.ApkBuilder
25 |
26 |
27 |
28 |
29 |
30 | com.android.ide.eclipse.adt.AndroidNature
31 | org.eclipse.jdt.core.javanature
32 |
33 |
34 |
--------------------------------------------------------------------------------
/ads-jsbridge/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | ads-jsbridge
4 |
5 |
6 |
7 |
8 |
9 | com.android.ide.eclipse.adt.ResourceManagerBuilder
10 |
11 |
12 |
13 |
14 | com.android.ide.eclipse.adt.PreCompilerBuilder
15 |
16 |
17 |
18 |
19 | org.eclipse.jdt.core.javabuilder
20 |
21 |
22 |
23 |
24 | com.android.ide.eclipse.adt.ApkBuilder
25 |
26 |
27 |
28 |
29 |
30 | com.android.ide.eclipse.adt.AndroidNature
31 | org.eclipse.jdt.core.javanature
32 |
33 |
34 |
--------------------------------------------------------------------------------
/ads-identifier/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | ads-identifier
4 |
5 |
6 |
7 |
8 |
9 | com.android.ide.eclipse.adt.ResourceManagerBuilder
10 |
11 |
12 |
13 |
14 | com.android.ide.eclipse.adt.PreCompilerBuilder
15 |
16 |
17 |
18 |
19 | org.eclipse.jdt.core.javabuilder
20 |
21 |
22 |
23 |
24 | com.android.ide.eclipse.adt.ApkBuilder
25 |
26 |
27 |
28 |
29 |
30 | com.android.ide.eclipse.adt.AndroidNature
31 | org.eclipse.jdt.core.javanature
32 |
33 |
34 |
--------------------------------------------------------------------------------
/ads-native/res/drawable/hiad_app_down_btn_normal.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | -
4 |
5 |
6 |
7 |
8 |
9 |
10 | -
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/ads-interstitial/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | ads-interstitial
4 |
5 |
6 |
7 |
8 |
9 | com.android.ide.eclipse.adt.ResourceManagerBuilder
10 |
11 |
12 |
13 |
14 | com.android.ide.eclipse.adt.PreCompilerBuilder
15 |
16 |
17 |
18 |
19 | org.eclipse.jdt.core.javabuilder
20 |
21 |
22 |
23 |
24 | com.android.ide.eclipse.adt.ApkBuilder
25 |
26 |
27 |
28 |
29 |
30 | com.android.ide.eclipse.adt.AndroidNature
31 | org.eclipse.jdt.core.javanature
32 |
33 |
34 |
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | HuaweiAdsSdk_Demo_Eclipse
4 |
5 |
6 |
7 |
8 |
9 | com.android.ide.eclipse.adt.ResourceManagerBuilder
10 |
11 |
12 |
13 |
14 | com.android.ide.eclipse.adt.PreCompilerBuilder
15 |
16 |
17 |
18 |
19 | org.eclipse.jdt.core.javabuilder
20 |
21 |
22 |
23 |
24 | com.android.ide.eclipse.adt.ApkBuilder
25 |
26 |
27 |
28 |
29 |
30 | com.android.ide.eclipse.adt.AndroidNature
31 | org.eclipse.jdt.core.javanature
32 |
33 |
34 |
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/proguard-project.txt:
--------------------------------------------------------------------------------
1 | # To enable ProGuard in your project, edit project.properties
2 | # to define the proguard.config property as described in that file.
3 | #
4 | # Add project specific ProGuard rules here.
5 | # By default, the flags in this file are appended to flags specified
6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt
7 | # You can edit the include path and order by changing the ProGuard
8 | # include property in project.properties.
9 | #
10 | # For more details, see
11 | # http://developer.android.com/guide/developing/tools/proguard.html
12 |
13 | # Add any project specific keep options here:
14 |
15 | # If your project uses WebView with JS, uncomment the following
16 | # and specify the fully qualified class name to the JavaScript interface
17 | # class:
18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
19 | # public *;
20 | #}
21 | -keep class com.huawei.openalliance.ad.** { *; }
22 | -keep class com.huawei.hms.ads.** { *; }
23 |
--------------------------------------------------------------------------------
/ads-identifier/proguard-project.txt:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # You can control the set of applied configuration files using the
3 | # proguardFiles setting in build.gradle.
4 | #
5 | # For more details, see
6 | # http://developer.android.com/guide/developing/tools/proguard.html
7 |
8 | # If your project uses WebView with JS, uncomment the following
9 | # and specify the fully qualified class name to the JavaScript interface
10 | # class:
11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12 | # public *;
13 | #}
14 |
15 | # Uncomment this to preserve the line number information for
16 | # debugging stack traces.
17 | #-keepattributes SourceFile,LineNumberTable
18 |
19 | # If you keep the line number information, uncomment this to
20 | # hide the original source file name.
21 | #-renamesourcefileattribute SourceFile
22 | -keepnames class * implements android.os.Parcelable
23 | -keepclassmembers class * implements android.os.Parcelable {
24 | public final static *** CREATOR;
25 | }
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/res/drawable/app_whythisad_info.xml:
--------------------------------------------------------------------------------
1 |
3 |
7 |
10 |
11 |
--------------------------------------------------------------------------------
/ads-native/res/drawable/hiad_app_down_btn_processing_hm.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 | -
8 |
9 |
10 |
11 |
12 |
13 |
14 | -
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/project.properties:
--------------------------------------------------------------------------------
1 | # This file is automatically generated by Android Tools.
2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED!
3 | #
4 | # This file must be checked in Version Control Systems.
5 | #
6 | # To customize properties used by the Ant build system edit
7 | # "ant.properties", and override values to adapt the script to your
8 | # project structure.
9 | #
10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
12 |
13 | # Project target.
14 | target=android-29
15 | manifestmerger.enabled=true
16 |
17 | android.library.reference.5=../ads-native
18 | android.library.reference.6=../ads-reward
19 | android.library.reference.7=../ads-splash
20 | android.library.reference.1=../ads-base
21 | android.library.reference.2=../ads-banner
22 | android.library.reference.3=../ads-consent
23 | android.library.reference.4=../ads-interstitial
24 | android.library.reference.8=../ads-instream
25 |
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
14 |
15 |
16 |
19 |
20 |
21 |
25 |
26 |
--------------------------------------------------------------------------------
/ads-base/res/layout/hiad_loading_dialog_content.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
17 |
18 |
24 |
--------------------------------------------------------------------------------
/ads-native/res/layout/hiad_open_app_dialog.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
17 |
18 |
27 |
--------------------------------------------------------------------------------
/ads-base/res/layout/hiad_permission_dialog_cotent.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
19 |
20 |
25 |
--------------------------------------------------------------------------------
/ads-native/res/layout/hiad_choices_whythisad_root.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
14 |
15 |
16 |
17 |
18 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ads-native/res/drawable/hiad_app_down_btn_installing_hm.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 | -
8 |
9 |
10 |
11 |
14 |
15 |
16 | -
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/src/com/huawei/hms/ads/sdk/AdSampleApplication.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2020. Huawei Technologies Co., Ltd. All rights reserved.
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.huawei.hms.ads.sdk;
18 |
19 | import android.app.Application;
20 |
21 | import com.huawei.hms.ads.HwAds;
22 |
23 | public class AdSampleApplication extends Application {
24 |
25 | @Override
26 | public void onCreate() {
27 | super.onCreate();
28 |
29 | // Initialize the Petal Ads SDK.
30 | HwAds.init(this);
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/ads-native/res/values/values.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
9 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/ads-splash/res/drawable-anydpi-v24/hiad_ic_pro_icon.xml:
--------------------------------------------------------------------------------
1 |
7 |
13 |
14 |
--------------------------------------------------------------------------------
/ads-splash/res/layout/hiad_view_stub_logo.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
13 |
26 |
--------------------------------------------------------------------------------
/ads-native/res/drawable/hiad_app_down_btn_processing.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | -
4 |
5 |
-
6 |
7 |
8 |
9 |
10 |
11 |
12 | -
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/ads-native/res/drawable-anydpi-v24/hiad_choices_feedback_close.xml:
--------------------------------------------------------------------------------
1 |
6 |
13 |
19 |
20 |
--------------------------------------------------------------------------------
/ads-jsbridge/proguard-project.txt:
--------------------------------------------------------------------------------
1 | -keep @interface com.huawei.hms.ads.jsb.annotations.OuterVisible
2 | -keep @interface com.huawei.hms.ads.jsb.annotations.DataKeep
3 |
4 | -keep @com.huawei.hms.ads.jsb.annotations.OuterVisible class *
5 | -keepclassmembers class * {
6 | @com.huawei.hms.ads.jsb.annotations.OuterVisible *;
7 | }
8 |
9 | -keep @com.huawei.hms.ads.jsb.annotations.OuterVisible enum * {
10 | ;
11 | public static **[] values();
12 | public static ** valueOf(java.lang.String);
13 | }
14 |
15 | -keepclassmembers enum * {
16 | @com.huawei.hms.ads.jsb.annotations.OuterVisible *;
17 | }
18 |
19 | -keep,includedescriptorclasses @com.huawei.hms.ads.jsb.annotations.OuterVisible interface * { *; }
20 |
21 | -keep @com.huawei.hms.ads.jsb.annotations.DataKeep class * {
22 | ;
23 | ();
24 | }
25 |
26 | -keep class com.huawei.hms.ads.jsb.constant.** { *; }
27 | -keep interface com.huawei.hms.ads.jsb.constant.** { *; }
28 | -keep enum com.huawei.hms.ads.jsb.constant.** { *; }
29 |
30 | -dontwarn com.huawei.hms.framework.**
31 |
32 | -keepnames class * implements android.os.Parcelable
33 | -keepclassmembers class * implements android.os.Parcelable {
34 | public final static *** CREATOR;
35 | }
--------------------------------------------------------------------------------
/ads-banner/res/drawable-anydpi-v24/hiad_banner_close_btn.xml:
--------------------------------------------------------------------------------
1 |
6 |
13 |
19 |
20 |
--------------------------------------------------------------------------------
/ads-base/res/drawable-anydpi-v24/hiad_choices_whythisad_x.xml:
--------------------------------------------------------------------------------
1 |
6 |
13 |
19 |
20 |
--------------------------------------------------------------------------------
/ads-native/res/drawable-anydpi-v24/hiad_banner_skip_whythisad.xml:
--------------------------------------------------------------------------------
1 |
6 |
13 |
19 |
20 |
--------------------------------------------------------------------------------
/README_ZH.md:
--------------------------------------------------------------------------------
1 | # 鲸鸿动能广告服务Eclipse示例代码
2 | 中文 | [English](https://github.com/HMS-Core/hms-ads-demo-eclipse)
3 | ## 目录
4 |
5 | * [简介](#简介)
6 | * [授权许可](#授权许可)
7 |
8 | ## 简介
9 | 鲸鸿动能广告服务Eclipse示例代码向您介绍如何将鲸鸿动能SDK集成到应用中,实现广告展示。详情请参见[在Eclipse项目中集成鲸鸿动能SDK](https://developer.huawei.com/consumer/en/doc/development/HMSCore-Guides/eclipse-integrating-sdk-0000001055373923)。
10 |
该示例也可以通过HMS Toolkit快速启动运行,且支持各Kit一站式集成,并提供远程真机免费调测等功能。了解更多信息,请参见[HMS Toolkit](https://developer.huawei.com/consumer/cn/doc/development/Tools-Guides/getting-started-0000001077381096)。
11 |
12 | ## 技术支持
13 | 如果您对HMS Core还处于评估阶段,可在[Reddit社区](https://www.reddit.com/r/HuaweiDevelopers/)获取关于HMS Core的最新讯息,并与其他开发者交流见解。
14 |
15 | 如果您对使用HMS示例代码有疑问,请尝试:
16 | - 开发过程遇到问题上[Stack Overflow](https://stackoverflow.com/questions/tagged/huawei-mobile-services),在`huawei-mobile-services`标签下提问,有华为研发专家在线一对一解决您的问题。
17 | - 到[华为开发者论坛](https://forums.developer.huawei.com/forumPortal/en/home?fid=0101187876626530001) HMS Core板块与其他开发者进行交流。
18 |
19 | 如果您在尝试示例代码中遇到问题,请向仓库提交[issue](https://github.com/HMS-Core/hms-ads-demo-eclipse/issues),也欢迎您提交[Pull Request](https://github.com/HMS-Core/hms-ads-demo-eclipse/pulls)。
20 |
21 | ## 授权许可
22 | 鲸鸿动能广告服务Eclipse示例代码经过 [Apache License, version 2.0](http://www.apache.org/licenses/LICENSE-2.0)授权许可。
23 |
--------------------------------------------------------------------------------
/ads-consent/proguard-project.txt:
--------------------------------------------------------------------------------
1 | -keep @interface com.huawei.hms.ads.consent.annotations.OuterVisible
2 | -keep @interface com.huawei.hms.ads.consent.annotations.DataKeep
3 |
4 | -keep @com.huawei.hms.ads.consent.annotations.OuterVisible class *
5 | -keepclassmembers class * {
6 | @com.huawei.hms.ads.consent.annotations.OuterVisible *;
7 | }
8 |
9 | -keep @com.huawei.hms.ads.consent.annotations.OuterVisible enum * {
10 | ;
11 | public static **[] values();
12 | public static ** valueOf(java.lang.String);
13 | }
14 |
15 | -keepclassmembers enum * {
16 | @com.huawei.hms.ads.consent.annotations.OuterVisible *;
17 | }
18 |
19 | -keep,includedescriptorclasses @com.huawei.hms.ads.consent.annotations.OuterVisible interface * { *; }
20 |
21 | -keep @com.huawei.hms.ads.consent.annotations.DataKeep class * {
22 | ;
23 | ();
24 | }
25 |
26 | -keep class com.huawei.hms.ads.consent.constant.** { *; }
27 | -keep interface com.huawei.hms.ads.consent.constant.** { *; }
28 | -keep enum com.huawei.hms.ads.consent.constant.** { *; }
29 |
30 | -dontwarn com.huawei.hms.framework.**
31 |
32 | -keepnames class * implements android.os.Parcelable
33 | -keepclassmembers class * implements android.os.Parcelable {
34 | public final static *** CREATOR;
35 | }
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/src/com/huawei/hms/ads/sdk/AdFormat.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2020. Huawei Technologies Co., Ltd. All rights reserved.
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.huawei.hms.ads.sdk;
18 |
19 |
20 | public class AdFormat {
21 | /**
22 | * Item name
23 | */
24 | private String title;
25 |
26 | /**
27 | * Target activity
28 | */
29 | private Class targetClass;
30 |
31 | public AdFormat(String title, Class> targetClass) {
32 | this.title = title;
33 | this.targetClass = targetClass;
34 | }
35 |
36 | public String getTitle() {
37 | return title;
38 | }
39 |
40 | public Class getTargetClass() {
41 | return targetClass;
42 | }
43 | }
44 |
--------------------------------------------------------------------------------
/ads-native/res/layout/hiad_choices_whythisad.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
12 |
13 |
19 |
20 |
21 |
26 |
27 |
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/src/com/huawei/hms/ads/sdk/AdsConstant.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2020. Huawei Technologies Co., Ltd. All rights reserved.
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.huawei.hms.ads.sdk;
18 |
19 | public class AdsConstant {
20 |
21 | /**
22 | * SharedPreferences name.
23 | */
24 | public static final String SP_NAME = "HuaweiAdsSdkSharedPreferences";
25 |
26 | /**
27 | * The SP key of protocol.
28 | */
29 | public static final String SP_PROTOCOL_KEY = "protocol";
30 |
31 | /**
32 | * The SP key of consent.
33 | */
34 | public static final String SP_CONSENT_KEY = "consent";
35 |
36 | /**
37 | * The SP default value of protocol.
38 | */
39 | public static final int DEFAULT_SP_PROTOCOL_VALUE = 0;
40 |
41 | /**
42 | * The SP default value of consent.
43 | */
44 | public static final int DEFAULT_SP_CONSENT_VALUE = -1;
45 | }
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/res/layout/dialog_consent.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
15 |
16 |
25 |
26 |
27 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/ads-native/res/drawable/hiad_app_down_btn_normal_hm.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 | -
8 |
9 |
10 |
11 |
12 |
13 |
14 | -
15 |
16 |
17 |
18 |
19 |
20 |
21 | -
22 |
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/res/layout/dialog_consent_moreinfo.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
20 |
21 |
29 |
30 |
38 |
39 |
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/res/layout/activity_reward.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
14 |
15 |
16 |
24 |
25 |
33 |
34 |
42 |
43 |
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/src/com/huawei/hms/ads/sdk/AdSampleAdapter.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2020. Huawei Technologies Co., Ltd. All rights reserved.
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.huawei.hms.ads.sdk;
18 |
19 | import android.content.Context;
20 | import android.view.LayoutInflater;
21 | import android.view.View;
22 | import android.view.ViewGroup;
23 | import android.widget.ArrayAdapter;
24 | import android.widget.TextView;
25 |
26 | import java.util.List;
27 |
28 | public class AdSampleAdapter extends ArrayAdapter {
29 | private Context mContext;
30 |
31 | private int resourceId;
32 |
33 | public AdSampleAdapter(Context context, int resource, List formatList) {
34 | super(context, resource, formatList);
35 | mContext = context;
36 | resourceId = resource;
37 | }
38 |
39 | @Override
40 | public View getView(int position, View convertView, ViewGroup parent) {
41 | AdFormat adFormat = getItem(position);
42 | View view = LayoutInflater.from(mContext).inflate(resourceId, parent, false);
43 | TextView title = view.findViewById(android.R.id.text1);
44 | title.setText(adFormat.getTitle());
45 | return view;
46 | }
47 | }
48 |
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/src/com/huawei/hms/ads/sdk/ProtocolActivity.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2020. Huawei Technologies Co., Ltd. All rights reserved.
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.huawei.hms.ads.sdk;
18 |
19 | import android.app.Activity;
20 | import android.os.Bundle;
21 |
22 |
23 | import com.huawei.hms.ads.sdk.dialogs.ProtocolDialog;
24 |
25 | /**
26 | * Activity for displaying privacy information.
27 | */
28 | public class ProtocolActivity extends Activity implements ProtocolDialog.ProtocolDialogCallback {
29 | @Override
30 | protected void onCreate(Bundle savedInstanceState) {
31 | super.onCreate(savedInstanceState);
32 | setTitle(getString(R.string.privacy_settings));
33 |
34 | showProtocolDialog();
35 | }
36 |
37 | /**
38 | * Display a protocol dialog.
39 | */
40 | private void showProtocolDialog() {
41 | // Start to process the protocol dialog box.
42 | ProtocolDialog dialog = new ProtocolDialog(this);
43 | dialog.setCallback(this);
44 | dialog.setCanceledOnTouchOutside(false);
45 | dialog.show();
46 | }
47 |
48 | @Override
49 | public void agree() {
50 | finish();
51 | }
52 |
53 | @Override
54 | public void cancel() {
55 | finish();
56 | }
57 | }
58 |
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/res/layout/dialog_consent_partner_list.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
19 |
20 |
30 |
31 |
39 |
40 |
48 |
49 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Petal Ads Demo for Eclipse
2 | English | [中文](https://github.com/HMS-Core/hms-ads-demo-eclipse/blob/master/README_ZH.md)
3 | ## Table of Contents
4 |
5 | * [Introduction](#introduction)
6 | * [License](#license)
7 |
8 | ## Introduction
9 | The hms-ads-demo-eclipse project demonstrates how to integrate the Petal Ads SDK into Your App Project in the Eclipse IDE.
10 | Please refer to [Integrating the Petal Ads SDK into Your App Project in the Eclipse IDE](https://developer.huawei.com/consumer/en/doc/development/HMSCore-Guides/eclipse-integrating-sdk-0000001055373923).
11 |
You also can use HMS Toolkit to quickly integrate the kit and run the demo project, as well as debug the app using a remote device for free. For details, please visit [HMS Toolkit](https://developer.huawei.com/consumer/en/doc/development/Tools-Guides/getting-started-0000001077381096).
12 |
13 | ## Question or issues
14 | If you want to evaluate more about HMS Core,
15 | [HMSCore on Reddit](https://www.reddit.com/r/HuaweiDevelopers/) is for you to keep up with latest news about HMS Core, and to exchange insights with other developers.
16 |
17 | If you have questions about how to use HMS samples, try the following options:
18 | - [Stack Overflow](https://stackoverflow.com/questions/tagged/huawei-mobile-services) is the best place for any programming questions. Be sure to tag your question with
19 | `huawei-mobile-services`.
20 | - [Huawei Developer Forum](https://forums.developer.huawei.com/forumPortal/en/home?fid=0101187876626530001) HMS Core Module is great for general questions, or seeking recommendations and opinions.
21 |
22 | If you run into a bug in our samples, please submit an [issue](https://github.com/HMS-Core/hms-ads-demo-eclipse/issues) to the Repository. Even better you can submit a [Pull Request](https://github.com/HMS-Core/hms-ads-demo-eclipse/pulls) with a fix.
23 |
24 | ## License
25 | hms-ads-demo-eclipse is licensed under the [Apache License, version 2.0](http://www.apache.org/licenses/LICENSE-2.0).
26 |
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/res/drawable-v24/ic_launcher_foreground.xml:
--------------------------------------------------------------------------------
1 |
7 |
12 |
13 |
19 |
22 |
25 |
26 |
27 |
28 |
34 |
35 |
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/res/layout/dialog_consent_content.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
20 |
21 |
29 |
30 |
40 |
41 |
50 |
51 |
--------------------------------------------------------------------------------
/ads-banner/proguard-project.txt:
--------------------------------------------------------------------------------
1 | -keep @interface com.huawei.hms.ads.annotation.GlobalApi
2 | -keep @interface com.huawei.hms.ads.annotation.AllApi
3 | -keep @interface com.huawei.openalliance.ad.annotations.ModuleVisible
4 | -keep @interface com.huawei.openalliance.ad.annotations.DataKeep
5 |
6 | -keep @com.huawei.hms.ads.annotation.GlobalApi class *
7 | -keepclassmembers class * {
8 | @com.huawei.hms.ads.annotation.GlobalApi *;
9 | }
10 |
11 | -keep @com.huawei.hms.ads.annotation.GlobalApi enum * {
12 | ;
13 | public static **[] values();
14 | public static ** valueOf(java.lang.String);
15 | }
16 |
17 | -keepclassmembers enum * {
18 | @com.huawei.hms.ads.annotation.GlobalApi *;
19 | }
20 |
21 | -keep @com.huawei.hms.ads.annotation.AllApi class *
22 | -keepclassmembers class * {
23 | @com.huawei.hms.ads.annotation.AllApi *;
24 | }
25 |
26 | -keep @com.huawei.hms.ads.annotation.AllApi enum * {
27 | ;
28 | public static **[] values();
29 | public static ** valueOf(java.lang.String);
30 | }
31 |
32 | -keepclassmembers enum * {
33 | @com.huawei.hms.ads.annotation.AllApi *;
34 | }
35 |
36 | -keep,includedescriptorclasses @com.huawei.hms.ads.annotation.GlobalApi interface * { *; }
37 | -keep,includedescriptorclasses @com.huawei.hms.ads.annotation.AllApi interface * { *; }
38 | -keep,includedescriptorclasses public @com.huawei.openalliance.ad.annotations.ModuleVisible interface * { *; }
39 |
40 | -keep @com.huawei.openalliance.ad.annotations.DataKeep class * {
41 | ;
42 | ();
43 | }
44 |
45 | -keep public @com.huawei.openalliance.ad.annotations.ModuleVisible class * {
46 | public *;
47 | protected *;
48 | public static *;
49 | }
50 |
51 | -keepnames class * implements android.os.Parcelable
52 | -keepclassmembers class * implements android.os.Parcelable {
53 | public final static *** CREATOR;
54 | }
55 |
56 | -keep class com.huawei.appmarket.service.externalservice.activityresult.IActivityResult {
57 | *;
58 | }
59 |
60 | -dontwarn com.huawei.openalliance.ad.**
61 | -dontwarn com.huawei.hms.ads.**
62 | -dontwarn com.huawei.secure.android.common.**
--------------------------------------------------------------------------------
/ads-base/proguard-project.txt:
--------------------------------------------------------------------------------
1 | -keep @interface com.huawei.hms.ads.annotation.GlobalApi
2 | -keep @interface com.huawei.hms.ads.annotation.AllApi
3 | -keep @interface com.huawei.openalliance.ad.annotations.ModuleVisible
4 | -keep @interface com.huawei.openalliance.ad.annotations.DataKeep
5 |
6 | -keep @com.huawei.hms.ads.annotation.GlobalApi class *
7 | -keepclassmembers class * {
8 | @com.huawei.hms.ads.annotation.GlobalApi *;
9 | }
10 |
11 | -keep @com.huawei.hms.ads.annotation.GlobalApi enum * {
12 | ;
13 | public static **[] values();
14 | public static ** valueOf(java.lang.String);
15 | }
16 |
17 | -keepclassmembers enum * {
18 | @com.huawei.hms.ads.annotation.GlobalApi *;
19 | }
20 |
21 | -keep @com.huawei.hms.ads.annotation.AllApi class *
22 | -keepclassmembers class * {
23 | @com.huawei.hms.ads.annotation.AllApi *;
24 | }
25 |
26 | -keep @com.huawei.hms.ads.annotation.AllApi enum * {
27 | ;
28 | public static **[] values();
29 | public static ** valueOf(java.lang.String);
30 | }
31 |
32 | -keepclassmembers enum * {
33 | @com.huawei.hms.ads.annotation.AllApi *;
34 | }
35 |
36 | -keep,includedescriptorclasses @com.huawei.hms.ads.annotation.GlobalApi interface * { *; }
37 | -keep,includedescriptorclasses @com.huawei.hms.ads.annotation.AllApi interface * { *; }
38 | -keep,includedescriptorclasses public @com.huawei.openalliance.ad.annotations.ModuleVisible interface * { *; }
39 |
40 | -keep @com.huawei.openalliance.ad.annotations.DataKeep class * {
41 | ;
42 | ();
43 | }
44 |
45 | -keep public @com.huawei.openalliance.ad.annotations.ModuleVisible class * {
46 | public *;
47 | protected *;
48 | public static *;
49 | }
50 |
51 | -keepnames class * implements android.os.Parcelable
52 | -keepclassmembers class * implements android.os.Parcelable {
53 | public final static *** CREATOR;
54 | }
55 |
56 | -keep class com.huawei.appmarket.service.externalservice.activityresult.IActivityResult {
57 | *;
58 | }
59 |
60 | -dontwarn com.huawei.openalliance.ad.**
61 | -dontwarn com.huawei.hms.ads.**
62 | -dontwarn com.huawei.secure.android.common.**
--------------------------------------------------------------------------------
/ads-native/proguard-project.txt:
--------------------------------------------------------------------------------
1 | -keep @interface com.huawei.hms.ads.annotation.GlobalApi
2 | -keep @interface com.huawei.hms.ads.annotation.AllApi
3 | -keep @interface com.huawei.openalliance.ad.annotations.ModuleVisible
4 | -keep @interface com.huawei.openalliance.ad.annotations.DataKeep
5 |
6 | -keep @com.huawei.hms.ads.annotation.GlobalApi class *
7 | -keepclassmembers class * {
8 | @com.huawei.hms.ads.annotation.GlobalApi *;
9 | }
10 |
11 | -keep @com.huawei.hms.ads.annotation.GlobalApi enum * {
12 | ;
13 | public static **[] values();
14 | public static ** valueOf(java.lang.String);
15 | }
16 |
17 | -keepclassmembers enum * {
18 | @com.huawei.hms.ads.annotation.GlobalApi *;
19 | }
20 |
21 | -keep @com.huawei.hms.ads.annotation.AllApi class *
22 | -keepclassmembers class * {
23 | @com.huawei.hms.ads.annotation.AllApi *;
24 | }
25 |
26 | -keep @com.huawei.hms.ads.annotation.AllApi enum * {
27 | ;
28 | public static **[] values();
29 | public static ** valueOf(java.lang.String);
30 | }
31 |
32 | -keepclassmembers enum * {
33 | @com.huawei.hms.ads.annotation.AllApi *;
34 | }
35 |
36 | -keep,includedescriptorclasses @com.huawei.hms.ads.annotation.GlobalApi interface * { *; }
37 | -keep,includedescriptorclasses @com.huawei.hms.ads.annotation.AllApi interface * { *; }
38 | -keep,includedescriptorclasses public @com.huawei.openalliance.ad.annotations.ModuleVisible interface * { *; }
39 |
40 | -keep @com.huawei.openalliance.ad.annotations.DataKeep class * {
41 | ;
42 | ();
43 | }
44 |
45 | -keep public @com.huawei.openalliance.ad.annotations.ModuleVisible class * {
46 | public *;
47 | protected *;
48 | public static *;
49 | }
50 |
51 | -keepnames class * implements android.os.Parcelable
52 | -keepclassmembers class * implements android.os.Parcelable {
53 | public final static *** CREATOR;
54 | }
55 |
56 | -keep class com.huawei.appmarket.service.externalservice.activityresult.IActivityResult {
57 | *;
58 | }
59 |
60 | -dontwarn com.huawei.openalliance.ad.**
61 | -dontwarn com.huawei.hms.ads.**
62 | -dontwarn com.huawei.secure.android.common.**
--------------------------------------------------------------------------------
/ads-reward/proguard-project.txt:
--------------------------------------------------------------------------------
1 | -keep @interface com.huawei.hms.ads.annotation.GlobalApi
2 | -keep @interface com.huawei.hms.ads.annotation.AllApi
3 | -keep @interface com.huawei.openalliance.ad.annotations.ModuleVisible
4 | -keep @interface com.huawei.openalliance.ad.annotations.DataKeep
5 |
6 | -keep @com.huawei.hms.ads.annotation.GlobalApi class *
7 | -keepclassmembers class * {
8 | @com.huawei.hms.ads.annotation.GlobalApi *;
9 | }
10 |
11 | -keep @com.huawei.hms.ads.annotation.GlobalApi enum * {
12 | ;
13 | public static **[] values();
14 | public static ** valueOf(java.lang.String);
15 | }
16 |
17 | -keepclassmembers enum * {
18 | @com.huawei.hms.ads.annotation.GlobalApi *;
19 | }
20 |
21 | -keep @com.huawei.hms.ads.annotation.AllApi class *
22 | -keepclassmembers class * {
23 | @com.huawei.hms.ads.annotation.AllApi *;
24 | }
25 |
26 | -keep @com.huawei.hms.ads.annotation.AllApi enum * {
27 | ;
28 | public static **[] values();
29 | public static ** valueOf(java.lang.String);
30 | }
31 |
32 | -keepclassmembers enum * {
33 | @com.huawei.hms.ads.annotation.AllApi *;
34 | }
35 |
36 | -keep,includedescriptorclasses @com.huawei.hms.ads.annotation.GlobalApi interface * { *; }
37 | -keep,includedescriptorclasses @com.huawei.hms.ads.annotation.AllApi interface * { *; }
38 | -keep,includedescriptorclasses public @com.huawei.openalliance.ad.annotations.ModuleVisible interface * { *; }
39 |
40 | -keep @com.huawei.openalliance.ad.annotations.DataKeep class * {
41 | ;
42 | ();
43 | }
44 |
45 | -keep public @com.huawei.openalliance.ad.annotations.ModuleVisible class * {
46 | public *;
47 | protected *;
48 | public static *;
49 | }
50 |
51 | -keepnames class * implements android.os.Parcelable
52 | -keepclassmembers class * implements android.os.Parcelable {
53 | public final static *** CREATOR;
54 | }
55 |
56 | -keep class com.huawei.appmarket.service.externalservice.activityresult.IActivityResult {
57 | *;
58 | }
59 |
60 | -dontwarn com.huawei.openalliance.ad.**
61 | -dontwarn com.huawei.hms.ads.**
62 | -dontwarn com.huawei.secure.android.common.**
--------------------------------------------------------------------------------
/ads-splash/proguard-project.txt:
--------------------------------------------------------------------------------
1 | -keep @interface com.huawei.hms.ads.annotation.GlobalApi
2 | -keep @interface com.huawei.hms.ads.annotation.AllApi
3 | -keep @interface com.huawei.openalliance.ad.annotations.ModuleVisible
4 | -keep @interface com.huawei.openalliance.ad.annotations.DataKeep
5 |
6 | -keep @com.huawei.hms.ads.annotation.GlobalApi class *
7 | -keepclassmembers class * {
8 | @com.huawei.hms.ads.annotation.GlobalApi *;
9 | }
10 |
11 | -keep @com.huawei.hms.ads.annotation.GlobalApi enum * {
12 | ;
13 | public static **[] values();
14 | public static ** valueOf(java.lang.String);
15 | }
16 |
17 | -keepclassmembers enum * {
18 | @com.huawei.hms.ads.annotation.GlobalApi *;
19 | }
20 |
21 | -keep @com.huawei.hms.ads.annotation.AllApi class *
22 | -keepclassmembers class * {
23 | @com.huawei.hms.ads.annotation.AllApi *;
24 | }
25 |
26 | -keep @com.huawei.hms.ads.annotation.AllApi enum * {
27 | ;
28 | public static **[] values();
29 | public static ** valueOf(java.lang.String);
30 | }
31 |
32 | -keepclassmembers enum * {
33 | @com.huawei.hms.ads.annotation.AllApi *;
34 | }
35 |
36 | -keep,includedescriptorclasses @com.huawei.hms.ads.annotation.GlobalApi interface * { *; }
37 | -keep,includedescriptorclasses @com.huawei.hms.ads.annotation.AllApi interface * { *; }
38 | -keep,includedescriptorclasses public @com.huawei.openalliance.ad.annotations.ModuleVisible interface * { *; }
39 |
40 | -keep @com.huawei.openalliance.ad.annotations.DataKeep class * {
41 | ;
42 | ();
43 | }
44 |
45 | -keep public @com.huawei.openalliance.ad.annotations.ModuleVisible class * {
46 | public *;
47 | protected *;
48 | public static *;
49 | }
50 |
51 | -keepnames class * implements android.os.Parcelable
52 | -keepclassmembers class * implements android.os.Parcelable {
53 | public final static *** CREATOR;
54 | }
55 |
56 | -keep class com.huawei.appmarket.service.externalservice.activityresult.IActivityResult {
57 | *;
58 | }
59 |
60 | -dontwarn com.huawei.openalliance.ad.**
61 | -dontwarn com.huawei.hms.ads.**
62 | -dontwarn com.huawei.secure.android.common.**
--------------------------------------------------------------------------------
/ads-instream/proguard-project.txt:
--------------------------------------------------------------------------------
1 | -keep @interface com.huawei.hms.ads.annotation.GlobalApi
2 | -keep @interface com.huawei.hms.ads.annotation.AllApi
3 | -keep @interface com.huawei.openalliance.ad.annotations.ModuleVisible
4 | -keep @interface com.huawei.openalliance.ad.annotations.DataKeep
5 |
6 | -keep @com.huawei.hms.ads.annotation.GlobalApi class *
7 | -keepclassmembers class * {
8 | @com.huawei.hms.ads.annotation.GlobalApi *;
9 | }
10 |
11 | -keep @com.huawei.hms.ads.annotation.GlobalApi enum * {
12 | ;
13 | public static **[] values();
14 | public static ** valueOf(java.lang.String);
15 | }
16 |
17 | -keepclassmembers enum * {
18 | @com.huawei.hms.ads.annotation.GlobalApi *;
19 | }
20 |
21 | -keep @com.huawei.hms.ads.annotation.AllApi class *
22 | -keepclassmembers class * {
23 | @com.huawei.hms.ads.annotation.AllApi *;
24 | }
25 |
26 | -keep @com.huawei.hms.ads.annotation.AllApi enum * {
27 | ;
28 | public static **[] values();
29 | public static ** valueOf(java.lang.String);
30 | }
31 |
32 | -keepclassmembers enum * {
33 | @com.huawei.hms.ads.annotation.AllApi *;
34 | }
35 |
36 | -keep,includedescriptorclasses @com.huawei.hms.ads.annotation.GlobalApi interface * { *; }
37 | -keep,includedescriptorclasses @com.huawei.hms.ads.annotation.AllApi interface * { *; }
38 | -keep,includedescriptorclasses public @com.huawei.openalliance.ad.annotations.ModuleVisible interface * { *; }
39 |
40 | -keep @com.huawei.openalliance.ad.annotations.DataKeep class * {
41 | ;
42 | ();
43 | }
44 |
45 | -keep public @com.huawei.openalliance.ad.annotations.ModuleVisible class * {
46 | public *;
47 | protected *;
48 | public static *;
49 | }
50 |
51 | -keepnames class * implements android.os.Parcelable
52 | -keepclassmembers class * implements android.os.Parcelable {
53 | public final static *** CREATOR;
54 | }
55 |
56 | -keep class com.huawei.appmarket.service.externalservice.activityresult.IActivityResult {
57 | *;
58 | }
59 |
60 | -dontwarn com.huawei.openalliance.ad.**
61 | -dontwarn com.huawei.hms.ads.**
62 | -dontwarn com.huawei.secure.android.common.**
--------------------------------------------------------------------------------
/ads-interstitial/proguard-project.txt:
--------------------------------------------------------------------------------
1 | -keep @interface com.huawei.hms.ads.annotation.GlobalApi
2 | -keep @interface com.huawei.hms.ads.annotation.AllApi
3 | -keep @interface com.huawei.openalliance.ad.annotations.ModuleVisible
4 | -keep @interface com.huawei.openalliance.ad.annotations.DataKeep
5 |
6 | -keep @com.huawei.hms.ads.annotation.GlobalApi class *
7 | -keepclassmembers class * {
8 | @com.huawei.hms.ads.annotation.GlobalApi *;
9 | }
10 |
11 | -keep @com.huawei.hms.ads.annotation.GlobalApi enum * {
12 | ;
13 | public static **[] values();
14 | public static ** valueOf(java.lang.String);
15 | }
16 |
17 | -keepclassmembers enum * {
18 | @com.huawei.hms.ads.annotation.GlobalApi *;
19 | }
20 |
21 | -keep @com.huawei.hms.ads.annotation.AllApi class *
22 | -keepclassmembers class * {
23 | @com.huawei.hms.ads.annotation.AllApi *;
24 | }
25 |
26 | -keep @com.huawei.hms.ads.annotation.AllApi enum * {
27 | ;
28 | public static **[] values();
29 | public static ** valueOf(java.lang.String);
30 | }
31 |
32 | -keepclassmembers enum * {
33 | @com.huawei.hms.ads.annotation.AllApi *;
34 | }
35 |
36 | -keep,includedescriptorclasses @com.huawei.hms.ads.annotation.GlobalApi interface * { *; }
37 | -keep,includedescriptorclasses @com.huawei.hms.ads.annotation.AllApi interface * { *; }
38 | -keep,includedescriptorclasses public @com.huawei.openalliance.ad.annotations.ModuleVisible interface * { *; }
39 |
40 | -keep @com.huawei.openalliance.ad.annotations.DataKeep class * {
41 | ;
42 | ();
43 | }
44 |
45 | -keep public @com.huawei.openalliance.ad.annotations.ModuleVisible class * {
46 | public *;
47 | protected *;
48 | public static *;
49 | }
50 |
51 | -keepnames class * implements android.os.Parcelable
52 | -keepclassmembers class * implements android.os.Parcelable {
53 | public final static *** CREATOR;
54 | }
55 |
56 | -keep class com.huawei.appmarket.service.externalservice.activityresult.IActivityResult {
57 | *;
58 | }
59 |
60 | -dontwarn com.huawei.openalliance.ad.**
61 | -dontwarn com.huawei.hms.ads.**
62 | -dontwarn com.huawei.secure.android.common.**
--------------------------------------------------------------------------------
/ads-base/res/drawable-anydpi-v21/hiad_choices_adchoice.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/ads-splash/res/layout/hiad_wls_view.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
9 |
10 |
14 |
15 |
16 |
31 |
32 |
53 |
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/res/layout/activity_consent.xml:
--------------------------------------------------------------------------------
1 |
10 |
11 |
15 |
16 |
23 |
24 |
31 |
32 |
33 |
40 |
41 |
50 |
51 |
52 |
--------------------------------------------------------------------------------
/ads-native/res/layout/hiad_choices_feedback.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
12 |
13 |
29 |
30 |
35 |
36 |
42 |
43 |
44 |
49 |
50 |
56 |
57 |
58 |
59 |
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/README.md:
--------------------------------------------------------------------------------
1 | ## HuaweiAdsSdk_Demo_Eclipse
2 |
3 |
4 | ## Table of Contents
5 |
6 | * [Introduction](#introduction)
7 | * [Installation](#installation)
8 | * [Configuration ](#configuration)
9 | * [Supported Environments](#supported-environments)
10 | * [Sample Code](#sample-code)
11 | * [License](#license)
12 |
13 |
14 | ## Introduction
15 | The HuaweiAdsSdk_Demo_Eclipse program demonstrates how to integrate the HMS Core Ads SDK into an Android app and display ads.
16 |
17 | ## Installation
18 | Install the program on Huawei Android mobile phones.
19 |
20 | ## Configuration
21 | N/A
22 |
23 | ## Supported Environments
24 | HMS Core (APK) 4.0.0 or later has been installed on Huawei Android phones.
25 |
26 | ## Sample Code
27 | The HuaweiAdsSdk_Demo_Eclipse program integrates the HMS Core Ads SDK and provides the pages for displaying banner, native, rewarded, interstitial, splash, and roll ads, respectively.
28 | The following classes in the demo are used for loading and displaying ads and collecting user comments:
29 |
30 | 1). BannerActivity.java
31 | Loads and displays banner ads.
32 | Code location: HuaweiAdsSdk_Demo_Eclipse\src\main\java\com\huawei\hms\ads\sdk\BannerActivity.java
33 |
34 | 2). NativeActivity.java
35 | Loads and displays native ads.
36 | Code location: HuaweiAdsSdk_Demo_Eclipse\src\main\java\com\huawei\hms\ads\sdk\NativeActivity.java
37 |
38 | 3). RewardActivity.java
39 | Loads and displays rewarded ads.
40 | Code location: HuaweiAdsSdk_Demo_Eclipse\src\main\java\com\huawei\hms\ads\sdk\RewardActivity.java
41 |
42 | 4). InterstitialActivity.java
43 | Loads and displays interstitial ads.
44 | Code location: HuaweiAdsSdk_Demo_Eclipse\src\main\java\com\huawei\hms\ads\sdk\InterstitialActivity.java
45 |
46 | 5). SplashActivity.java
47 | Loads and displays splash ads.
48 | Code location: HuaweiAdsSdk_Demo_Eclipse\src\main\java\com\huawei\hms\ads\sdk\SplashActivity.java
49 |
50 | 6). ConsentActivity.java
51 | Collects user consent.
52 | Code location: HuaweiAdsSdk_Demo_Eclipse\src\main\java\com\huawei\hms\ads\sdk\ConsentActivity.java
53 |
54 | 7). ProtocolActivity.java
55 | Collects user consent on privacy terms.
56 | Code location: HuaweiAdsSdk_Demo_Eclipse\src\main\java\com\huawei\hms\ads\sdk\ProtocolActivity.java
57 |
58 | 8). InstreamActivity.java
59 | Loads and displays roll ads.
60 | Code location: HuaweiAdsSdk_Demo\app\src\main\java\com\huawei\hms\ads\sdk\InstreamActivity.java
61 |
62 | ## License
63 | HuaweiAdsSdk_Demo_Eclipse is licensed under the [Apache License, version 2.0](http://www.apache.org/licenses/LICENSE-2.0).
64 |
--------------------------------------------------------------------------------
/ads-splash/res/layout/hiad_layout_splash_pro.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
14 |
15 |
21 |
22 |
39 |
40 |
51 |
52 |
53 |
54 |
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/res/layout/activity_interstitial.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
15 |
16 |
24 |
25 |
33 |
34 |
40 |
41 |
47 |
48 |
53 |
54 |
55 |
56 |
65 |
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/res/layout/activity_splash.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
15 |
16 |
23 |
24 |
31 |
32 |
36 |
37 |
44 |
45 |
52 |
53 |
54 |
62 |
63 |
64 |
65 |
70 |
71 |
72 |
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
10 |
11 |
17 |
22 |
23 |
24 |
25 |
26 |
27 |
32 |
33 |
38 |
43 |
48 |
53 |
58 |
64 |
69 |
70 |
71 |
72 |
--------------------------------------------------------------------------------
/ads-splash/res/layout/hiad_layout_splash_twist.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
17 |
18 |
25 |
26 |
27 |
49 |
50 |
72 |
73 |
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/res/layout/activity_native.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
11 |
12 |
22 |
23 |
27 |
28 |
34 |
35 |
41 |
42 |
47 |
48 |
53 |
54 |
55 |
63 |
64 |
65 |
70 |
71 |
72 |
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/res/layout/dialog_protocol.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
15 |
16 |
25 |
26 |
27 |
36 |
37 |
50 |
51 |
52 |
53 |
60 |
61 |
71 |
72 |
81 |
82 |
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/res/layout/native_small_template.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
17 |
18 |
26 |
27 |
36 |
37 |
45 |
46 |
55 |
56 |
69 |
70 |
79 |
80 |
81 |
82 |
83 |
--------------------------------------------------------------------------------
/ads-base/res/layout/hiad_app_allow_install_dialog_cotent.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
18 |
19 |
29 |
30 |
41 |
42 |
50 |
51 |
59 |
60 |
61 |
77 |
78 |
--------------------------------------------------------------------------------
/HuaweiAdsSdk_Demo/res/layout/native_video_template.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
14 |
15 |
19 |
20 |
25 |
26 |
35 |
36 |
48 |
49 |
62 |
63 |
64 |
70 |
71 |
82 |
83 |
84 |
85 |
--------------------------------------------------------------------------------
/ads-splash/res/layout/hiad_layout_splash_swipe.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
18 |
25 |
26 |
32 |
33 |
39 |
40 |
41 |
42 |
64 |
65 |
87 |
--------------------------------------------------------------------------------