T tamadon Active Member Licensed User Longtime User Nov 10, 2012 #1 I have never programmed in Java before so this is not very straight forward for me. I am trying to create my first library, the banner listener for Appbrain. Here's the SDK Link. I want to track if the ads are shown successfully or not. Do you have to raise an event for the onAdRequestDone(boolean adAvailable) on onClick methods(). But how do you do thatif you do not have an event name? I am going to use this in conjunction with SSG's MESAppBrain lib's http://www.b4x.com/forum/additional...in-another-monetization-option.html#post74354 But as you can see, the object is initialized without an event name. What am I missing here?
I have never programmed in Java before so this is not very straight forward for me. I am trying to create my first library, the banner listener for Appbrain. Here's the SDK Link. I want to track if the ads are shown successfully or not. Do you have to raise an event for the onAdRequestDone(boolean adAvailable) on onClick methods(). But how do you do thatif you do not have an event name? I am going to use this in conjunction with SSG's MESAppBrain lib's http://www.b4x.com/forum/additional...in-another-monetization-option.html#post74354 But as you can see, the object is initialized without an event name. What am I missing here?
Erel B4X founder Staff member Licensed User Longtime User Nov 11, 2012 #2 You can pass the EventName in any way you want. You can add a SetEventName method that stores the event name in an instance variable.
You can pass the EventName in any way you want. You can add a SetEventName method that stores the event name in an instance variable.