added android specific methods