When writing apps and games using LibGdx you might want to implement some kind of advertisment to monetize your work. While there is quite a few examples on how to implement AdMob for Android, there might be just a few with implementing ads in apps build with LibGdx framework. Since I’m using only AdMob this article will focus only on that.
This post assumes that:
- You know how to write a LibGdx application (and preferrably have that already)
- Have AdMob account or have used AdMob
Prologue
When writing with LibGdx you should have at least two projects:
- main one – where you write your code
- android – with the android backend and android specific methods
- desktop – this one is not necessary but helps out debugging a lot
- (more…)



jQuery’s accordion just didn’t want to work with my page layout. And it brought it’s own styles wich was not something that fit my needs. So to deal with this I had to come up with my own accordion script – as simple as possible!