farhan678 / adwhirl

Automatically exported from code.google.com/p/adwhirl
0 stars 0 forks source link

Millenial Media Ads are shown too small in adwhirl layout ANDROID #317

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Adding AdWhirlSDK_Android_3.1.1.jar
2. Adding MMAdView.jar
3. Adding InMobiAndroidSDK.jar
4. Adding GoogleAdMobAdsSdk-6.0.1.jar
5. Call the following function in OnCreate 

private void SetUpAdWhirl() {
        // TODO Auto-generated method stub
           AdWhirlManager.setConfigExpireTimeout(1000 * 60 * 5);

           AdWhirlTargeting.setAge(23);
           //AdWhirlTargeting.setGender(AdWhirlTargeting.Gender.MALE);
           AdWhirlTargeting.setKeywords("arsenal football");
           //AdWhirlTargeting.setPostalCode("94123");
           AdWhirlTargeting.setTestMode(false);

           AdWhirlLayout adWhirlLayout = new AdWhirlLayout(thisActivity, "7163305febbd44c596d17f9cdde5fc67");

           RelativeLayout.LayoutParams adWhirlLayoutParams =
               new RelativeLayout.LayoutParams(
               LayoutParams.FILL_PARENT,
               LayoutParams.WRAP_CONTENT);
           LinearLayout layout = (LinearLayout)findViewById(R.id.linearLayoutAd);

           layout.setGravity(Gravity.CENTER_HORIZONTAL);
           layout.addView(adWhirlLayout, adWhirlLayoutParams);
           layout.invalidate();

    }

What is the expected output? What do you see instead?

Ads should be shown in the bottom of the screen taking full width. But its 
shown smaller as given in attachment. 

And I can't make the InMobi ads to work with SDK 7/Android 2.1. When I put all 
the ConfigChanges in Manifest as given in HelpDoc with InMobi SDK, it says all 
the ConfigChanges are not supported.

Please help me fix this as I have kept my customer waiting for a long time.

What version of the product are you using? On what operating system?

Android API 7, Windows XP 64 Bit.

Please provide any additional information below.

Original issue reported on code.google.com by sadeqbil...@gmail.com on 2 Jun 2012 at 6:54

Attachments:

GoogleCodeExporter commented 9 years ago
Deleted the Original File for NDA. 

Original comment by sadeqbil...@gmail.com on 4 Jun 2012 at 9:04

Attachments: