Commiting new java code to work with Android API