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 8164307
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T19:17:20+00:00 2026-06-06T19:17:20+00:00

I am building an application where the user can save some information into an

  • 0

I am building an application where the user can save some information into an sqlite database. What I now want to do is be able to get the data from the sqlite database and store each row in its own string.

Note
There is only one column in the database.

  • 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-06-06T19:17:21+00:00Added an answer on June 6, 2026 at 7:17 pm

    So, algoritm is not difficult, just create Cursor and in loop you will be retrieving data from it and then save them to List for example.

    So try this snippet of code:

    final String SELECT_QUERY = "Select column from Table";
    List<String> data = new ArrayList<String>();
    String member = null;
    Cursor c = db.rawQuery(SELECT_QUERY, null);
    if (c.getCount() > 0 && c.moveToFirst()) {
       do {
          member = new String(c.getString(0));
          data.add(member);
       }
       while (c.moveToNext());
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Now, I'm building an application to learn english. In my app, when user have
I'm building a MVC3 application that needs to store secure user information such as
I'm building a GWT Application. But i dont want user to enter any html
I'm building a web application where the user can supply a bit of his
So, I'm building an application which save locations to a database using lat/lon coordinates.
I have been building a core data application to administrate some data and I've
I'm building a desktop application with Castle ActiveRecord and want to be able to
I have been tasked with building an application where an end user can have
I am building a twitter application where a user can enter a tweet and
Let's say I'm building a web application whose user pages can be found at

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.