API target level
in
Android Processing
•
3 months ago
Hi everyone.
I'm new here and I love Processing simplicity. Nevertheless I have one big problem. I am working on an Android app, it was working fine until I wanted to put AdMob. I work on Windows7 and processing 2.0b6.
There was no problems on the compilation but I had a weird message on the Ad bloc: "You must have AdActivity declared in AndroidManifest.xml with ConfigChanges."
I discovered the problem: I had a to recent update of AdMob SDK, but this update need an API level 13 and more. Sadly, processing don't want to be more than 10.
The lines that compile on AndroidManifest.xml are:
But the lines that I need for AdMob to work are:
So here is my problem: how do I up Processing API level?
I have tried:
-Modifying AndroidManifest.xml like this:
Thanks !
(sorry for the grammar, English isn't my native language.)
I'm new here and I love Processing simplicity. Nevertheless I have one big problem. I am working on an Android app, it was working fine until I wanted to put AdMob. I work on Windows7 and processing 2.0b6.
There was no problems on the compilation but I had a weird message on the Ad bloc: "You must have AdActivity declared in AndroidManifest.xml with ConfigChanges."
I discovered the problem: I had a to recent update of AdMob SDK, but this update need an API level 13 and more. Sadly, processing don't want to be more than 10.
The lines that compile on AndroidManifest.xml are:
- <activity android:name="com.google.ads.AdActivity"
android:configChanges="keyboard|keyboardHidden|orientation"/>
But the lines that I need for AdMob to work are:
<activity android:name="com.google.ads.AdActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>
So here is my problem: how do I up Processing API level?
I have tried:
-Modifying AndroidManifest.xml like this:
- <uses-sdk android:minSdkVersion="13"
android:targetSdkVersion="13"/>
Thanks !
(sorry for the grammar, English isn't my native language.)
1