if(result.AccountInfo.AndroidDeviceInfo.AndroidDeviceId==null){
link to current device
}
else{
link to link to this (result.AccountInfo.AndroidDeviceInfo.AndroidDeviceId) device)
}
doesnot work, it never goes in the else statement and i get nullreference exception : object reference not set to an instance of an object.