Skip to content

Instantly share code, notes, and snippets.

@hyoromo
Created July 30, 2010 09:31
Show Gist options
  • Save hyoromo/500232 to your computer and use it in GitHub Desktop.
Save hyoromo/500232 to your computer and use it in GitHub Desktop.
int colorId;
String model = Build.MODEL;
if (
"JN-DK01".equals(model) ||
"IS01".equals(model) ||
"SH-10B".equals(model)
) {
colorId = Color.WHITE;
} else {
colorId = Color.BLACK;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment