을 다시 클릭하면 응용 프로그램을 종료 삽입 광고.안드로이드 : 쇼 MoPub에서 사용자가 버튼
삽입 광고를 만들고 onDestroy 메소드에 표시하려고했습니다. 뭐 그런 그러나
@Override
public void onDestroy(){
this.interstitial = new MoPubInterstitial(this, MY_INTERSTITIAL_AD_UNIT_ID_HERE);
this.interstitial.setInterstitialAdListener(this);
this.interstitial.load();
super.onDestroy();
}
// InterstitialAdListener method
@Override
public void onInterstitialLoaded(MoPubInterstitial interstitial) {
if (interstitial.isReady()) {
mInterstitial.show();
} else {
// Other code
}
}
, 난 아무 간질을 파괴하고 있지 않다 (mInterstitial.destroy();) 내가 그것을 할 수 있기 때문에 나는이 오류가 무엇입니까 어디 있는지 알고하지 않기 때문에 :
을 나는이 오류를 얻고 있지만Activity com.myActivity has leaked IntentReceiver [email protected] that was originally registered here. Are you missing a call to unregisterReceiver()?
android.app.IntentReceiverLeaked: Activity com.myActivity has leaked IntentReceiver [email protected] that was originally registered here. Are you missing a call to unregisterReceiver()?
, 추가 기능이 표시됩니다 (나는 많은 장치에서 테스트 한)과는 소니를 제외하고 모두에서 잘 작동 보인다.
이탈시 삽입 광고를 표시하려면 어떻게해야합니까?
감사합니다.
제가 사용한 솔루션에 대한 질문에 대답했지만 어쩌면 당신의 대답도 유효 할 수 있습니다. 고맙습니다. – ljmelgui