some code for Android  java