IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Android Discussion :

Admob - onFailedToReceiveAd (anormal)


Sujet :

Android

  1. #1
    Membre averti
    Homme Profil pro
    Informaticien - Profesionnal master application development
    Inscrit en
    Octobre 2011
    Messages
    47
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Suisse

    Informations professionnelles :
    Activité : Informaticien - Profesionnal master application development
    Secteur : Industrie

    Informations forums :
    Inscription : Octobre 2011
    Messages : 47
    Par défaut Admob - onFailedToReceiveAd (anormal)
    Bonjours à tous,

    voilà j'ai un soucie avec les pubs admob depuis 2 jours.

    J'ai développé une nouvelle application mais elle n'affiche aucune pub et donc le logcat me renvois l'erreur " onFailedToReceiveAd( Ad request succesful, but no ad returned due to lack of ad inventory ).

    On pourrait croire que celà signifit simplement qu'admob n'à pas de pub à me renvoyer pour le moment sauf que j'ai esseiller d'implémenter l'Id d'une de mes autres application qui elle recoit bel et bien des publicités.

    Donc avec le même ID, une recoit des pubs et l'autre me renvoit le message d'erreur.. Je n'y comprend plus rien !

    J'ai esseiller de re-créer un projet, en implémentant le même code ( activités, xml ) mais celà ne change rien.

    Le seul changement que j'ai effectué entre le moment où mes anciens projet marchaient correctement et celui ou j'ai développé ce projet qui lui n'affiche pas de pub est d'avoir augmenter la mémoire SDcard de mon SDK. Mais même, en lancant un autre projet sur le même SDK, celui m'affiche bel et bien des publicités.

    Je vous fournit le code ( très simple ) de mon projet, j'espère que vous puissez m'aider.

    Activité :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
    368
    369
    370
    371
    package ch.swissdroid.sexysoundboard;
     
     
    import android.app.Activity;
    import android.content.Context;
    import android.media.AudioManager;
    import android.media.MediaPlayer;
    import android.os.Bundle;
    import android.view.KeyEvent;
    import android.view.View;
    import android.view.View.OnClickListener;
    import android.widget.Button;
    import android.widget.LinearLayout;
    import android.widget.SeekBar;
    import android.widget.SeekBar.OnSeekBarChangeListener;
     
     
     
    import com.google.ads.AdRequest;
    import com.google.ads.AdSize;
    import com.google.ads.AdView;
     
    public class OrgasmSoundboardActivity extends Activity implements OnClickListener{
        /** Called when the activity is first created. */
     
    	private AdView adView;
     
    	private MediaPlayer mPlayer = null;
    	Button btn_sound1;
    	Button btn_sound2;
    	Button btn_sound3;
    	Button btn_sound4;
    	Button btn_sound5;
    	Button btn_sound6;
    	Button btn_sound7;
    	Button btn_sound8;
     
     
    	boolean issetSon1=false;
    	boolean issetSon2=false;
    	boolean issetSon3=false;
    	boolean issetSon4=false;
    	boolean issetSon5=false;
    	boolean issetSon6=false;
    	boolean issetSon7=false;
    	boolean issetSon8=false;
     
    	//a variable to store the seek bar from the XML file  
    	private SeekBar volumeBar;  
     
    	//an AudioManager object, to change the volume settings  
    	private AudioManager amanager;  
     
     
     
     
        @Override
        public void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);
            setContentView(R.layout.main);
     
             // Create the adView     
          		adView = new AdView(this, AdSize.BANNER,  "a14...");      
     
          		// Lookup your LinearLayout assuming it’s been given     
          		// the attribute android:id="@+id/mainLayout"     
          		LinearLayout layout = (LinearLayout)findViewById(R.id.mainLayout);      
     
          		// Add the adView to it     
          		layout.addView(adView);      
     
          		// Initiate a generic request to load it with an ad     
          		adView.loadAd(new AdRequest());   
     
     
            volumeBar = (SeekBar) findViewById(R.id.sb_volumebar);  
     
            amanager = (AudioManager) this.getSystemService(Context.AUDIO_SERVICE);  
     
            volumeBar.setMax(amanager.getStreamMaxVolume(AudioManager.STREAM_MUSIC));  
            volumeBar.setKeyProgressIncrement(1);  
     
            volumeBar.setProgress(amanager.getStreamVolume(AudioManager.STREAM_MUSIC));  
     
            volumeBar.setOnSeekBarChangeListener(new OnSeekBarChangeListener()  
            {  
             @Override  
            public void onStopTrackingTouch(SeekBar seekBar)  
            {  
            }  
     
            @Override  
            public void onStartTrackingTouch(SeekBar seekBar)  
            {  
            }  
     
             @Override  
            public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser)  
             {  
               amanager.setStreamVolume(AudioManager.STREAM_MUSIC, progress, AudioManager.FLAG_SHOW_UI + AudioManager.FLAG_PLAY_SOUND);  
             } 
            });
     
            btn_sound1 = (Button) findViewById(R.id.son1);
            btn_sound1.setOnClickListener(this);
     
            btn_sound2 = (Button) findViewById(R.id.son2);
            btn_sound2.setOnClickListener(this);
     
            btn_sound3 = (Button) findViewById(R.id.son3);
            btn_sound3.setOnClickListener(this);
     
            btn_sound4 = (Button) findViewById(R.id.son4);
            btn_sound4.setOnClickListener(this);
     
            btn_sound5 = (Button) findViewById(R.id.son5);
            btn_sound5.setOnClickListener(this);
     
            btn_sound6 = (Button) findViewById(R.id.son6);
            btn_sound6.setOnClickListener(this);
     
            btn_sound7 = (Button) findViewById(R.id.son7);
            btn_sound7.setOnClickListener(this);
     
            btn_sound8 = (Button) findViewById(R.id.son8);
            btn_sound8.setOnClickListener(this);
     
     
        }
     
        @Override   
    	public void onDestroy() {     
    		adView.destroy(); 
    		super.onDestroy();   
    		}
     
    	public void onClick(View v) {
     
     
     
    			switch (v.getId()) {
     
    			case R.id.son1 :
     
    				if(issetSon1==false){
    					playSound(R.raw.orgasm1);
    					btn_sound1.setBackgroundResource(R.drawable.orgasm11play);
     
    					btn_sound2.setBackgroundResource(R.drawable.orgasm22);
    					btn_sound3.setBackgroundResource(R.drawable.orgasm33);
    					btn_sound4.setBackgroundResource(R.drawable.orgasm44);
    					btn_sound5.setBackgroundResource(R.drawable.orgasm55);
    					btn_sound6.setBackgroundResource(R.drawable.orgasm66);
    					btn_sound7.setBackgroundResource(R.drawable.orgasm77);
    					btn_sound8.setBackgroundResource(R.drawable.orgasm88);
     
    					issetSon1=true;
    				}else if(issetSon1==true){
    					mPlayer.pause();
    					btn_sound1.setBackgroundResource(R.drawable.orgasm11pause);
    					issetSon1=false;
     
    				}
    				break;
     
     
    			case R.id.son2 :
     
    				if(issetSon2==false){
    					playSound(R.raw.orgasm2);
    					btn_sound2.setBackgroundResource(R.drawable.orgasm22play);
     
    					btn_sound1.setBackgroundResource(R.drawable.orgasm11);
    					btn_sound3.setBackgroundResource(R.drawable.orgasm33);
    					btn_sound4.setBackgroundResource(R.drawable.orgasm44);
    					btn_sound5.setBackgroundResource(R.drawable.orgasm55);
    					btn_sound6.setBackgroundResource(R.drawable.orgasm66);
    					btn_sound7.setBackgroundResource(R.drawable.orgasm77);
    					btn_sound8.setBackgroundResource(R.drawable.orgasm88);
     
    					issetSon2=true;
    				}else if(issetSon2==true){
    					mPlayer.pause();
    					btn_sound2.setBackgroundResource(R.drawable.orgasm22pause);
    					issetSon2=false;
     
    				}
    				break;
     
     
    			case R.id.son3 :
     
    				if(issetSon3==false){
    					playSound(R.raw.orgasm3);
    					btn_sound3.setBackgroundResource(R.drawable.orgasm33play);
     
    					btn_sound1.setBackgroundResource(R.drawable.orgasm11);
    					btn_sound2.setBackgroundResource(R.drawable.orgasm22);
    					btn_sound4.setBackgroundResource(R.drawable.orgasm44);
    					btn_sound5.setBackgroundResource(R.drawable.orgasm55);
    					btn_sound6.setBackgroundResource(R.drawable.orgasm66);
    					btn_sound7.setBackgroundResource(R.drawable.orgasm77);
    					btn_sound8.setBackgroundResource(R.drawable.orgasm88);
     
    					issetSon3=true;
    				}else if(issetSon3==true){
    					mPlayer.pause();
    					btn_sound3.setBackgroundResource(R.drawable.orgasm33pause);
    					issetSon3=false;
     
    				}
    				break;
     
    			case R.id.son4 :
     
    				if(issetSon4==false){
    					playSound(R.raw.orgasm4);
    					btn_sound4.setBackgroundResource(R.drawable.orgasm44play);
     
    					btn_sound1.setBackgroundResource(R.drawable.orgasm11);
    					btn_sound2.setBackgroundResource(R.drawable.orgasm22);
    					btn_sound3.setBackgroundResource(R.drawable.orgasm33);
    					btn_sound5.setBackgroundResource(R.drawable.orgasm55);
    					btn_sound6.setBackgroundResource(R.drawable.orgasm66);
    					btn_sound7.setBackgroundResource(R.drawable.orgasm77);
    					btn_sound8.setBackgroundResource(R.drawable.orgasm88);
     
    					issetSon4=true;
    				}else if(issetSon4==true){
    					mPlayer.pause();
    					btn_sound4.setBackgroundResource(R.drawable.orgasm44pause);
    					issetSon4=false;
     
    				}
    				break;
     
     
    			case R.id.son5 :
     
    				if(issetSon5==false){
    					playSound(R.raw.orgasm5);
    					btn_sound5.setBackgroundResource(R.drawable.orgasm55play);
     
    					btn_sound1.setBackgroundResource(R.drawable.orgasm11);
    					btn_sound2.setBackgroundResource(R.drawable.orgasm22);
    					btn_sound3.setBackgroundResource(R.drawable.orgasm33);
    					btn_sound4.setBackgroundResource(R.drawable.orgasm44);
    					btn_sound6.setBackgroundResource(R.drawable.orgasm66);
    					btn_sound7.setBackgroundResource(R.drawable.orgasm77);
    					btn_sound8.setBackgroundResource(R.drawable.orgasm88);
     
    					issetSon5=true;
    				}else if(issetSon5==true){
    					mPlayer.pause();
    					btn_sound5.setBackgroundResource(R.drawable.orgasm55pause);
    					issetSon5=false;
     
    				}
    				break;
     
    			 case R.id.son6 :
     
    				if(issetSon6==false){
    					playSound(R.raw.orgasm6);
    					btn_sound6.setBackgroundResource(R.drawable.orgasm66play);
     
    					btn_sound1.setBackgroundResource(R.drawable.orgasm11);
    					btn_sound2.setBackgroundResource(R.drawable.orgasm22);
    					btn_sound3.setBackgroundResource(R.drawable.orgasm33);
    					btn_sound4.setBackgroundResource(R.drawable.orgasm44);
    					btn_sound5.setBackgroundResource(R.drawable.orgasm55);
    					btn_sound7.setBackgroundResource(R.drawable.orgasm77);
    					btn_sound8.setBackgroundResource(R.drawable.orgasm88);
     
    					issetSon6=true;
    				}else if(issetSon6==true){
    					mPlayer.pause();
    					btn_sound6.setBackgroundResource(R.drawable.orgasm66pause);
    					issetSon6=false;
     
    				}
    				break;
     
    			 case R.id.son7 :
     
    					if(issetSon7==false){
    						playSound(R.raw.orgasm7);
    						btn_sound7.setBackgroundResource(R.drawable.orgasm77play);
     
    						btn_sound1.setBackgroundResource(R.drawable.orgasm11);
    						btn_sound2.setBackgroundResource(R.drawable.orgasm22);
    						btn_sound3.setBackgroundResource(R.drawable.orgasm33);
    						btn_sound4.setBackgroundResource(R.drawable.orgasm44);
    						btn_sound5.setBackgroundResource(R.drawable.orgasm55);
    						btn_sound6.setBackgroundResource(R.drawable.orgasm66);
    						btn_sound8.setBackgroundResource(R.drawable.orgasm88);
     
    						issetSon7=true;
     
    					}else if(issetSon7==true){
    						mPlayer.pause();
    						btn_sound7.setBackgroundResource(R.drawable.orgasm77pause);
    						issetSon7=false;
     
    					}
    					break;
     
    			case R.id.son8 :
     
    				if(issetSon8==false){
    					playSound(R.raw.orgasm8);
    					btn_sound8.setBackgroundResource(R.drawable.orgasm88play);
     
    					btn_sound1.setBackgroundResource(R.drawable.orgasm11);
    					btn_sound2.setBackgroundResource(R.drawable.orgasm22);
    					btn_sound3.setBackgroundResource(R.drawable.orgasm33);
    					btn_sound4.setBackgroundResource(R.drawable.orgasm44);
    					btn_sound5.setBackgroundResource(R.drawable.orgasm55);
    					btn_sound6.setBackgroundResource(R.drawable.orgasm66);
    					btn_sound7.setBackgroundResource(R.drawable.orgasm77);
     
    					issetSon8=true;
     
    				}else if(issetSon8==true){
    					mPlayer.pause();
    					btn_sound8.setBackgroundResource(R.drawable.orgasm88pause);
    					issetSon8=false;
     
    				}
    				break;
     
     
     
    			}
     
    	}
     
     
    			@Override  
    		    public boolean onKeyDown(int keyCode, KeyEvent event)  
    		    {  
    		    //if one of the volume keys were pressed  
    		    if(keyCode == KeyEvent.KEYCODE_VOLUME_DOWN || keyCode == KeyEvent.KEYCODE_VOLUME_UP)  
    		    {  
    		    //change the seek bar progress indicator position  
    		    volumeBar.setProgress(amanager.getStreamVolume(AudioManager.STREAM_MUSIC));  
    		    }  
    		    //propagate the key event  
    		    return super.onKeyDown(keyCode, event);  
    		    }  
     
        		@Override
        		public void onPause() {
     
    	    		super.onPause();
    	    		if(mPlayer != null) {
    	    		mPlayer.stop();
    	    		mPlayer.release();
    	    		}
        		}
     
        		private void playSound(int resId) {
     
        			if(mPlayer != null) {
    	    			mPlayer.stop();
    	    			mPlayer.release();
        			}
        			mPlayer = MediaPlayer.create(this, resId);
        			mPlayer.start();
        		}
    }
    Fichier XML

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    <?xml version="1.0" encoding="utf-8"?>
     
     
    					<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    	 				android:layout_width="fill_parent"
    					android:layout_height="wrap_content"
    					android:scrollbarFadeDuration="2000"
    	 				android:scrollbarSize="25dip"
     
    					>
     
     
     
     
    			<TableLayout 
    			    android:layout_width="fill_parent" 
    			    android:layout_height="wrap_content"  
    			    xmlns:android="http://schemas.android.com/apk/res/android"
    			    android:stretchColumns="1,2"
    			    >
     
    						<LinearLayout 
    						   android:orientation="vertical"
    						   android:layout_width="fill_parent"
    						   android:layout_height="60dp"
    						   android:gravity="top"
    						   android:id="@+id/mainLayout"
    						   android:background="#000">
    						   </LinearLayout>
     
     
    		   					<SeekBar  
    							android:id="@+id/sb_volumebar"
    							android:layout_width="fill_parent"
    							android:layout_height="30dp"
    							android:background="#FFF"
    							android:layout_marginLeft="20dp"
    							android:layout_marginRight="20dp"
    							android:layout_marginTop="5dp"
    							android:layout_marginBottom="5dp"
    			             	/>
     
    			  	      <TableRow 
    			            android:id="@+id/ligne1" 
    			            android:layout_width="fill_parent" 
    			            android:layout_height="wrap_content">
     
     
    							<Button 
    							android:layout_width="100dp"
    							android:layout_height="100dp"
    							android:id="@+id/son1" 
    							android:layout_margin="20dp"
    							android:layout_column="1"
    							android:background="@drawable/orgasm11">
    							</Button>
     
    							<Button 
    							android:layout_width="100dp"
    							android:layout_height="100dp"
    							android:id="@+id/son2" 
    							android:layout_margin="20dp"
    							android:layout_column="2"
    							android:background="@drawable/orgasm22">
    							</Button>
     
     
     
    						</TableRow>
     
    						<TableRow 
    			            android:id="@+id/ligne1" 
    			            android:layout_width="fill_parent" 
    			            android:layout_height="wrap_content">
     
     
    							<Button 
    							android:layout_width="100dp"
    							android:layout_height="100dp"
    							android:id="@+id/son3" 
    							android:background="@drawable/orgasm33"
    							android:layout_margin="20dp"
    							android:layout_column="1">
    							</Button>
     
    							<Button 
    							android:layout_width="100dp"
    							android:layout_height="100dp"
    							android:id="@+id/son4" 
    							android:background="@drawable/orgasm44"
    							android:layout_margin="20dp"
    							android:layout_column="2">
    							</Button>
     
    						</TableRow>
     
    						<TableRow 
    			            android:id="@+id/ligne1" 
    			            android:layout_width="fill_parent" 
    			            android:layout_height="wrap_content">
     
     
    							<Button 
    							android:layout_width="100dp"
    							android:layout_height="100dp"
    							android:id="@+id/son5" 
    							android:background="@drawable/orgasm55"
    							android:layout_margin="20dp"
    							android:layout_column="1">
    							</Button>
     
    							<Button 
    							android:layout_width="100dp"
    							android:layout_height="100dp"
    							android:id="@+id/son6" 
    							android:background="@drawable/orgasm66"
    							android:layout_margin="20dp"
    							android:layout_column="2">
    							</Button>
     
     
    						</TableRow>
     
    						<TableRow 
    			            android:id="@+id/ligne1" 
    			            android:layout_width="fill_parent" 
    			            android:layout_height="wrap_content">
     
    						<Button 
    							android:layout_width="100dp"
    							android:layout_height="100dp"
    							android:id="@+id/son7" 
    							android:background="@drawable/orgasm77"
    							android:layout_margin="20dp"
    							android:layout_column="1">
    							</Button>
     
    							<Button 
    							android:layout_width="100dp"
    							android:layout_height="100dp"
    							android:id="@+id/son8" 
    							android:background="@drawable/orgasm88"
    							android:layout_margin="20dp"
    							android:layout_column="2">
    							</Button>
     
     
     
     
    					</TableRow>
     
    			</TableLayout>
     
    	</ScrollView>
    Merci de votre aide.

  2. #2
    Expert confirmé

    Avatar de Feanorin
    Profil pro
    Inscrit en
    Avril 2004
    Messages
    4 589
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2004
    Messages : 4 589
    Par défaut
    Bonjour,

    Je ne sais pas si cela pourra t'aider mais bon :
    http://stackoverflow.com/questions/6...dmob-disappear

    Autre conseil

    Tu peux utiliser AdWhirl pour savoir tester ton code.
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    AdWhirlTargeting.setTestMode(true);

  3. #3
    Membre averti
    Homme Profil pro
    Informaticien - Profesionnal master application development
    Inscrit en
    Octobre 2011
    Messages
    47
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Suisse

    Informations professionnelles :
    Activité : Informaticien - Profesionnal master application development
    Secteur : Industrie

    Informations forums :
    Inscription : Octobre 2011
    Messages : 47
    Par défaut
    Merci de ton aide, mais j'ai déja effectué pas mal de recherches avant de poster cette question et contrairement au lien cité " Espace vide après AdMob disparaissant ", chez moi les éléments situés sous ma banière pub ( qui elle se trouve tout en haut de mon activité ) ne se déplacent pas comme si une pub s'étaient quand meme ajoutée, l'activité agit comme si rien de nouveau n'apparaissaient et donc mes éléments comme ma Seekbar ne se déplace pas.

    J'ai même esseillé de mettre en commentaire tous ce qui n'étaient pas lié à Admob (dans le code et dans l'xml), boutons, variables, seekbar volume etc pour voir si ce n'était pas lié à un autre problème et même en ne laissant qu'une pub dans mon activité, le même message d'erreur s'affiche..

    Si quelqu'un à déja rencontré ce problème ou arrive à déterminé d'où celà provient, je suis preneur !

    Merci Feanorin

  4. #4
    Membre expérimenté Avatar de chpil
    Homme Profil pro
    Inscrit en
    Octobre 2011
    Messages
    143
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Ille et Vilaine (Bretagne)

    Informations forums :
    Inscription : Octobre 2011
    Messages : 143
    Par défaut
    As-tu mis à jour ton SDK AdMod ? Il semble, d'après leur doc qu'il faut une version récente de ce SDK pour les nouveaux projets utilisant AdMob, sinon ils ne recoivent aucune pub...

  5. #5
    yan
    yan est déconnecté
    Rédacteur
    Avatar de yan
    Homme Profil pro
    Ingénieur expert
    Inscrit en
    Mars 2004
    Messages
    10 035
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 43
    Localisation : France, Ille et Vilaine (Bretagne)

    Informations professionnelles :
    Activité : Ingénieur expert
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Mars 2004
    Messages : 10 035
    Par défaut
    Salut.
    Utilise tu la dernière version d'admob?
    As tu mis à jour le manifest?

  6. #6
    Membre averti
    Homme Profil pro
    Informaticien - Profesionnal master application development
    Inscrit en
    Octobre 2011
    Messages
    47
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Suisse

    Informations professionnelles :
    Activité : Informaticien - Profesionnal master application development
    Secteur : Industrie

    Informations forums :
    Inscription : Octobre 2011
    Messages : 47
    Par défaut
    Tout d'abord merci de votre aide.

    Ce qui est bizard c'est que je développe deux projets en parralèle, j'ai crée le second bien après celui-ci et pourtant le second m'affiche bien mes pubs et ce, avec le même Id_Publisher !

    Je vais esseiller de mettre à jour ce qu'il faut, par contre yan, qu'entend tu par mettre à jour le manifest ? ( celui-ci contient évidemment les permissions/déclarations necessaires ).

  7. #7
    yan
    yan est déconnecté
    Rédacteur
    Avatar de yan
    Homme Profil pro
    Ingénieur expert
    Inscrit en
    Mars 2004
    Messages
    10 035
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 43
    Localisation : France, Ille et Vilaine (Bretagne)

    Informations professionnelles :
    Activité : Ingénieur expert
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Mars 2004
    Messages : 10 035
    Par défaut
    Citation Envoyé par cp-08jhu Voir le message
    ( celui-ci contient évidemment les permissions/déclarations necessaires ).
    Oui.
    Vérifie avec cette page le paramètre de l'activity admob
    http://code.google.com/intl/fr-FR/mo...damentals.html

  8. #8
    Membre averti
    Homme Profil pro
    Informaticien - Profesionnal master application development
    Inscrit en
    Octobre 2011
    Messages
    47
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Suisse

    Informations professionnelles :
    Activité : Informaticien - Profesionnal master application development
    Secteur : Industrie

    Informations forums :
    Inscription : Octobre 2011
    Messages : 47
    Par défaut
    Merci de votre aide mais rien n'à marché, tous mon code me semble correct. J'ai refait plusieurs autres applications depuis et celà marche très bien, j'abandonne donc et ferme cette discussion, merci d'avoir esseiller !

    Bonne journée à vous.

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. Réponses: 8
    Dernier message: 20/02/2006, 23h25
  2. Normal ou anormal ? (Tentatives échouées)
    Par Acti dans le forum Requêtes
    Réponses: 9
    Dernier message: 13/02/2006, 08h34
  3. activité anormal sur un reseau utilisant linux
    Par ZiMo dans le forum Développement
    Réponses: 3
    Dernier message: 04/02/2006, 14h22
  4. Comportement anormal de la tabulation sur une DBGrid
    Par fredfred dans le forum Bases de données
    Réponses: 2
    Dernier message: 18/05/2005, 13h23
  5. [PostgreSQL] Fonct. anormal de postmaster sous Cygwin
    Par moipastoi dans le forum PostgreSQL
    Réponses: 3
    Dernier message: 14/03/2003, 13h13

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo