I am working in android. i have a problem. my application crashes when i click on my text box second time.
this is my Logcat message:
java.lang.Index
You haven't explained about your code. So it's difficult to get through your problem.
Check this blog. It may help you. This blog says about a time picker issue. The same applies for EditText & TextView also.
setSaveFromParentEnabled(false) & setSaveEnabled(true) should solve the issue.
tp = (TimePicker) findViewById(R.id.timePickerComponent);
//two lines to add after
tp.setSaveFromParentEnabled(false);
tp.setSaveEnabled(true);