Updated for the latest calls in the AndroidSDK