As discussed, getBytes is not deprecated in Android