I have an array of editTexts which I make like this:
inputs[i] = new EditText(this); inputs[i].setWidth(376); inputs[i].setInputType(
This will make all the characters uppercase when writing.
edittext.setFilters(new InputFilter[] {new InputFilter.AllCaps()});
Original answer here.