title: How to get a persistent udid in Android?
body: <p>I am developing a social media app and I want to generate a unique number for every device that registers to my server. My question is, how to generate a udid that won't change in the furure.</p>
  
  <p>For example, the user uninstall the app and than install it again (udid generation activated) it has to be the same one that was before the uninstall. Also, the udid has to be in the following format: </p>
  
  <pre><code>c376e418-da42-39fb-0000-d821f1fd2804
  </code></pre>
  
  <p>Please share any ideas!</p>