EDIT: woah ... somehow i replaced this question with another one i was asking, glad there is this rollback feature
this specific question deals with the
suggest not to define an array in advance, and used directly without defining a variable
mAutoComplete.setAdapter (new ArrayAdapter(this, android.R.layout.simple_dropdown_item_1line, getResources().getStringArray(R.array.OmskStreets)));
and more..
in Class
private String[] mStreets = null;
and in onCreate method
mStreets = getResources().getStringArray(R.array.OmskStreets);