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
Highlighted
New Developer
Posts: 12
Registered: ‎07-26-2013
My Device: Blackberry Dev Alpha C, Blackberry Playbook, Developer
My Carrier: None

How to get top level screen for Advertising Service integration.

Im using Haxe+NME to develop my application (already deployed to the market), now I'm trying to add Advertising Service support through a custom NME extension (a C++ library that gets linked to my app where I can use the Blackberry 10 native Sdk).

 

can see I the documentation that I need "top-level screen in the application" and "the group name of the top-level screen". My question is, how can I get these information if my lib "cant see" the place where these variables are declared/initialized?

 

Do I need to pass the variables somehow? Or can I acces the data I need from a native API?

Regular Contributor
Posts: 205
Registered: ‎06-11-2013
My Device: Blackbery z10
My Carrier: RIM

Re: How to get top level screen for Advertising Service integration.

Please provide some more details, what library you are using? and what you want to do exactly?