May I ask where you are calling updateRegistration() in your Android project? Are you willing to share that bit of code as well as the name of the file where you have applied it so I can take a look?
Senior Technical Support Engineer Airship
The Embassy Tea House,
195-205 Union Street, London, SE1 0LN Portland | San Francisco | London | Paris | New York | New Delhi