It just worked for me with the

<activity android:name="com.google.ads.AdActivity"
android:windowSoftInputMode="stateAlwaysVisible" />

Warm Regards,
*Mukesh Kumar*,
Android Consultant/Freelancer,
India,Hyderabad.

On Mon, Jan 9, 2012 at 1:10 PM, bhaskar bommala <[email protected]>wrote:

> Hi ,
>
> i have integrated Admob in my App whil am trying to test its not
> displaying Ad and it's giving warning as
>
> 01-09 13:09:30.312: I/Ads(214): onFailedToReceiveAd(Ad request successful,
> but no ad returned due to lack of ad inventory.)
> Can please anyone help me on this...
>
> Thanks in Advance..
>
>
> On Tue, Dec 20, 2011 at 10:52 AM, Dinosaur <[email protected]> wrote:
>
>> I just installed Eclipse Helios, the latest Android SDK, and AdMob.
>> I'm trying to incorporate AdMob into my app, and it seems to be
>> working fine when I export the apk to my OG Droid (or run a 2.2 AVD),
>> but the ad banner isn't showing up at all on either my tablet (3.1) or
>> my tablet AVD. I'm trying to get the banner to appear on my start-up
>> screen.
>>
>> My manifest includes this:
>>    <uses-sdk android:minSdkVersion="8"
>> android:targetSdkVersion="13"/>
>>
>> I have this code in my startup screen java file:
>>        AdRequest adRequest = new AdRequest();
>>
>> adRequest.addTestDevice(AdRequest.TEST_EMULATOR);               //
>> Emulator
>>
>> adRequest.addTestDevice("TEST_DEVICE_ID");                      //
>> Test Android Device
>>
>> And this is in my startup screen xml:
>>
>>        <com.google.ads.AdView android:id="@+id/adView"
>>                         android:layout_width="wrap_content"
>>                         android:layout_height="wrap_content"
>>                         ads:adUnitId="xxx" (omitted)
>>                         ads:adSize="BANNER"
>>                         ads:loadAdOnCreate="true"/>
>>
>> Any thoughts? (And to go "live," do I just delete the two
>> addTestDevice lines?)
>>
>> Thx.
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




--

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to