Workaround for Adwhirl’s house ads not scaling correctly

I use adwhirl in one of my android applications and recently I started using house ads which have been giving great results so far. Unfortunately I noticed all of my image ads were being displayed using the smallest scale available ignoring the correct screen resolution in most of the devices. After some research I found out that this bug dates from 2010 http://code.google.com/p/adwhirl/issues/detail?id=137. Since I know this is a very common issue with everyone running the latest sdk, I wanted to share the fix that worked for me.

My workaround

Add the following line to your Android manifest file:

<supports-screens android:anyDensity=false />

I hope that solves that problem for most of you!

HHG5XX using house ads

calderpwn

Infosec consultant | Software dev | Open Source contributor | Speaker

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>