Note that there are some explanatory texts on larger screens.

plurals
  1. POAdfonic Full Ad in Android blank screen
    primarykey
    data
    text
    <p>Using last Adfonic Sdk, and the Android guide : <a href="http://developer.adfonic.com/index.php/Android_SDK" rel="nofollow">http://developer.adfonic.com/index.php/Android_SDK</a></p> <p>I have created two slots for my app (at <a href="http://adfonic.com/sites-and-apps/ad-integration" rel="nofollow">http://adfonic.com/sites-and-apps/ad-integration</a>) a normal Text Link Banner and a Full Ad. </p> <p>When I test in the simple case following the guide, I get the simple banner on screen but not the full banner. </p> <p>My code is like follows: </p> <p>main.xml</p> <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" &gt; &lt;com.adfonic.android.AdfonicView xmlns:adfonic="http://schemas.android.com/apk/lib/com.adfonic.android" android:id="@+id/adfonicView" android:layout_width="wrap_content" android:layout_height="wrap_content" adfonic:adfonic_adslot_id="AD_SLOT_ID" adfonic:language="en" adfonic:refresh_ad="true" adfonic:refresh_time="30" /&gt; &lt;/RelativeLayout&gt; </code></pre> <p>MainActivity.java</p> <pre><code>public class MainActivity extends Activity { private final static String TAG = "Testing"; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); AdfonicView adView = (AdfonicView) findViewById(R.id.adfonicView); adView.setAdListener(new AdListener() { @Override public void onReceivedAd() { Log.d(TAG, "AdListener onReceivedAd()"); } @Override public void onPresentScreen() { Log.d(TAG, "AdListener onPresentScreen()"); } @Override public void onNoFill() { Log.d(TAG, "AdListener onNoFill()"); } @Override public void onNetworkError() { Log.d(TAG, "AdListener onNetworkError()"); } @Override public void onLeaveApplication() { Log.d(TAG, "AdListener onLeaveApplication()"); } @Override public void onInvalidRequest() { Log.d(TAG, "AdListener onInvalidRequest()"); } @Override public void onInternalError() { Log.d(TAG, "AdListener onInternalError()"); } @Override public void onDismissScreen() { Log.d(TAG, "AdListener onDismissScreen()"); } @Override public void onClick() { Log.d(TAG, "AdListener onClick()"); } }); }} </code></pre> <p>In Log, I get with normal banner the callbacks "onReceivedAd()" and "onPresentScreen()" are fired, but when full screen ad, only "onReceivedAd()" is been called. And the white screen remains.</p> <p>The responses for banner requests, are shown in Log too, and in both cases are correct. </p> <p>Any help is appreciated.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload