added android device registration/unregistration support