question

Talha avatar image
Talha asked

linking issue android,

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.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Talha avatar image
Talha answered

Updated: found solution. Just added null exception handling using try catch. working great.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.