我有一個應用程序正在使用舊的ADMOB SDK。我已經開始使用Google play服務庫來顯示ADMOB intersstial廣告。每次活動開始時我都有一個廣告。應用程序重新啓動後顯示Admob interestial
ISSUE: 在某些電話中,我可以看到AD在每次關閉後重新開始。因此,我只能看到廣告。我還發現活動到達onDestroy()。有什麼方法可以激發它嗎?
請幫助當你告訴一個插頁式廣告一個新的(在InterstitialAd)活動開始時我解決這個
Android清單
<supports-screens
android:xlargeScreens="true"
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true" />
<!-- Used to request banner and interstitial ads. -->
<uses-permission android:name="android.permission.INTERNET"/>
<!-- Used to avoid sending an ad request if there is no connectivity. -->
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<application
android:allowBackup="true"
android:icon="@drawable/memorygamefreelogo"
android:label="@string/app_name"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
<meta-data android:name="com.google.android.gms.games.APP_ID"
android:value="@string/app_id" />
<meta-data android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version"/>
<!-- Activity required to show ad overlays. -->
<activity android:name="com.google.android.gms.ads.AdActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>
<activity
android:name="com.example.Splash"
android:label="Memory Game"
android:noHistory="true"
android:screenOrientation="landscape"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="com.splash.MemoryHome"
android:label="memorygame"
android:screenOrientation="landscape"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize">
<intent-filter>
<action android:name="android.intent.action.memorygame.free.MEMORYHOME" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name="com.splash.MemoryGame"
android:label="memorygame"
android:screenOrientation="landscape"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize">
<intent-filter>
<action android:name="android.intent.action.memorygame.free.MEMORYGAME" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
</application>