Quantcast
Channel: Android Mode - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 941

How to add admob?

$
0
0

sorry my english low.

download Google Play Services in sdk and "google-play-services.jar" add my sketch.

import cassette.audiofiles.*; import android.os.Bundle; import android.view.Gravity; import android.view.Window; import android.widget.RelativeLayout; import com.google.ads.*;

edit:

`

  1. ERROR in C:\Users\sebahat\AppData\Local\Temp\android143427635335561130sketch\src\processing\test\bari\bari.java (at line 662) RelativeLayout adsLayout = new RelativeLayout(this); ^^^^^^^^^^^^^^^^^^^^^^^^

The constructor RelativeLayout(bari) is undefined

  1. ERROR in C:\Users\sebahat\AppData\Local\Temp\android143427635335561130sketch\src\processing\test\bari\bari.java (at line 667) AdView adView = new AdView(this, AdSize.BANNER, "xzcxz"); // add your app-id ^^^^^^

The type AdSize is ambiguous

  1. ERROR in C:\Users\sebahat\AppData\Local\Temp\android143427635335561130sketch\src\processing\test\bari\bari.java (at line 669) AdRequest newAdReq = new AdRequest(); ^^^^^^^^^

The type AdRequest is ambiguous

  1. ERROR in C:\Users\sebahat\AppData\Local\Temp\android143427635335561130sketch\src\processing\test\bari\bari.java (at line 669) AdRequest newAdReq = new AdRequest(); ^^^^^^^^^ The type AdRequest is ambiguous

`


Viewing all articles
Browse latest Browse all 941

Trending Articles