isBbmSetup?

I'm trying to use the isBbmSetup() function introduced in point 10.2 but he keeps returns false even when BBM is implemented on the device.

  RegistrationHandler *registrationHandler = new RegistrationHandler(uuid,app);

    m_context = registrationHandler->context();

    if (m_context->isBbmSetup()){
        qDebug() << "rjshahan bbm setup ";
        //connect(m_context, SIGNAL(registrationStateUpdated(bb::platform::bbm::RegistrationState::Type)), registrationHandler, SLOT(processRegistrationStatus(bb::platform::bbm::RegistrationState::Type)));
    }
    else{
        qDebug() << "rjshahan bbm not setup ";
    }

Any suggestions?

You need start recording of BBM before isBbmSetup returns valid values.

In the examples of applications of BBM, you could do this control in the BbmRegistrationProgress case:ending: in RegistrationHandler:rocessRegistrationStatus, or any time after that.

Tags: BlackBerry Developers

Similar Questions

Maybe you are looking for