Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1080311
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T22:00:36+00:00 2026-05-16T22:00:36+00:00

Hi im trying to read sqlite file which is placed in assets/databases folder i

  • 0

Hi im trying to read sqlite file which is placed in assets/databases folder

i followed this link to read data from sqlite file
http://www.reigndesign.com/blog/using-your-own-sqlite-database-in-android-applications/

im getting error

no such table : while compiling
SELECT _id, name, address FROM
stores

Is there any permission i need to write in manifest to read sqlite file data?

Please let me know how i can solve this issue. Or else please give me any reference link to follow.

Thanks in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T22:00:37+00:00Added an answer on May 16, 2026 at 10:00 pm

    The way you’d want to do this is to make a new DBManager object that creates the database in its onCreate method–that way when the DatabaseHelper is first instantiated, the table will be created for you. Then you’d instantiate one and call getReadableDatabase() on it to get a DB object which you can then query.

    This tutorial may help you more, it’s more succinct and up to date: http://developer.android.com/guide/topics/data/data-storage.html#db

    After that, to set up the list view in a ListActivity, you can call setListAdapter and pass in a SimpleCursorAdapter. Here’s a tutorial on that: http://developer.android.com/guide/appendix/faq/commontasks.html#binding

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to read data from a sqlite database in an ios app.
I am trying to read data from a sqlite database and display it in
I am trying to copy DB from assets folder to device. This code is
im having some problems trying to read a SQlite data base from flash using
I am Trying to read data from text files and save tokens in SQLite
i'm facing a problem trying to read from the internal SQLite database (Android). this
I am trying to read in values from the SQLite database and I have
I'm Unable to copy SQLite database from assests folder to device memory(trying on emulator).
I am trying to directly import an SQL file from a SQLite database into
Trying to read headers for a csv file with: reader = csv.DictReader(open(PATH_FILE),skipinitialspace=True) headers =

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.