Im trying to put admob ads in my preferencescreen. I have looked around and i've found a few threads about this. Though i can't get i working. For example this:
Android Admob advert in PreferenceActivity
You have an activity as is supposted to be the launcher activity? Ain“t that activity supposted to be connected with the ad_layout.xml file in any way?
In my own application I have a class that extends PreferenceActivity, and in that way i can launch my preferencescreen with this line:
addPreferencesFromResource(R.xml.prefs);
Where should I do that in the "Admob in PreferenceActivity" example, linked above?
Im sorry if it got a bit unclear, in that case, please ask! Thanks!