For example, assume it:
In a question paper, I have to write the answer for given questions but there is no choice available. So overall I am attending all the questions. My answers might be a wrong or correct. It should be able to match up with the known answers already existing in a another table.
Then result will be like this, my answers and already existing correct known answers will be display in a page.
So probably I can know it for such particular questions which one is correct answer and wrongly I opted so could able to check about my capabilities.
So question is TextView and answer is EditText. If I write answer on EditText it should be able to check my answer with existing correct answers in a table.
How could i do this programmatically on Android?
You can get EditText value which user enter by using following in Button onclick event.
OR
You can also check on Text Changed Event.