I can't get Adwhirl to work. After an hour of trying the offical documentation, I tried the minimalistic route, through XML:
<com.adwhirl.AdWhirlLayout
android:id="@+id/addwhirlview"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
This piece of code is in the same place as my original AdMob code, ( com.google.ads.AdView ), wich worked fine.
I get the following on AdWhirl from LogCat:
I/AdWhirl SDK(18641): Creating adWhirlManager...
D/AdWhirl SDK(18641): Locale is: en_US
D/AdWhirl SDK(18641): Hashed device ID is: 7d1dd13a2fa91c0ad174cb69a11549a3
I/AdWhirl SDK(18641): Finished creating adWhirlManager
D/AdWhirl SDK(18641): Prefs{427dbf543f7849e6bd9e8c425a2a52a6}: {"config": "{"extra":{"location_on":1,"background_color_rgb":{"red":0,"green":0,"blue":0,"alpha":1},"text_color_rgb":{"red":255,"green":255,"blue":255,"alpha":1},"cycle_time":30,"transition":8},"rations":[]}
D/AdWhirl SDK(18641): ", "timestamp": 1343402294184}
I/AdWhirl SDK(18641): Using stored config data
D/AdWhirl SDK(18641): Received jsonString: {"extra":{"location_on":1,"background_color_rgb":{"red":0,"green":0,"blue":0,"alpha":1},"text_color_rgb":{"red":255,"green":255,"blue":255,"alpha":1},"cycle_time":30,"transition":8},"rations":[]}
I/AdWhirl SDK(18641): Sum of ration weights is 0 - no ads to be shown
I googled the problem, witch brought me to this question: Empty AdWhirl layout on android (no ads shown).. The guy was basicly expieriencing the same as me, said he figured it out, but never posted how..
I got my AdWhirl key in the manifest, I set up Admob as my only Ad Network, and added the app in the app list, etc, so I'm fairly sure that that side is correct.. What am I doing wrong, what does "Sum of ration weights is 0" even mean?
Thanks in advance! Thomas