Forums Register Login

Google Admob Integration Errors

+Pie Number of slices to send: Send
Hello Guys,
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

Thanks & Regards,
Zoheb
+Pie Number of slices to send: Send


Above is working fine for my app.


+Pie Number of slices to send: Send
Hey Hardik,

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

Best Regards,
Zoheb
+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
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

-Zoheb
+Pie Number of slices to send: Send
http://p-xr.com/android-tutorial-how-to-parse-read-json-data-into-a-android-listview/

Above tutorial is nice to start with
It would give a normal human mental abilities to rival mine. To think it is just a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 2458 times.
Similar Threads
Android AdMob
Does Android only work in Google devices?
Exception while running my app. (TargetSDK 2.2 API Level 8 running on 1.5 (API Level 3)
Connecting Internet from android code
AdMob ad doesn't show in the emulator
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 06:01:39.