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
Contributor
neela
Posts: 11
Registered: ‎09-13-2011
My Device: developer

Integrate ads for BB10 Qt App

Hi,

       I need to know how to integrate ads for BB10 Qt App.My app is developed in Qt and not using cascades.

so please help in this regard.I used QNX Momentics IDE for BlackBerry 10 Native SDK  Version: 10.2.1 for development and Z10 as target device.

 

Please use plain text.
Developer
BBSJdev
Posts: 6,094
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30
My Carrier: Orange

Re: Integrate ads for BB10 Qt App

[ Edited ]

Hi neela,

 

Can I ask a quick question as you've posted a few problems here and choosing not to use Cascades looks to be causing you problems.

 

It's possible to use the Qt libraries within Cascades.

 

Most developers have chosen this route, so the problems you face other developers will probably not know how to answer.

 

So why is it you chose not to do a Cascades project?

 

[Edit] Even sticking a NavPane frontend on to your code might have been more preferrable?

 

 


If you've been helped click on Like Button, if you've been saved buy the app. :smileyhappy:

Developer of stokLocker, Sympatico and Super Sentences.
Please use plain text.
Contributor
neela
Posts: 11
Registered: ‎09-13-2011
My Device: developer

Re: Integrate ads for BB10 Qt App

Thanks for your update,We would like to migrate to cascades.

        But our application's UI is QWidget based and every screen of our app  uses QWidget's overriding methods like,

        paintEvent(QPaintEvent *),

        mousePressEvent(QMouseEvent *mevent),

        mouseReleaseEvent(QMouseEvent *mevent).

     

We are looking for equivalent UI library with similiar overriding methods like above.Can you suggest?

Please use plain text.
Regular Contributor
coolneo
Posts: 56
Registered: ‎06-25-2012
My Device: non-blackberry user
My Carrier: Airtel

Re: Integrate ads for BB10 Qt App

Hello neela

 

I myself was in same situation long back when i have couple of apps written in QWdigets fior symbian but with progress nokia was making that time in QML and to take the advantages of news apis they were providing it was advisable and recommended to port the app to QML.

 

So same is the case with you either you can use any c++ add framework in your Qt code i am not aware of many or as said porting your app to cascades will get that a good look plus you can levarage lots of apis cascades offer !!

Please use plain text.
Developer
oniongarlic
Posts: 72
Registered: ‎10-19-2012
My Device: Playbook, BB10DevAlphaB
My Carrier: Sonera, Saunalahti

Re: Integrate ads for BB10 Qt App

What ad network are you using ? Inneractive ?
Please use plain text.
Contributor
neela
Posts: 11
Registered: ‎09-13-2011
My Device: developer

Re: Integrate ads for BB10 Qt App

Hi,

        Thanks,We are trying both inneractive and third party ad sdk.The above both are in cascades only,but our app is Qt Widget based.

Please use plain text.
Developer
oniongarlic
Posts: 72
Registered: ‎10-19-2012
My Device: Playbook, BB10DevAlphaB
My Carrier: Sonera, Saunalahti

Re: Integrate ads for BB10 Qt App

You could take a look inside the QML SDK inneractive offers and mimic what it does in C++ as unfortunately the Qt SDK they provide is a maemo/symbian binary blob only.
But it shouldn't be too hard as it doesn't do anything that special.
Please use plain text.