It's really very simple. As I can see you can communicate with your database, you can easily put a check between data from the activity and the database, iterate through all the records and the if you find the exact match, Toast it...
Simple, huh !! :)
See the similar kind of example over here on
AndroidHive[
^]