error in getting a check on local database in android application
<p>I am developing an android application in which i have a local database.I want that if user has already entered a medicine name say a.Then again i went to edittext and typed a .It should not  add in the local database,How to do this</p>

<p>I tried to follow this link</p>

<p><a href="http://stackoverflow.com/questions/5638049/insert-if-not-exists">Insert if not exists?</a></p>

<p>can anyone guide me</p>

<p>Thanks
Tushar</p>
