android-developers
[Arriba] [Todas las Listas]

[android-developers] Interstitial Lo cierro y re-abierto

To: Android Developers <android-developers@xxxxxxxxxxxxxxxx>
Subject: [android-developers] Interstitial Lo cierro y re-abierto
From: Burak Yıldırım <burak11992@xxxxxxxxx>
Date: Wed, 30 Aug 2017 11:51:59 -0700 (PDT)
Delivery-date: Wed, 30 Aug 2017 14:52:59 -0400
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=t+dnU8Ie2/tebBbyy4VTS3Cbwd+EdwNGnPpm1wnEb00=; b=g3OtgN9eS8CtFwKPLGHbQDzPLnrnKx1tbqHIBdaX4P12ZOP8Lw4PVynXFEscXl7lxE wZBjmZ5IsVZcwofsZduE5sFFPlAOhCLkDQjE3ULf11t2Ug6vRHdRxOP2rPl7ioooxncI M/yQFZbB0CShsczEeXhzFqU5GqDjVVPfS+spnClYDRenFZVS2ewA4F2s6jsybYkp30rK Y5UQsqVx+XoH20gDa227AGvKAVoLWY5vPdlGAF0ntTcHzFbopFjBHJ7zqBfc4otrUgC6 TpH+kvhnVDHP0ABBZeGWJqXkdOJc5kOAIsxB1oQ7U+G8iikS108ajj7zJ7SNMNnpkmUS MNdA==
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=t+dnU8Ie2/tebBbyy4VTS3Cbwd+EdwNGnPpm1wnEb00=; b=pKpZOUNEi9JK/K/xIlkQCmFqNxeL3LaFfHXCHyeXcjTRQ5X9UkT1m9lhg9KlJUpGon g3xVpI50Mq/0UqoUzdD61KZBbkiX1vXWmRUgAh+nPS0jkT6ygGw5GMMbd51ElwfkUNOj rVr0+GX1WB/rSOGxz00rMrfzBb4mMnPENEgjrdWD2QiyHYnDOKH8uuLJHYYIz02ATbGW azAu/brk0LOv/u9ZsfDbsmYZa90RvQFJJ5LQw4p0ep5rspf8Zj8HIqPqqLZAPW4v0J5B AXtoJc1DOAwIDPuQLbFyLH0NxFCVBcZL/eGXe5OM/NGdGGuz6dDHm42r8ZJ8otGGVnsu WP9Q==
Envelope-to: traductor@xxxxxxxxxxx
List-archive: <https://groups.google.com/group/android-developer>
List-help: <https://groups.google.com/support/>, <mailto:android-developers+help@googlegroups.com>
List-id: <android-developers.googlegroups.com>
List-post: <https://groups.google.com/group/android-developers/post>, <mailto:android-developers@googlegroups.com>
List-subscribe: <https://groups.google.com/group/android-developers/subscribe>, <mailto:android-developers+subscribe@googlegroups.com>
List-unsubscribe: <mailto:googlegroups-manage+364598216046+unsubscribe@googlegroups.com>, <https://groups.google.com/group/android-developers/subscribe>
Mailing-list: list android-developers@xxxxxxxxxxxxxxxx; contact android-developers+owners@xxxxxxxxxxxxxxxx
Reply-to: android-developers@xxxxxxxxxxxxxxxx
Sender: android-developers@xxxxxxxxxxxxxxxx

Hice un *app y añadió un *interstitial. Puse la frecuencia de exhibición de *Admob 
(5 tiempo en medio una hora). Los Anuncios están abriendo. El anuncio *reopens 2 segundos 
después de que pulso el botón cercano. Cómo puede fijo esto?

En principal.*java; 

..........

Protegido *void *onCreate(*Bundle *savedInstanceState)
    #unknown{^*super.*onCreate(*savedInstanceState);
    *setContentView(*R.*layout.La Actividad_principal);    
    *mInterstitialAd = nuevo *InterstitialAd(este);
    *mInterstitialAd.*setAdUnitId("*ca-*app-Pub-2873523357169249/5651*xxxxx");
    *reklamiYukle();
    *mInterstitialAd.*setAdListener(Nuevo *AdListener()
        @#unknown{^*Override
        público *void *onAdClosed()
            #unknown{^*reklamiYukle();
            *super.*onAdClosed();
        }

        @*Override
        Público *void *onAdLoaded()
         #unknown{^*super.*onAdLoaded();
            *mInterstitialAd.Espectáculo();
        }

............


Privado *void *reklamiYukle()
#unknown{^*AdRequest *adRequest = nuevo *AdRequest.Constructor()
        .*addTestDevice(*AdRequest.ID_de DISPOSITIVO_*EMULATOR)
        .Complexión();

*mInterstitialAd.*loadAd(*adRequest);



-- 
Recibiste este mensaje porque eres *subscribed al *Google Grupos "*Android *Developers" grupo.
A *unsubscribe de este grupo y la parón que recibe *emails de él, enviar un *email a *android-*developers+unsubscribe@xxxxxxxxxxxxxxxx.
A correo a este grupo, envía *email a *android-developers@xxxxxxxxxxxxxxxx.
Visita este grupo en *https://grupos.*google.*com/Grupo/*android-*developers.
Para ver esta discusión en la visita de web *https://grupos.*google.*com/*d/*msgid/*android-*developers/7*d4ser080-*dda2-44*aa-9*f37-635*ea2*f0*fa1*b%40*googlegroups.*com.
Para más opciones, visita *https://grupos.*google.*com/*d/*optout.

I made an app and added an interstitial. I set the display frequency from 
Admob (5 times in half an hour). Ads are opening. The ad reopens 2 seconds 
after I press the close button. How can I fix this?

in main.java; 

..........

protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);    
    mInterstitialAd = new InterstitialAd(this);
    mInterstitialAd.setAdUnitId("ca-app-pub-2873523357169249/5651xxxxx");
    reklamiYukle();
    mInterstitialAd.setAdListener(new AdListener() {
        @Override
        public void onAdClosed() {
            reklamiYukle();
            super.onAdClosed();
        }

        @Override
        public void onAdLoaded() {
         super.onAdLoaded();
            mInterstitialAd.show();
        }

............


private void reklamiYukle() {
AdRequest adRequest = new AdRequest.Builder()
        .addTestDevice(AdRequest.DEVICE_ID_EMULATOR)
        .build();

mInterstitialAd.loadAd(adRequest);



-- 
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@xxxxxxxxxxxxxxxx.
To post to this group, send email to android-developers@xxxxxxxxxxxxxxxx.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/7d4be080-dda2-44aa-9f37-635ea2f0fa1b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<Anterior por Tema] Tema Actual [Siguiente por Tema>
  • [android-developers] Interstitial Lo cierro y re-abierto, Burak Yıldırım <=