Page 1 of 1

[Android] Scene UI BizBundle not working after calling addSceneBean()

Posted: 2025年 Jul 1日 16:00
by duynguyenml

I'm currently integrating the Scene UI BizBundle into my application, but I'm facing an issue where the Scene UI is not showing up, even after calling addSceneBean().

Here’s how I’m calling it:
iThingSceneBusinessService?.addSceneBean((context as MainActivity), $homeId, 1001)

The Scene UI BizBundle is already added to build.gradle.
Other BizBundles like Device Control, Device Pairing, etc., are working correctly.
However, after calling addSceneBean(), there is no UI displayed and no error logs either.

My questions:
Is there any additional step required to trigger the Scene UI display?
Do I need to register or initialize anything else for Scene UI BizBundle to work?
Am I possibly missing some configuration in build.gradle or AndroidManifest.xml?

Additional Info:
SDK version: 6.2.2
BizBundlesBom version: 6.2.16

User is logged in, and homeId is set correctly


Re: [Android] Scene UI BizBundle not working after calling addSceneBean()

Posted: 2025年 Jul 2日 10:50
by Colin2

Hello, I am glad to receive your letter. Now I will help you to troubleshoot this problem.

  1. Has your iThingSceneBusinessService been initialized like our Demo? And check if it is not null?
  2. If it is not null, please check whether you can search the SceneConstructServiceImpl class globally?