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

Java Development

Reply
Regular Contributor
manoj96067
Posts: 58
Registered: ‎09-21-2010
My Device: Not Specified

How to Display Advertisements in Blackberry Bold device?

Hi All,

 

I have downloaded the Advertisement SDK and creating an application using with ECLIPSE and JDK plugin.

I have written the code for creating Banner object as follows:

Banner bannerAd = new Banner(zoneId, null);

For testing/trial purpose I have used the zoneID as 16741. This is given in the following link:

http://docs.blackberry.com/en/developers/deliverables/37267/Creating_a_BB_app_that_displays_an_ad_11...

 

But when I run this applciation on simulator, no advertisement is displayed.

 

Please help me.

Thanks in advance.

 

Manoj Kumar

Please use plain text.
Developer
RexDoug
Posts: 4,764
Registered: ‎07-21-2008
My Device: Not Specified

Re: How to Display Advertisements in Blackberry Bold device?

Are you also running the "MDS-CS" simulator? This should be started up along with the simulator to handle simulation of the network.

 

Please use plain text.
Regular Contributor
manoj96067
Posts: 58
Registered: ‎09-21-2010
My Device: Not Specified

Re: How to Display Advertisements in Blackberry Bold device?

Hello Doug,

 

Yes, I am starting the MDS-CS with the simulator. But still nothing display on the advertisement area.

Can you please tell me what I am doing wrong?

 

Thanks,

Manoj Kumar

Please use plain text.