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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T22:38:43+00:00 2026-05-30T22:38:43+00:00

I am trying to implement a dictionary application on Android. As user enters a

  • 0

I am trying to implement a dictionary application on Android. As user enters a letter into the EditText (or deletes a letter), application queries the database and shows all entries begining with the text in EditText. Since the database I am using contains more than 80000 rows, performance of the query is not as good as I want. However the real problem occurs when user deletes characters from EditText. Hence I thougt to store Cursor objects in a Stack. When user deletes a character, application pops the previous Cursor from stack and uses it. Is it a bad idea to store a Cursor object returned from a SQLite query?

  • 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-30T22:38:44+00:00Added an answer on May 30, 2026 at 10:38 pm

    SQL database may be not right tool at all for this purpose as query using “like” is not really perfomant in relational database. You may get better performance, if you denormalize your data by storing (and indexing) prefixes for each entry. And not forget to add kind of score, to prioritize entries (say, if entry was choosen give it higher score)

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

Sidebar

Related Questions

I’m trying to implement a dictionary for use with WCF. My requirements are: actual
All I am currently trying implement something along the lines of dim l_stuff as
trying to implement a dialog-box style behaviour using a separate div section with all
I'm trying to implement a plug-in like application. I know there are already several
I'm trying to place custom objects into a sorted dictionary... I am then trying
I'm trying to implement an fast lookup for sorted tuples in a dictionary; something
I've been following the Searchable Dictionary example pretty carefully as I'm trying to implement
Getting started with python. I am trying to implement positional index using nested dictionary.
I am trying to implement simple algorithm with use of C#'s Dictionary : My
I'm trying to make a QML-based dictionary application. It fetches the word definition via

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.