How add admob to opengl android view

Tu put a admob to opengl android view you have to create a RelativeLayout where to put a addmob and add this layout to principal layout where you have precedently added opengl view This is a simple code : AdView adView = new AdView(this); adView.setAdSize(AdSize.BANNER); adView.setAdUnitId(“ca-app-pub-your id “); adView.setBackgroundColor(Color.TRANSPARENT); RelativeLayout layout = new RelativeLayout(this); layout.setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT, […]

Read More »

Java

Java is a general-purpose computer programming language that is concurrent, class-based, object-oriented,and specifically designed to have as few implementation dependencies as possible. It is intended to let application developers “write once, run anywhere” (WORA),meaning that compiled Java code can run on all platforms that support Java without the need for recompilation. Java applications are typically compiled […]

Read More »

Show Buttons
Hide Buttons