[Android] Simplify the setting of the AlertDialog in function detectDevice. setMessage allows setting the message through just the message string ID.