Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Highlighted
BlackBerry Development Advisor
Posts: 15,784
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Help integration my app in BBM 10

What error are you getting?

 

Here is the section of code from RegistrationHandler.cpp that displays the next screen after clicking on the Continue button.

 

void RegistrationHandler::continueToMainAppScreen()
{
	//Display the invite to download screen.
	Page* invitePage = new Page;
	QmlDocument* qmlContent = QmlDocument::create("asset:///invite.qml");
	if (qmlContent)
	{
		Control* content = qmlContent->createRootObject<Control>();
		invitePage->setContent(content);
		Application::instance()->setScene(invitePage);
	}

}

 

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Developer
Posts: 304
Registered: ‎08-14-2012
My Device: PlayBook, Z10, Dev C
My Carrier: Rogers

Re: Help integration my app in BBM 10

[ Edited ]

Sorry I found the mistake I ran the sample with out changing the uuid code.

BlackBerry 10 game reviews for the unknown, small and indie developers. Little games with big dreams. VeryBerryGames.com | Follow @VeryBerryGames | TwoCasualCoders.com | never casual on quality