i am working on an app for android 2.2 Platform, wanted to integrate admob into it, So i set up an account downloaded the latest admob sdk and created an ad Layout in xml followed the instructions mentioned in docs.I have set the target in project properties to 14 and set the min SDK to 8 now the error occurs when i configure
The String "keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" wont compile for android 2.2 it throws errors. However if i compile without these "screenSize|smallestScreenSize", it compiles but the ad area in the app shows an error saying You must have AdActivity declared in AndroidManifest with configChanges
Can you guys suggest a solution, any help with this problem is appreciable
The Latest admob jar 4.3.1 requires you to build against platform-13 or higher since it is optimized for tablets, it requires you to have the complete string for configChanges attribute i mentioned in earlier post.However one can deploy it for lower platforms by mentioning minSdk.That solved the problem but my app is still failing to receive ads as it states in the Logcat that there are no ads in the inventory.So that needs sorting out. Thanks for the response tough
posted 7 years ago
I have build my app using 2.3.
And for the Ad's Banner size what size you are giving.
It will return larger image if you are using for tablet and smartphone will not be able to load that big image.
Since my app is targeted for 2.1, 2.2 platform i am using banner as the adSize. I am worried tough what would happen if my app ends up on an tablet.Hey hardik one more thing tough can you give any sites that have good tutorials on Json and parsing it . I want to get started on that too