String x = "android"; if (x == "android") { Log.d(TAG,"OK !"); }
String x = "android"; if (x.equals("android")) { Log.d(TAG,"OK !"); }