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

Posts: 74
Registered: ‎12-17-2009
My Device: Z30
My Carrier: O2

Combining two sample apps



I am trying to make the BBMProfile sample app and BBM Registration sample app on the same page. I am new to C++ but from what I understand both class created two separate pages (profile.qml, and registration.qml) but I would like to merge them both into one page (bbm.qml).


How can I reference one of the class from the other so that I can use them both in the same page? 



Posts: 265
Registered: ‎01-02-2011
My Device: Z30, PlayBook
My Carrier: AT&T

Re: Combining two sample apps

Do you want to reference both on the qml page or between each other?


Take a look at the QML and C++ Integration documentation.  There are multiple ways of calling connecting between C++ and QML.

Meetup for BlackBerry 10
Meetup Search Tool - not available at the moment