01-25-2013 11:29 AM
Before didn't check the status, but now, when I have change it, the Abort error desapears, but now, requestRegisterApplication return false, and the ResgistrationState is Unregistered. My code is:
mContext = new bb::platform::bbm::Context( QUuid( QString::fromUtf8(uuid) ) ); emit registrationStatus(mContext->registrationState()); qDebug() << "here"; BBMContext::instance()->setContext(mContext); //Setup the registration callback. bool bSuccess = QObject::connect(mContext, SIGNAL(registrationStateUpdated(bb::platform::bbm::RegistrationState::Type)), this, SLOT(registrationStatus(bb::platform::bbm::Registr ationState::Type))); bSuccess = mContext->requestRegisterApplication();