1

How to execute the ControlPanel Actions without ControlPanelAdapter by Allseen-Android-SDK?

asked 2015-04-12 20:58:59 -0700

StannisLin gravatar image

updated 2015-04-15 21:16:26 -0700

Hi,

I am studying ControlPanelBrowser sample code v14.12 on Android, and I found out that all details of a ControlPanel device has been hidden by ControlPanelAdapter object, e.g. rootWidget, baseWidget, Actions.

But I would like to access the Actions or Properties from a ControlPanel device without ControlPanelAdapter. And I am trying it by object path of the root UIElement.

How to execute the ControlPanel Actions without ControlPanelAdapter by Allseen-Android-SDK?

Thanks.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-10-01 12:55:19 -0700

bspencer gravatar image

The ControlPanelAdapter was designed to create the widgets so that one doesn't need to worry about the lower details. If you require access to what a widget is doing and wish to bypass the Adapter layer you will need to directly interact with the Control Panel Interfaces on the Object Tree that is created. You can read up about the Control Panel Service spec so that you understand the AllJoyn interfaces and can then create ProxyBusObjects that correlate to the specific Object Path you wish to interact with.

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2015-04-12 20:58:59 -0700

Seen: 129 times

Last updated: Oct 01 '15