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

App development related product technical discussions, including OEM App, App SDK, device control interface development, mini program development and other topics.


Post Reply
duynguyenml
Posts: 1

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

Colin2
Posts: 14

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

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?
Post Reply