Added a method in AndroidGenerator.java