title: tm.getDeviceId() is deprecated?
body: <p>I'm getting the <code>IMEI</code> and device Id's, so here I am getting a problem <code>getDeviceId()</code> is deprecated.</p>
  
  <pre><code>TelephonyManager tm = (TelephonyManager) 
                   getSystemService(this.TELEPHONY_SERVICE);
  
  imei = tm.getDeviceId();
  device = Settings.Secure.getString(this.getContentResolver(),
             Settings.Secure.ANDROID_ID);
  </code></pre>