This is java codes for android