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

BlackBerry Advertising Service

Reply
Regular Contributor
alexchristou
Posts: 56
Registered: ‎03-02-2012
My Device: 9780 & Playbook 32GB & Dev Alpha
My Carrier: Vodafone GR

Re: Missing app files

It seems that i can do it without getting errors when building.

I ll be waiting for the sample app. thanks for your time, much appreciated!

Please use plain text.
Regular Contributor
alexchristou
Posts: 56
Registered: ‎03-02-2012
My Device: 9780 & Playbook 32GB & Dev Alpha
My Carrier: Vodafone GR

Re: Missing app files

ok problem sovled.

in main.cpp file 

i should add this:

#include <bb/cascades/advertisement/Banner>

 

and this

qmlRegisterType<bb::cascades::advertisement::Banner>("bb.cascades.advertisement", 1, 0, "Banner");

 

and the app is working.and ads are shown. Thanks! 

Please use plain text.