I'm struggling with a basic AllJoyn implementation.
I registered a BusListener on the BusAttachment and overwrite the foundAdvertisedName, like
mBus.registerBusListener(new BusListener()
{
@Override
public void foundAdvertisedName(String name, short transport, String namePrefix)
{
}
}
But when I call
mBus.findAdvertisedName(ServiceBusHandler.SERVICE_NAME);
it doesn't reach the foundAdvertisedName method.
What am I missing.