Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9158703
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T13:18:42+00:00 2026-06-17T13:18:42+00:00

So as question suggests im trying to get full screen ads working, and i

  • 0

So as question suggests im trying to get full screen ads working, and i have it so they do appear but they only stay there for 4 seconds or so but then dissapear

what am i not doing/ doing wrong, i cant seem to find any documentation from adfonic and all of admobs seems too different to be of any help.

public class AdPage extends Activity implements OnClickListener {

Button Close;

private final static String TAG = "Testing";

@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.ad_layout);

    final AdfonicView adView = (AdfonicView) findViewById(R.id.adfonicView);

    adView.setAdListener(new AdListener() {

        @Override
        public void onReceivedAd() {
            Log.d(TAG, "AdListener onReceivedAd()");

            adView.showInterstitial();

        }

        @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()");

        }
    });

This is the layout

<com.adfonic.android.AdfonicView
    xmlns:adfonic="http://schemas.android.com/apk/lib/com.adfonic.android"
    android:id="@+id/adfonicView"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    adfonic:adfonic_adslot_id="######"
    adfonic:language="en"
    adfonic:refresh_ad="true"
    adfonic:refresh_time="30" />
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T13:18:43+00:00Added an answer on June 17, 2026 at 1:18 pm

    http://developer.adfonic.com/index.php/Android_SDK

    With Adfonic at the moment for interstitial ads the timeout is 4 seconds.

    I believe in the next update of the SDK they are adding the capability to setting the timeout for your interstitial ads.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

There is a similar question on SO which suggests using NumberFormat which is what
What's up guys, just a quick question. I'm trying to get my GridView to
I am trying to get Altitude of my location in my application. But every
I have some seeds in my rails app that I am trying to get
(disclaimer: this question is much simpler than the title suggests!) I have a re-occuring
As the question states, I am trying to get a Path value, using JFileChooser.
I may have multiple questions here, but ultimately I'm trying to compile and run
I'm trying to implement what this answer suggests but without storing the display name
The very act of asking this question suggests that my approach to this problem
This question Check all associations before destroy in rails suggests using :dependent => :restrict

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.