├── family ├── .gitignore ├── consumer-rules.pro ├── src │ ├── main │ │ ├── AndroidManifest.xml │ │ └── res │ │ │ ├── values-zh │ │ │ └── strings.xml │ │ │ ├── values │ │ │ └── strings.xml │ │ │ ├── drawable │ │ │ └── base_family_btn_selector.xml │ │ │ └── layout │ │ │ └── activity_family_manage.xml │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── tuya │ │ │ └── smart │ │ │ └── bizbundle │ │ │ └── demo │ │ │ └── family │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── tuya │ │ └── smart │ │ └── bizbundle │ │ └── demo │ │ └── family │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── ipc ├── .gitignore ├── consumer-rules.pro ├── src │ ├── main │ │ ├── AndroidManifest.xml │ │ ├── res │ │ │ └── layout │ │ │ │ ├── activity_panel.xml │ │ │ │ └── list_home_item.xml │ │ └── java │ │ │ └── com │ │ │ └── tuya │ │ │ └── smart │ │ │ └── bizubundle │ │ │ └── ipc │ │ │ └── demo │ │ │ ├── ItemBean.java │ │ │ └── HomeAdapter.java │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── tuya │ │ │ └── smart │ │ │ └── bizubundle │ │ │ └── panel │ │ │ └── demo │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── tuya │ │ └── smart │ │ └── bizubundle │ │ └── panel │ │ └── demo │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── mall ├── .gitignore ├── consumer-rules.pro ├── src │ ├── main │ │ ├── AndroidManifest.xml │ │ ├── res │ │ │ └── layout │ │ │ │ ├── activity_web.xml │ │ │ │ └── activity_mall.xml │ │ └── java │ │ │ └── com │ │ │ └── tuya │ │ │ └── smart │ │ │ └── bizubundle │ │ │ └── mall │ │ │ └── demo │ │ │ ├── bean │ │ │ └── ItemBean.java │ │ │ └── WebActivity.java │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── tuya │ │ │ └── smart │ │ │ └── bizubundle │ │ │ └── mall │ │ │ └── demo │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── tuya │ │ └── smart │ │ └── bizubundle │ │ └── mall │ │ └── demo │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── ota ├── .gitignore ├── consumer-rules.pro ├── .settings │ └── org.eclipse.buildship.core.prefs ├── src │ ├── main │ │ ├── res │ │ │ ├── drawable │ │ │ │ ├── demo_simple_dialog_shape.xml │ │ │ │ └── base_ota_btn_selector.xml │ │ │ ├── values-zh │ │ │ │ └── strings.xml │ │ │ ├── values │ │ │ │ └── strings.xml │ │ │ └── layout │ │ │ │ ├── demo_dialog_dev_list.xml │ │ │ │ ├── demo_rv_item_simple_dev.xml │ │ │ │ └── activity_ota.xml │ │ ├── AndroidManifest.xml │ │ └── java │ │ │ └── com │ │ │ └── thingclips │ │ │ └── smart │ │ │ └── bizbundle │ │ │ └── ota │ │ │ └── demo │ │ │ └── SimpleDeviceBean.java │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── tuya │ │ │ └── smart │ │ │ └── bizbundle │ │ │ └── ota │ │ │ └── demo │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── tuya │ │ └── smart │ │ └── bizbundle │ │ └── ota │ │ └── demo │ │ └── ExampleInstrumentedTest.java ├── .classpath ├── proguard-rules.pro ├── .project └── build.gradle ├── panel ├── .gitignore ├── consumer-rules.pro ├── .settings │ └── org.eclipse.buildship.core.prefs ├── src │ ├── main │ │ ├── res │ │ │ ├── menu │ │ │ │ └── panel_menu.xml │ │ │ └── layout │ │ │ │ ├── activity_panel.xml │ │ │ │ └── list_home_item.xml │ │ └── AndroidManifest.xml │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── tuya │ │ │ └── smart │ │ │ └── bizubundle │ │ │ └── panel │ │ │ └── demo │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── tuya │ │ └── smart │ │ └── bizubundle │ │ └── panel │ │ └── demo │ │ └── ExampleInstrumentedTest.java ├── .classpath ├── proguard-rules.pro ├── .project └── build.gradle ├── scene ├── .gitignore ├── consumer-rules.pro ├── src │ └── main │ │ ├── AndroidManifest.xml │ │ └── res │ │ ├── values │ │ └── styles.xml │ │ └── layout │ │ └── activity_scene.xml ├── proguard-rules.pro └── build.gradle ├── share ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── values │ │ │ │ ├── strings.xml │ │ │ │ ├── colors.xml │ │ │ │ └── themes.xml │ │ │ ├── drawable │ │ │ │ └── ty_icon.png │ │ │ └── values-night │ │ │ │ └── themes.xml │ │ └── AndroidManifest.xml │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── tuya │ │ │ └── smart │ │ │ └── share │ │ │ └── ExampleUnitTest.kt │ └── androidTest │ │ └── java │ │ └── com │ │ └── tuya │ │ └── smart │ │ └── share │ │ └── ExampleInstrumentedTest.kt ├── proguard-rules.pro └── build.gradle ├── speech ├── .gitignore ├── consumer-rules.pro ├── src │ ├── main │ │ ├── res │ │ │ ├── values │ │ │ │ └── strings.xml │ │ │ └── layout │ │ │ │ └── activity_speech_demo.xml │ │ ├── AndroidManifest.xml │ │ └── java │ │ │ └── com │ │ │ └── tuya │ │ │ └── smart │ │ │ └── bizbundle │ │ │ └── demo │ │ │ └── speech │ │ │ └── SpeechDemoActivity.java │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── tuya │ │ │ └── smart │ │ │ └── bizbundle │ │ │ └── demo │ │ │ └── speech │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── tuya │ │ └── smart │ │ └── bizbundle │ │ └── demo │ │ └── speech │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── activator ├── .gitignore ├── consumer-rules.pro ├── src │ ├── main │ │ ├── res │ │ │ ├── values │ │ │ │ └── strings.xml │ │ │ └── layout │ │ │ │ └── activity_device_activator.xml │ │ ├── assets │ │ │ └── activator_auto_serach_capacity.json │ │ └── AndroidManifest.xml │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── tuya │ │ │ └── smart │ │ │ └── device │ │ │ └── activator │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── tuya │ │ └── smart │ │ └── device │ │ └── activator │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── control ├── .gitignore ├── consumer-rules.pro ├── src │ ├── main │ │ ├── res │ │ │ ├── values │ │ │ │ └── strings.xml │ │ │ ├── drawable │ │ │ │ └── config_icon_back.png │ │ │ └── layout │ │ │ │ ├── activity_control_manager.xml │ │ │ │ ├── activity_control_dev_list.xml │ │ │ │ └── item_simple_dev.xml │ │ ├── AndroidManifest.xml │ │ └── java │ │ │ └── com │ │ │ └── tuya │ │ │ └── smart │ │ │ └── bizubundle │ │ │ └── control │ │ │ └── demo │ │ │ └── ControlManagerActivity.java │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── tuya │ │ │ └── smart │ │ │ └── bizubundle │ │ │ └── control │ │ │ └── demo │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── tuya │ │ └── smart │ │ └── bizubundle │ │ └── control │ │ └── demo │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── feedback ├── consumer-rules.pro ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── values │ │ │ │ ├── colors.xml │ │ │ │ └── strings.xml │ │ │ └── layout │ │ │ │ └── activity_feedback.xml │ │ ├── AndroidManifest.xml │ │ └── java │ │ │ └── com │ │ │ └── tuya │ │ │ └── smart │ │ │ └── bizbundle │ │ │ └── demo │ │ │ └── FeedBackActivity.java │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── tuya │ │ │ └── smart │ │ │ └── bizbundle │ │ │ └── feedback │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── tuya │ │ └── smart │ │ └── bizbundle │ │ └── feedback │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── lightscene ├── .gitignore ├── consumer-rules.pro ├── src │ ├── main │ │ ├── res │ │ │ ├── drawable-xxhdpi │ │ │ │ └── scene_schedule_arrow_right.png │ │ │ ├── values-zh │ │ │ │ └── strings.xml │ │ │ ├── values │ │ │ │ └── strings.xml │ │ │ └── layout │ │ │ │ ├── activity_light_scene_manager.xml │ │ │ │ ├── lightscene_activity_list.xml │ │ │ │ └── home_item_list.xml │ │ └── AndroidManifest.xml │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── thingclips │ │ │ └── appsdk │ │ │ └── sample │ │ │ └── lightscene │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── thingclips │ │ └── appsdk │ │ └── sample │ │ └── lightscene │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── location ├── .gitignore ├── consumer-rules.pro ├── src │ ├── main │ │ ├── AndroidManifest.xml │ │ └── res │ │ │ └── layout │ │ │ └── activity_location.xml │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── tuya │ │ │ └── smart │ │ │ └── bizbundle │ │ │ └── demo │ │ │ └── location │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── tuya │ │ └── smart │ │ └── bizbundle │ │ └── demo │ │ └── location │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── message ├── consumer-rules.pro ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── values-zh │ │ │ │ └── strings.xml │ │ │ ├── values │ │ │ │ ├── colors.xml │ │ │ │ ├── strings.xml │ │ │ │ └── attrs.xml │ │ │ └── layout │ │ │ │ └── activity_message.xml │ │ ├── AndroidManifest.xml │ │ └── java │ │ │ └── com │ │ │ └── tuya │ │ │ └── smart │ │ │ └── bizbundle │ │ │ └── message │ │ │ └── demo │ │ │ └── MessageActivity.java │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── tuya │ │ │ └── smart │ │ │ └── bizbundle │ │ │ └── message │ │ │ └── demo │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── tuya │ │ └── smart │ │ └── bizbundle │ │ └── message │ │ └── demo │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── miniapp ├── .gitignore ├── consumer-rules.pro ├── src │ └── main │ │ ├── AndroidManifest.xml │ │ ├── res │ │ └── layout │ │ │ └── act_miniapp_sample.xml │ │ └── java │ │ └── com │ │ └── thingclips │ │ └── smart │ │ └── bizbundle │ │ └── miniapp │ │ └── demo │ │ └── ActMiniAppSample.java ├── proguard-rules.pro └── build.gradle ├── cloudstorage ├── .gitignore ├── consumer-rules.pro ├── src │ ├── main │ │ ├── res │ │ │ ├── values │ │ │ │ └── colors.xml │ │ │ └── layout │ │ │ │ └── activity_cloud_storage.xml │ │ └── AndroidManifest.xml │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── tuya │ │ │ └── smart │ │ │ └── bizubundle │ │ │ └── panel │ │ │ └── demo │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── tuya │ │ └── smart │ │ └── bizubundle │ │ └── panel │ │ └── demo │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── devicedetail ├── .gitignore ├── consumer-rules.pro ├── .settings │ └── org.eclipse.buildship.core.prefs ├── src │ └── main │ │ ├── res │ │ ├── menu │ │ │ └── action_panel.xml │ │ ├── drawable │ │ │ ├── demo_simple_dialog_shape.xml │ │ │ └── base_ota_btn_selector.xml │ │ └── layout │ │ │ ├── demo_dialog_dev_list.xml │ │ │ ├── activity_panel_more.xml │ │ │ └── demo_panel_rv_item_simple_dev.xml │ │ ├── AndroidManifest.xml │ │ ├── assets │ │ ├── deviceEditConfigList.json │ │ └── deviceDetail.json │ │ └── java │ │ └── com │ │ └── thingclips │ │ └── smart │ │ └── bizbundle │ │ └── devicedetail │ │ └── demo │ │ ├── SimpleDeviceBean.java │ │ └── PanelMoreItemClickServiceImp.java ├── .classpath ├── proguard-rules.pro ├── .project └── build.gradle ├── groupmanager ├── .gitignore ├── consumer-rules.pro ├── src │ ├── main │ │ ├── res │ │ │ ├── values │ │ │ │ └── strings.xml │ │ │ ├── drawable │ │ │ │ └── config_icon_back.png │ │ │ └── layout │ │ │ │ ├── activity_group_manager.xml │ │ │ │ ├── activity_group_list.xml │ │ │ │ └── item_simple_dev.xml │ │ ├── AndroidManifest.xml │ │ └── java │ │ │ └── com │ │ │ └── thingclips │ │ │ └── groupmanager │ │ │ ├── bean │ │ │ └── SimpleDeviceBean.java │ │ │ └── GroupManagerActivity.java │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── tuya │ │ │ └── groupmanager │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── tuya │ │ └── groupmanager │ │ └── ExampleInstrumentedTest.java ├── .settings │ └── org.eclipse.buildship.core.prefs ├── .classpath ├── proguard-rules.pro ├── .project └── build.gradle ├── third_service ├── .gitignore ├── consumer-rules.pro ├── src │ └── main │ │ ├── res │ │ ├── values-zh │ │ │ └── strings.xml │ │ ├── values │ │ │ └── strings.xml │ │ └── layout │ │ │ └── activity_third_service_manager.xml │ │ └── AndroidManifest.xml ├── proguard-rules.pro └── build.gradle ├── alexa_google_bind ├── .gitignore ├── consumer-rules.pro ├── src │ ├── main │ │ ├── res │ │ │ ├── values │ │ │ │ └── strings.xml │ │ │ └── layout │ │ │ │ ├── item_bind_list.xml │ │ │ │ └── activity_alexa_google_bind.xml │ │ ├── AndroidManifest.xml │ │ └── java │ │ │ └── com │ │ │ └── tuya │ │ │ └── smart │ │ │ └── bizbundle │ │ │ └── demo │ │ │ └── socialbind │ │ │ └── BindAdapter.java │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── tuya │ │ │ └── smart │ │ │ └── bizbundle │ │ │ └── demo │ │ │ └── socialbind │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── tuya │ │ └── smart │ │ └── bizbundle │ │ └── demo │ │ └── socialbind │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── app ├── .gitignore ├── .settings │ └── org.eclipse.buildship.core.prefs ├── src │ ├── main │ │ ├── assets │ │ │ ├── Manrope-Bold.ttf │ │ │ ├── iconfont │ │ │ │ └── default_iconfont.ttf │ │ │ └── thing_pbt_group_config.json │ │ ├── res │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── drawable-xhdpi │ │ │ │ └── ic_arrow_drop_down_black_24dp.png │ │ │ ├── mipmap-anydpi-v26 │ │ │ │ ├── ic_launcher.xml │ │ │ │ └── ic_launcher_round.xml │ │ │ ├── layout │ │ │ │ ├── recycler_item_family.xml │ │ │ │ ├── fragment_family.xml │ │ │ │ └── fragment_family_create.xml │ │ │ ├── drawable │ │ │ │ └── bg_text_bts.xml │ │ │ ├── drawable-v24 │ │ │ │ └── ic_launcher_foreground.xml │ │ │ └── values │ │ │ │ ├── styles.xml │ │ │ │ └── compat-colors.xml │ │ └── java │ │ │ └── com │ │ │ └── tuya │ │ │ └── smart │ │ │ └── bizubundle │ │ │ └── demo │ │ │ └── BizBundleFamilyServiceImpl.java │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── tuya │ │ │ └── smart │ │ │ └── bizubundle │ │ │ └── demo │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── tuya │ │ └── smart │ │ └── bizubundle │ │ └── demo │ │ └── ExampleInstrumentedTest.java ├── .classpath ├── proguard-rules.pro └── .project ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── qqmusic ├── build.gradle └── qqmusic-innovation-aidl-api-sdk-1.0.0-SNAPSHOT-release.aar ├── .gitignore ├── README_CN.md ├── settings.gradle ├── README.md ├── LICENSE ├── gradle.properties └── gradlew.bat /family/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /ipc/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /ipc/consumer-rules.pro: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /mall/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /mall/consumer-rules.pro: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ota/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /ota/consumer-rules.pro: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /panel/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /scene/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /share/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /speech/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /activator/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /activator/consumer-rules.pro: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /control/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /control/consumer-rules.pro: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /family/consumer-rules.pro: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /feedback/consumer-rules.pro: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lightscene/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /location/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /location/consumer-rules.pro: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /message/consumer-rules.pro: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /miniapp/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /miniapp/consumer-rules.pro: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /panel/consumer-rules.pro: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /scene/consumer-rules.pro: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /speech/consumer-rules.pro: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cloudstorage/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /cloudstorage/consumer-rules.pro: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /devicedetail/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /devicedetail/consumer-rules.pro: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /feedback/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /groupmanager/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /groupmanager/consumer-rules.pro: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lightscene/consumer-rules.pro: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /message/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /third_service/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /third_service/consumer-rules.pro: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /alexa_google_bind/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /alexa_google_bind/consumer-rules.pro: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | thingsrc 3 | libs -------------------------------------------------------------------------------- /control/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /groupmanager/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /speech/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /alexa_google_bind/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /app/.settings/org.eclipse.buildship.core.prefs: -------------------------------------------------------------------------------- 1 | connection.project.dir=.. 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /ota/.settings/org.eclipse.buildship.core.prefs: -------------------------------------------------------------------------------- 1 | connection.project.dir=.. 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /panel/.settings/org.eclipse.buildship.core.prefs: -------------------------------------------------------------------------------- 1 | connection.project.dir=.. 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /share/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | share 3 | -------------------------------------------------------------------------------- /message/src/main/res/values-zh/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /devicedetail/.settings/org.eclipse.buildship.core.prefs: -------------------------------------------------------------------------------- 1 | connection.project.dir=.. 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /groupmanager/.settings/org.eclipse.buildship.core.prefs: -------------------------------------------------------------------------------- 1 | connection.project.dir=.. 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITxiaoguang/tuya-ui-bizbundle-android-demo/main/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /app/src/main/assets/Manrope-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITxiaoguang/tuya-ui-bizbundle-android-demo/main/app/src/main/assets/Manrope-Bold.ttf -------------------------------------------------------------------------------- /qqmusic/build.gradle: -------------------------------------------------------------------------------- 1 | configurations.maybeCreate("default") 2 | artifacts.add("default", file('qqmusic-innovation-aidl-api-sdk-1.0.0-SNAPSHOT-release.aar')) -------------------------------------------------------------------------------- /share/src/main/res/drawable/ty_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITxiaoguang/tuya-ui-bizbundle-android-demo/main/share/src/main/res/drawable/ty_icon.png -------------------------------------------------------------------------------- /feedback/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #bdbdbd 4 | -------------------------------------------------------------------------------- /message/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #bdbdbd 4 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITxiaoguang/tuya-ui-bizbundle-android-demo/main/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITxiaoguang/tuya-ui-bizbundle-android-demo/main/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITxiaoguang/tuya-ui-bizbundle-android-demo/main/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITxiaoguang/tuya-ui-bizbundle-android-demo/main/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITxiaoguang/tuya-ui-bizbundle-android-demo/main/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/assets/iconfont/default_iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITxiaoguang/tuya-ui-bizbundle-android-demo/main/app/src/main/assets/iconfont/default_iconfont.ttf -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITxiaoguang/tuya-ui-bizbundle-android-demo/main/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITxiaoguang/tuya-ui-bizbundle-android-demo/main/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /control/src/main/res/drawable/config_icon_back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITxiaoguang/tuya-ui-bizbundle-android-demo/main/control/src/main/res/drawable/config_icon_back.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITxiaoguang/tuya-ui-bizbundle-android-demo/main/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITxiaoguang/tuya-ui-bizbundle-android-demo/main/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /activator/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 添加设备 4 | false> 5 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITxiaoguang/tuya-ui-bizbundle-android-demo/main/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /groupmanager/src/main/res/drawable/config_icon_back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITxiaoguang/tuya-ui-bizbundle-android-demo/main/groupmanager/src/main/res/drawable/config_icon_back.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_arrow_drop_down_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITxiaoguang/tuya-ui-bizbundle-android-demo/main/app/src/main/res/drawable-xhdpi/ic_arrow_drop_down_black_24dp.png -------------------------------------------------------------------------------- /qqmusic/qqmusic-innovation-aidl-api-sdk-1.0.0-SNAPSHOT-release.aar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITxiaoguang/tuya-ui-bizbundle-android-demo/main/qqmusic/qqmusic-innovation-aidl-api-sdk-1.0.0-SNAPSHOT-release.aar -------------------------------------------------------------------------------- /lightscene/src/main/res/drawable-xxhdpi/scene_schedule_arrow_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITxiaoguang/tuya-ui-bizbundle-android-demo/main/lightscene/src/main/res/drawable-xxhdpi/scene_schedule_arrow_right.png -------------------------------------------------------------------------------- /activator/src/main/assets/activator_auto_serach_capacity.json: -------------------------------------------------------------------------------- 1 | { 2 | "searchTypeZigbee": false, 3 | "searchTypeEZ": true, 4 | "searchTypePegasus": false, 5 | "searchTypeBle": false, 6 | "searchTypeWired": false, 7 | "searchTypeMatter": false 8 | } -------------------------------------------------------------------------------- /third_service/src/main/res/values-zh/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 短信通知 4 | 电话通知 5 | -------------------------------------------------------------------------------- /cloudstorage/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #6200EE 4 | #3700B3 5 | #03DAC5 6 | -------------------------------------------------------------------------------- /scene/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /share/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 6 | 7 | -------------------------------------------------------------------------------- /third_service/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | PUSH SMS 4 | PUSH CALL 5 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Mon Jun 19 17:32:48 CST 2023 2 | distributionBase=GRADLE_USER_HOME 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip 4 | distributionPath=wrapper/dists 5 | zipStorePath=wrapper/dists 6 | zipStoreBase=GRADLE_USER_HOME 7 | -------------------------------------------------------------------------------- /message/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /cloudstorage/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /feedback/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /speech/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /mall/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /family/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /devicedetail/src/main/res/menu/action_panel.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 8 | -------------------------------------------------------------------------------- /miniapp/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/caches 5 | /.idea/libraries 6 | /.idea/modules.xml 7 | /.idea/workspace.xml 8 | /.idea/navEditor.xml 9 | /.idea/assetWizardSettings.xml 10 | .DS_Store 11 | /build 12 | /app/src/main/assets/t_s.bmp 13 | /captures 14 | .externalNativeBuild 15 | .cxx 16 | .idea/ 17 | /panel/build -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /lightscene/src/main/res/values-zh/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 灯光场景管理 4 | 灯光场景列表 5 | 灯光场景创建 6 | 点击执行 7 | -------------------------------------------------------------------------------- /location/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ota/src/main/res/drawable/demo_simple_dialog_shape.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 7 | -------------------------------------------------------------------------------- /activator/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /panel/src/main/res/menu/panel_menu.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 8 | -------------------------------------------------------------------------------- /devicedetail/src/main/res/drawable/demo_simple_dialog_shape.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 7 | -------------------------------------------------------------------------------- /alexa_google_bind/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ota/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /mall/src/main/res/layout/activity_web.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | -------------------------------------------------------------------------------- /app/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /devicedetail/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /feedback/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | message center (start activity) 3 | message center (route) 4 | feedback(service) 5 | feedback(route) 6 | 7 | -------------------------------------------------------------------------------- /lightscene/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | LIGHT SCENE MANAGEMENT 4 | Light Scene List 5 | Light Scene Create 6 | Click Execute 7 | -------------------------------------------------------------------------------- /ota/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /panel/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /devicedetail/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /groupmanager/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /scene/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | -------------------------------------------------------------------------------- /control/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /ipc/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /panel/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /third_service/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /message/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | message 3 | 4 | message center (start activity) 5 | message center (route) 6 | feedback(service) 7 | feedback(route) 8 | 9 | -------------------------------------------------------------------------------- /family/src/main/res/values-zh/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 前往家庭管理页面 4 | 收到新的家庭邀请🎉 5 | 收到来自: %1$s 家庭的邀请 6 | 接受 7 | 拒绝 8 | -------------------------------------------------------------------------------- /share/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #FFBB86FC 4 | #FF6200EE 5 | #FF3700B3 6 | #FF03DAC5 7 | #FF018786 8 | #FF000000 9 | #FFFFFFFF 10 | -------------------------------------------------------------------------------- /groupmanager/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /family/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Navigate to family management page 3 | Received new Family invitation🎉 4 | Received an invitation from: %1$s 5 | Accept 6 | Reject 7 | -------------------------------------------------------------------------------- /share/src/test/java/com/tuya/smart/share/ExampleUnitTest.kt: -------------------------------------------------------------------------------- 1 | package com.tuya.smart.share 2 | 3 | import org.junit.Test 4 | 5 | import org.junit.Assert.* 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * See [testing documentation](http://d.android.com/tools/testing). 11 | */ 12 | class ExampleUnitTest { 13 | @Test 14 | fun addition_isCorrect() { 15 | assertEquals(4, 2 + 2) 16 | } 17 | } -------------------------------------------------------------------------------- /devicedetail/src/main/assets/deviceEditConfigList.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceEdit": [ 3 | { 4 | "name": "deviceEdit", 5 | "items": [ 6 | { 7 | "cellType": "dev_icon" 8 | }, 9 | { 10 | "cellType": "set_icon" 11 | }, 12 | { 13 | "cellType": "set_name" 14 | }, 15 | { 16 | "cellType": "set_position" 17 | } 18 | ] 19 | } 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /groupmanager/src/test/java/com/tuya/groupmanager/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.tuya.groupmanager; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /ota/src/main/res/values-zh/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 前往 OTA 升级页面 4 | 当前设备不支持固件升级 5 | 当前家庭: 6 | 当前家庭下无可用设备 7 | 当前家庭下的所有设备 8 | 返回首页 9 | -------------------------------------------------------------------------------- /README_CN.md: -------------------------------------------------------------------------------- 1 | # 涂鸦智能 UI 业务包 2 | 3 | ## 仓库介绍 4 | 5 | 涂鸦 Android 业务包 (Tuya Android BizBundle) 是指包含业务逻辑和 UI 界面的涂鸦垂直业务模块,旨在为基于涂鸦全屋智能 SDK 开发的客户提供快速一站式接入涂鸦业务模块的能力。你可以根据所选业务包运行对应 module 。 6 | 7 | ## 相关文档 8 | 9 | 涂鸦智能 UI 业务包 文档:https://developer.tuya.com/cn/docs/app-development/introduction?id=Ka8qhzjygzfau 10 | 11 | ## 如何获得技术支持 12 | 13 | 您可以通过以一下方式获得技术支持: 14 | 15 | * 涂鸦智能帮助中心:https://support.tuya.com/zh/help 16 | * 技术工单支持: https://iot.tuya.com/council/ 17 | 18 | ## 使用的开源 License 19 | 20 | 涂鸦智能 UI 业务包使用 MIT License. 21 | -------------------------------------------------------------------------------- /alexa_google_bind/src/main/res/layout/item_bind_list.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 12 | 13 | -------------------------------------------------------------------------------- /app/src/test/java/com/tuya/smart/bizubundle/demo/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.tuya.smart.bizubundle.demo; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /ota/src/test/java/com/tuya/smart/bizbundle/ota/demo/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.tuya.smart.bizbundle.ota.demo; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /activator/src/test/java/com/tuya/smart/device/activator/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.tuya.smart.device.activator; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /feedback/src/test/java/com/tuya/smart/bizbundle/feedback/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.tuya.smart.bizbundle.feedback; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /ipc/src/test/java/com/tuya/smart/bizubundle/panel/demo/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.tuya.smart.bizubundle.panel.demo; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /mall/src/test/java/com/tuya/smart/bizubundle/mall/demo/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.tuya.smart.bizubundle.mall.demo; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /family/src/test/java/com/tuya/smart/bizbundle/demo/family/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.tuya.smart.bizbundle.demo.family; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /panel/src/test/java/com/tuya/smart/bizubundle/panel/demo/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.tuya.smart.bizubundle.panel.demo; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /cloudstorage/src/test/java/com/tuya/smart/bizubundle/panel/demo/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.tuya.smart.bizubundle.panel.demo; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /control/src/test/java/com/tuya/smart/bizubundle/control/demo/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.tuya.smart.bizubundle.control.demo; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /location/src/test/java/com/tuya/smart/bizbundle/demo/location/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.tuya.smart.bizbundle.demo.location; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /message/src/test/java/com/tuya/smart/bizbundle/message/demo/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.tuya.smart.bizbundle.message.demo; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /lightscene/src/test/java/com/thingclips/appsdk/sample/lightscene/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.thingclips.appsdk.sample.lightscene; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /speech/src/test/java/com/tuya/smart/bizbundle/demo/speech/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.tuya.smart.bizbundle.demo.speech; 2 | 3 | import static org.junit.Assert.assertEquals; 4 | 5 | import org.junit.Test; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /alexa_google_bind/src/test/java/com/tuya/smart/bizbundle/demo/socialbind/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.tuya.smart.bizbundle.demo.socialbind; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /app/src/main/res/layout/recycler_item_family.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 14 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = "TuyaSamartBizubundle" 2 | include ':app' 3 | 4 | include ':panel' 5 | include ':qqmusic' 6 | include ':mall' 7 | include ':ipc' 8 | include ':cloudstorage' 9 | include ':feedback' 10 | include ':message' 11 | include ':activator' 12 | include ':scene' 13 | include ':ota' 14 | include ':family' 15 | include ":groupmanager" 16 | include ":devicedetail" 17 | include ":location" 18 | include ':panelmore' 19 | include ':alexa_google_bind' 20 | include ':lightscene' 21 | include ':share' 22 | include ':control' 23 | include ':third_service' 24 | include ':miniapp' 25 | -------------------------------------------------------------------------------- /family/src/main/res/drawable/base_family_btn_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /lightscene/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /ota/src/main/res/drawable/base_ota_btn_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /devicedetail/src/main/res/drawable/base_ota_btn_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /ota/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | false 3 | Go to OTA upgrade page 4 | This device can not support firmware upgrade 5 | Current family is: 6 | Current family has no available devices 7 | All devices under current home 8 | Back to homepage 9 | -------------------------------------------------------------------------------- /app/src/main/java/com/tuya/smart/bizubundle/demo/BizBundleFamilyServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.tuya.smart.bizubundle.demo; 2 | 3 | import com.thingclips.smart.commonbiz.bizbundle.family.api.AbsBizBundleFamilyService; 4 | 5 | public class BizBundleFamilyServiceImpl extends AbsBizBundleFamilyService { 6 | private long mHomeId; 7 | 8 | @Override 9 | public long getCurrentHomeId() { 10 | return mHomeId; 11 | } 12 | 13 | @Override 14 | public void shiftCurrentFamily(long familyId, String curName) { 15 | super.shiftCurrentFamily(familyId, curName); 16 | mHomeId = familyId; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /control/src/main/res/layout/activity_control_manager.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 |