I am creating a sample application using sqlite database unfortunately I am not familiar in sqlite database concepts. I have the following requirements,
- I have a sqlite database named as quotes.db. The database having two fields in is number and Quotes. Which is stored in assets folder.
- In my Activity i have two fields one is edittext and another one is button.
- When the user enter the value (number) in edittext and click the button. Now I display the corresponding quotes which is stored in database.
if any one having sample code snippet similar to this kindly post. Thanks in advance.
You can follow this tutorial which is an introduction to Android apps and especially to databases in Android.
Quting the website: