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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T20:31:33+00:00 2026-05-24T20:31:33+00:00

I have an android app that displays a list of items in a Custom

  • 0

I have an android app that displays a list of items in a Custom ListView using checkboxes.I need to write a code that stores the checked and unchecked items locally on my phone or emulator(since now presently working on localhost). Is there any way to store the data locally on the phone. I have heard of SQLLite and SharedPreferences but I have an application made already and for me it would better using the same for storing the data rather than creating a separate code structure as in the case of SQLLite.

Also the data I am going to store, I plan to use it to send to a remote database via web services. So considering all this ,

Can anyone tell me how to go about using SharedPreferences for my application?

Here’s my present android code : http://pastebin.com/VvVU5Lrb

  • 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-24T20:31:34+00:00Added an answer on May 24, 2026 at 8:31 pm

    I would convert the list to JSON string and save it in shared preferences, both operations are simple and the JSON format will allow a simple transfer and parsing of the data in the server side as well.

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

Sidebar

Related Questions

I have an Android application that displays a list of names using checkboxes. I
I have Android client app that communicates with server using Socket . On my
I need an advice. I am creating an android application that have multiple List
For an Android app...I have a button on an Activity that calls a custom
I have an android app with a screen that comprises of a ListView, which
I have written a small android app that grabs some data and displays it
I have recently started making an Android app that requires a list of 20
I have an android app that I am trying to launch and it gives
I have an Android app that has an Application class and I have another
I have an android app that plays audio from the application class. I have

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.