The stack trace clearly tells you where the error is @ NavigateImage.java Line#31
Looking at code, it seems like you are passing wrong resource id in following line. May be you meant to use R.id.edit_destination
EditText e = (EditText)findViewById(Edit_current);
So, I suspect, it is crashing from
final String current = e.getText().toString();
Because it can't find the EditText
e.
NOTE: In future as best practice, please use descriptive variable names.
No comments:
Post a Comment