how to Put add in our android application
<p>I have created an application for admob, but I am getting an error. I found an example from Google and I have tried it, but there is a problem when I'm launching the application .</p>

<p>I'm using Android 2.2 API 8.
I am able to launch the application, but this block is causing an error.</p>

<pre><code>android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/&gt;
</code></pre>

<p>If I change this to</p>

<pre><code>android:configChanges="keyboard|keyboardHidden"
</code></pre>

<p>then I am able to launch the application, but there is an error coming on our add field.</p>

<pre><code>you must have adactivity declare in Android Manfiest.xml with config change
</code></pre>

<p>Due to this I am not able to show google adds in our application.</p>

<p>Please help me to fix this.</p>
