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

  • Home
  • SEARCH
  • 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 8439675
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T08:03:56+00:00 2026-06-10T08:03:56+00:00

I really need to create a small DB for doing only SELECT querys in

  • 0

I really need to create a small DB for doing only SELECT querys in my app. Because of that I would like to know:

  1. Does android provide something for design and fill a DB? I mean no programming. Something like phpmyadmin so I could fill it and make a relation between 2 tables before running the app in an emulator or a phone.
  2. If I create a DB, will it be visible from some file in the user mobile phone? Because I read in android manual that it was invisible but in some places I read that it’s saved in the mobile… I would prefer that this DB would be like a resource like it can be a layer or a string.
  3. If I really need to create a DB each time the app is displayed for present the same information always, could I just “upload a sample” of that database in one line of code or so?

I need this for display a big list of items (maybe 2000 items) in different languages. I could do that just creating an array string resource but I need to order the list in a different way depending on the location of the user. At the end I need to retrieve an “ID” of the items selected but because it’s impossible to do a 2D array string as a resource then I can’t assign a number to the items so I can only know their positions in the list. The problem is that if I alter the items I will have a mismatch of positions numbers as ID.

This array is for an autofill text. I know I can put a comma after each item with the number and before adding this array to the autofill do a split and select the first column for the autofill and the second for compare position to real ID but I thought it would have a better performance to have all in a DB. Am I wrong?

  • 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-10T08:03:58+00:00Added an answer on June 10, 2026 at 8:03 am
     1. Does android provide something for design and fill a DB? I mean no
        programming. Something like phpmyadmin so I could fill it and make a
        relation between 2 tables before running the app in an emulator or a
        phone.
    

    You can use Sqlite Browser to create a database

     2. If I create a DB, will it be visible from some file in the user  
         mobile phone? Because I read in android manual that it was invisible
        but in some places I read that it's saved in the mobile... I would
        prefer that this DB would be like a resource like it can be a layer
        or a string.
    

    It depends on where you create. Usually if you open a database it will be created in /data/data/[yourpackagename]/databases . This folder is incaccessible in normal cases, but if you have a rooted phone you can access this folder. Also while creating you could change the path to sdcard which is accessible everytime

      3. If I really need to create a DB each time the app is 
         displayed for present the same information always, could I just "upload a
        sample" of that database in one line of code or so?
    

    You could store the db in assets folder of your app and open it.

    Edit:

    If it is just a 2D array i think its better to save as a csv and extract. You could put it in assets or raw folder.

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

Sidebar

Related Questions

I need to create a patching routine for my application, it's really small but
I'm getting a compile errors, that I can't really fix. I need to create
I want to create a small helpdesk ticket control system at work, that would
I really need horizontal scrolling in my app, so I overrode Gallery and I'm
I would like to create some sort of a distributed setup for running a
I need to create a small GUI application to manually invoke some driver commands.
I've been working on a small page in PHP, one that doesn't need the
I'm new to java and really need some help. I created a command line
Really need just some guidance : Topological sort by arcs definition (from my question)
I really need the following in magento. When a customer shows the config product

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.