How can I access the value of version sended with the AboutAnnouncement?

asked 2014-12-18 04:59:05 -0700

almcalle gravatar image

How can I access the value of version sended with the AboutAnnouncement? I mean the first q (Version)


The signal is emitted by a BusObject that implements the org.alljoyn.About interface and is a Sessionless signal.

I must override the method onAnnouncement() with a new one?

I' m using Java and windows 7. Thanks in advance!

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2014-12-18 10:55:05 -0700

georgen gravatar image

For the Java implementation of the Java service for some reason the version was not forwarded to the Announce handler. For the About Feature rework (done for the AllJoyn 14.12 release) the AboutListener does get the version. So you could update your code to use the latest About APIs.

At this point in time its not a major concern since there is only one version of the About feature so the version will currently always be 1

If for some reason you really feel you needed the version the only option I see is modify the code to forward the version to the Announce handler which may be more work than you want to do. If you want to go that route I can help just let me know.

edit flag offensive delete publish link more


Yes, It solved the problem, I had to use the last version.

almcalle ( 2015-01-29 03:20:51 -0700 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2014-12-18 04:59:05 -0700

Seen: 43 times

Last updated: Dec 18 '14