Android code and java code