Skip to content

Instantly share code, notes, and snippets.

@dario61081
Created July 20, 2017 17:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dario61081/48f544ca9613daf0d1ddeeccf123e328 to your computer and use it in GitHub Desktop.
Save dario61081/48f544ca9613daf0d1ddeeccf123e328 to your computer and use it in GitHub Desktop.
private String getImei() {
try{
return Settings.Secure.getString(getContentResolver(), Settings.Secure.ANDROID_ID);
}catch (Exception e ) {
return "(Desconocido)";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment