Skip to content

Commit

Permalink
Add mediation jars, fix AppBrainBanner listener API.
Browse files Browse the repository at this point in the history
  • Loading branch information
mathijs81 committed Jul 18, 2012
1 parent 1c0509f commit 7fdeee8
Show file tree
Hide file tree
Showing 8 changed files with 80 additions and 10 deletions.
Binary file modified appbrain-sdk-android.jar
Binary file not shown.
Binary file added applift-admob-mediation.jar
Binary file not shown.
Binary file added applift-adwhirl.jar
Binary file not shown.
Binary file modified example/libs/appbrain-sdk-android.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion example/res/layout/main.xml
Expand Up @@ -24,6 +24,6 @@


<View android:layout_height="0dp" android:layout_width="10dp" android:layout_weight="1"/> <View android:layout_height="0dp" android:layout_width="10dp" android:layout_weight="1"/>
<com.appbrain.AppBrainBanner xmlns:appbrain="http://schemas.android.com/apk/lib/com.appbrain" <com.appbrain.AppBrainBanner xmlns:appbrain="http://schemas.android.com/apk/lib/com.appbrain"
appbrain:colors="12" appbrain:looks="0" appbrain:title="0" appbrain:button="0" appbrain:colors="12" appbrain:design="0" appbrain:title="0" appbrain:button="0"
android:layout_width="fill_parent" android:layout_height="wrap_content"/> android:layout_width="fill_parent" android:layout_height="wrap_content"/>
</LinearLayout> </LinearLayout>
61 changes: 61 additions & 0 deletions javadoc/reference/com/appbrain/AppBrainBanner.Listener.html
Expand Up @@ -306,6 +306,24 @@ <h2>Summary</h2>






void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../com/appbrain/AppBrainBanner.Listener.html#onAdRequestDone(boolean)">onAdRequestDone</a></span>(boolean adAvailable)</nobr>

<div class="jd-descrdiv">Gets called after a call to requestAd().</div>

</td></tr>



<tr class=" api apilevel-" >
<td class="jd-typecol"><nobr>
abstract




void</nobr> void</nobr>
</td> </td>
<td class="jd-linkcol" width="100%"><nobr> <td class="jd-linkcol" width="100%"><nobr>
Expand Down Expand Up @@ -364,6 +382,48 @@ <h2>Public Methods</h2>






<A NAME="onAdRequestDone(boolean)"></A>

<div class="jd-details api apilevel-">
<h4 class="jd-details-title">
<span class="normal">
public


abstract

void
</span>
<span class="sympad">onAdRequestDone</span>
<span class="normal">(boolean adAvailable)</span>
</h4>
<div class="api-level">
<div>

</div>



</div>
<div class="jd-details-descr">

<div class="jd-tagdata jd-tagdescr"><p>Gets called after a call to requestAd().
The thread on which this method gets called is unspecified (it may be the UI thread or it may not be). </p></div>
<div class="jd-tagdata">
<h5 class="jd-tagtitle">Parameters</h5>
<table class="jd-tagtable">
<tr>
<th>adAvailable</td>
<td>Whether there's an ad available to serve or not.
</td>
</tr>
</table>
</div>

</div>
</div>


<A NAME="onClick()"></A> <A NAME="onClick()"></A>


<div class="jd-details api apilevel-"> <div class="jd-details api apilevel-">
Expand All @@ -390,6 +450,7 @@ <h4 class="jd-details-title">
<div class="jd-details-descr"> <div class="jd-details-descr">


<div class="jd-tagdata jd-tagdescr"><p>Gets called when a banner receives a click from the user. <div class="jd-tagdata jd-tagdescr"><p>Gets called when a banner receives a click from the user.
This method gets called on the UI thread.
</p></div> </p></div>


</div> </div>
Expand Down
12 changes: 4 additions & 8 deletions javadoc/reference/com/appbrain/AppBrainBanner.html
Expand Up @@ -1144,7 +1144,7 @@ <h2>Summary</h2>






boolean</nobr> void</nobr>
</td> </td>
<td class="jd-linkcol" width="100%"><nobr> <td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../com/appbrain/AppBrainBanner.html#requestAd()">requestAd</a></span>()</nobr> <span class="sympad"><a href="../../com/appbrain/AppBrainBanner.html#requestAd()">requestAd</a></span>()</nobr>
Expand Down Expand Up @@ -9035,7 +9035,7 @@ <h4 class="jd-details-title">




synchronized synchronized
boolean void
</span> </span>
<span class="sympad">requestAd</span> <span class="sympad">requestAd</span>
<span class="normal">()</span> <span class="normal">()</span>
Expand All @@ -9050,12 +9050,8 @@ <h4 class="jd-details-title">
</div> </div>
<div class="jd-details-descr"> <div class="jd-details-descr">


<div class="jd-tagdata jd-tagdescr"><p>Request an ad to be fetched.</p></div> <div class="jd-tagdata jd-tagdescr"><p>Request an ad to be fetched. If a listener was set on this banner, that listener will be notified of the result.
<div class="jd-tagdata"> </p></div>
<h5 class="jd-tagtitle">Returns</h5>
<ul class="nolist"><li>Whether an ad is available at the moment or not.
</li></ul>
</div>


</div> </div>
</div> </div>
Expand Down
15 changes: 14 additions & 1 deletion javadoc/reference/current.xml
Expand Up @@ -184,7 +184,7 @@
</parameter> </parameter>
</constructor> </constructor>
<method name="requestAd" <method name="requestAd"
return="boolean" return="void"
abstract="false" abstract="false"
native="false" native="false"
synchronized="true" synchronized="true"
Expand Down Expand Up @@ -267,6 +267,19 @@
deprecated="not deprecated" deprecated="not deprecated"
visibility="public" visibility="public"
> >
<method name="onAdRequestDone"
return="void"
abstract="true"
native="false"
synchronized="false"
static="false"
final="false"
deprecated="not deprecated"
visibility="public"
>
<parameter name="adAvailable" type="boolean">
</parameter>
</method>
<method name="onClick" <method name="onClick"
return="void" return="void"
abstract="true" abstract="true"
Expand Down

0 comments on commit 7fdeee8

Please sign in to comment.