init for android version