Some experiences in Android programming
Sunday, April 24, 2016
I recently started developing an app for Android. The app is nothing complicated. A few screens which
display data from a webservice. The data are events like “having dinner together” and you can register to join the event.
As being new in Android programming (and this time, I wanted to create a “real” native Android app, not a
PhoneGap / cordova based app), it’s quiet a learning experience necessary.
Branching and merging with git in PMD
Sunday, March 13, 2016
This post is about, how your git history might look like, if you consequently fix bugs on branches
and merge this bugfix-branches into the release branches. In this case, I used the method described
earlier in “Roadmap and source code branches” in
New PMD Release 5.4.0:
Always create a new branch, that can be merged in the release branches, determined by
Then, after the bugfix, merge this branch into the release branches, avoiding a fast-forward merge
git merge --no-ff.
Sharing PMD rulesets across projects
Monday, February 22, 2016
You are using PMD in your project. After a while, you start customizing your ruleset as described
in best practices and
how to make a ruleset.
But the project grows and grows and it soon consists of several sub modules or event separate
projects maybe even living in separate source repositories. The how can you share the ruleset, so that
it can be applied to each project?
Simple Bugfixing for PMD
Sunday, February 7, 2016
This post is about how to fix a bug in PMD - the project mess detector.
PMD is a source code analyzer tool for Java and
many other languages. It checks your source for common programming mistakes
so you don’t repeat them. However, as with all software, it is not perfect.
PMD itself has bugs which lead to either false positives, e.g. when PMD reports
a mistake which is not really a problem. Or to false negatives, which means, that
PMD doesn’t detect the potential bug.
Making the audio keys and brightness keys working in LXDE
Sunday, January 24, 2016