Modified CandyCane to work on android