on-internet
← Community

Reading data from Sqlite Database in android application.

Stack Overflow ·

I am trying to read data from a database. I imported the database in the sqlite manually and now just want the connection made in android application and want to read the rows and display them in the text fields, however the code I am using is either making the database new every time or is creating the table again in that database and I get a run time error. My code is : package com.example.dbexample; import java.util.ArrayList; import java.util.List; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteData

Comments

Sign in or sign up to comment and upvote.

No comments yet.