Seems like all this should be changed to messageBody.toUpperCase().startsWith("//ANDROID:").