bonjour,
j'utilise le sdk smart ad server dans mon application.
mais lors de l'utilisation de composant InterstitialView pour le splash screen il apparut une sorte d'animation.
je veux comment supprimer cette animation ?
aide svpp
merci.
Version imprimable
bonjour,
j'utilise le sdk smart ad server dans mon application.
mais lors de l'utilisation de composant InterstitialView pour le splash screen il apparut une sorte d'animation.
je veux comment supprimer cette animation ?
aide svpp
merci.
Bonjour,
j'ai déjà travaillé avec smart ad Interstitial, ça marche trés bien,test ce code, je crois que cela sera utile.
Déclarer deux variable
dans onCreate Ajouter ce codeCode:
1
2
3 SmartAdServerAdInterstitialView mAdInterstitialView; SmartAdServerAd mAd;
Bonne chanceCode:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 mAd = new SmartAdServerAd(); mAdInterstitialView = new SmartAdServerAdInterstitialView(this); mAdInterstitialView.setDelegate(this); mAdInterstitialView.setInterstitialDelegate(this); try { //Ajouter vous parametre mAd.init(mAdInterstitialView, this, "xxxxx", "xxxxxx","xxxxx", "M", "null", null); } catch (Exception e) { Log.e("Methode init ", e.getMessage()); }
oui je sais pour le code, mais mon problème lorsque j'ai une connexion faible, il y a une sorte d 'écran blanc qui apparaît et l'image de publicité n'apparaît pas.
Donc splash puis écran blanc puis écran un.