title: How to get Nexus 7 serial number programmatically?
body: <p>We've developed an app that needs to identify every device uniquely. We first thought of using IMEI and we're obtaining it using the TelefonyManager's getDeviceId() method.</p>
  
  <p>But one user reported that the app doesn't work and it seems we weren't able to get the IMEI. I read <a href="https://stackoverflow.com/questions/21228525/how-to-get-imei-number-for-google-nexus-7-tab-in-android?lq=1">here</a> that some Nexus 7 don't have an IMEI, that they use another way for serial number: CSSN. How can I obtain it? Or, even better, is there a preferable way to uniquely identify every android device?</p>
  
  <p>PS: We do have one Nexus 7 here for testing and it works perfectly, that's why before I said <strong>some</strong> Nexus 7.</p>