When emulating, it knocks out a program, although the development environment does not give an error.
@Override public void onCheckedChanged(RadioGroup group, int checkedId) { int parse_kolichestvo = Integer.parseInt(tvResult.getText().toString()); switch (checkedId) { case R.id.radioButton_250: cena.setText(getString(**R.string.cena53*parse_kolichestvo**)); break; case R.id.radioButton_500: cena.setText(getString(**R.string.cena73*parse_kolichestvo**)); break; } } });
The problem is precisely in the part of multiplication and reference to the string.