Introduce ANDROID_UNUSED

In android build configuration some function params is not used but they are used in other builds. This commit adds new macro ANDROID_UNUSED that supress warnings.
callback is not used in android build
fix print format
fix old style cast
Merge pull request #355 from mhamrle/android_fix_warnings

Android fix warnings