0
왜 광고가 보이지 않는지 이해해주세요. 에뮬레이터와 실제 장치에서 실행하려고했습니다. 이android libgdx mobclix no show
https://docs.google.com/open?id=0B6aJ6H5VNJ4XSlNGem84T3EyV1E
public class GameActivity extends AndroidApplication {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Mobclix.onCreate(this);
RelativeLayout layout = new RelativeLayout(this);
requestWindowFeature(Window.FEATURE_NO_TITLE);
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);
getWindow().clearFlags(WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN);
View gameView = initializeForView(new GraphicsView(), false);
MobclixAdView adView = new MobclixMMABannerXLAdView(this);
adView.getAd();
adView.setRefreshTime(30000);
RelativeLayout.LayoutParams adParams = new RelativeLayout.LayoutParams(RelativeLayout.LayoutParams.WRAP_CONTENT, RelativeLayout.LayoutParams.WRAP_CONTENT);
adParams.addRule(RelativeLayout.ALIGN_PARENT_BOTTOM);
adParams.addRule(RelativeLayout.CENTER_HORIZONTAL);
layout.addView(gameView);
layout.addView(adView, adParams);
setContentView(layout);
}
@Override
protected void onPause() {
super.onPause();
}
}
지원 티켓을 제출할 때 더 잘 지원할 수 있습니다. http://support.mobclix.com/tickets/new Thanks, 마이클 – user1385802