Here is my question and its solution regarding this problem..
Em trying to pass textview value between different activities, and em getting a problem. when i execute the code, the app crashes on opening StudentActivity, but then it shows the correct result..here is the code
LoginActivity.java
int a = Integer.parseInt(textView.getText().toString());
Intent i = new Intent(LoginActivity.this, StudentActivity.class);
i.putExtra("level", a);
startActivity(i);
StudentActivity.java
textView.setText(Integer.toString(getIntent().getExtras().getInt("level")));
IN studentActivity, Integer.toString(getIntent().getExtras().getInt("level")) => this line says Number formatting does not take into account locale settings. Consider using String.format instead.Please suggest some code.. Any help would be truely appreciated!!