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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T06:16:41+00:00 2026-05-27T06:16:41+00:00

I will try to make this as clear as I can. Please let me

  • 0

I will try to make this as clear as I can. Please let me know if there is anything I can clarify.

I am downloading information from an SQL table in a database online to the phone. In the LogCat, I have been able to go through the table and see all the information I want. I am wondering about how best to save the information on the phone. I do not think that is necessary to create a new local database. Should I create a cursor with the information from the online database or store it in some kind of structure?

  1. The data does not need to be stored for a long time and when the application is closed it is ok to lose it.
  2. I want to be able to see information from one of the columns from the SQL table in a list format and then click on it and see all the information from the row of that item in another activity. I have done this in another part of the app but it is using data from a local database on the phone.

Here is some code to help clarify:

Log.d("Provider Tester", "Result printed is: " + result);     

    JSONArray jArray = new JSONArray(result);
       for(int i=0;i<jArray.length();i++){

                JSONObject json_data = jArray.getJSONObject(i);
                Log.i("log_tag","Name: "+json_data.getString("Name")+
                        ", DateTime: "+json_data.getString("DateTime")
                );

I want to be able to show a list of names and then click on a name and see the corresponding date.

  • 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-27T06:16:42+00:00Added an answer on May 27, 2026 at 6:16 am

    If you are ok with loosing the data, you can keep it in memory as long as it is not too big.

    As for the ListActivity, you would use an ArrayAdapter if your data is in memory.

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

Sidebar

Related Questions

I will try to make this as clear as I can, but if you
I will try to make myself as clear as possible. Let start from the
I am going to try to make this question as clear as I can.
Been a tough week, will try to make this as clear as possible. Appreciate
I'm fairly new to C# but I will try to make this quick! ;)
I will try to be as clear as possible because I can't get anybody
If the title was not clear, I will try to clarify what I am
I will to try to explain this as best as I can. I have
What will be the code when I try to make a combo box read
I will try to keep this as simple as possible. I have a rather

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.