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
Developer
rjshahan
Posts: 29
Registered: ‎04-02-2013
My Device: BlackBerry Z10
Accepted Solution

Integrating Ad SDK

I am trying to integrate the Ad SDK into my app, and have successfully managed to get the ads to show up on my device but when I edit the QML in the IDE i get the following error:

 

 

I belive it is caused because the advertisment library cant be found.

 

 

However, I have followed all the steps I found. I updated my Pro file to include the advertisment library 

 

and I have updated the main.cpp file to include the advertisment banner class and called the qml register as well.

 

Did I miss a step in the IDE? because while the QML doesnt show in the previewer it loads fine with the sample ads on my device.

 

I would really like to be able to see the previews in the IDE when working with the ad SDK.

Developer
rjshahan
Posts: 29
Registered: ‎04-02-2013
My Device: BlackBerry Z10

Re: Integrating Ad SDK

bump.

Anything?
Developer
bcs925
Posts: 262
Registered: ‎07-13-2012
My Device: PlayBook, DA B, DA C, LE Z10 #102, Q10, Z30

Re: Integrating Ad SDK

Custom declaration break the QML preview, they are aware and said they will work in future releases.  As long as it works fine on the device/sim you are fine.

---
Check out my BB10 Cascades Coding site: BBcascades.com & Cascades Blog: bbcascadescode.tumblr.com

My Built for BlackBerry app: The Dive Plan