Hook up cross platform compass controller on android