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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T02:11:12+00:00 2026-05-25T02:11:12+00:00

There are various ways of storing and retrieving static data in Android, such as

  • 0

There are various ways of storing and retrieving static data in Android, such as saving in file, using preferences, XML parsing and database.

my first question is which of each is faster (to read and write data)?

and second is which of each has the best security (for example, file method is not secure because if user root his phone, the file is accessible by him or other softwares)?

Thanks

  • 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-25T02:11:13+00:00Added an answer on May 25, 2026 at 2:11 am

    My opinion would be that anything stored on the device is never truly secure so the only real secure option is to host the data in your own database either through your own server or a web host.

    It’s pretty easy to get Android talking to web services and there are tons of examples around the internet with a little Googling. (Look for ‘android web service’, etc.)

    If you have to store the data locally on the devices, I would say that using a local database would likely be the most secure option, although I’m definitely no expert in this area.

    As for speed, local access will likely be faster than remote access simply due to network latency. However, If you choose to do network access, I would recommend utilizing JSON. Here’s a great article related to Android/Services/JSON: http://www.josecgomez.com/2010/04/30/android-accessing-restfull-web-services-using-json/

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

Sidebar

Related Questions

There are various ways to maintain user state using in web development. These are
in my application (c# 3.5) there are various processes accessing a single xml file
There are various ways to show flash(swf file) on html, for example, object or
There are various ways to take screenshots of a running application in Windows. However,
There are various ways of exiting a process: e.g.: ExitProcess, ExitThread (from the main
There are various ways to bind events to elements in jquery .click , .bind,
There are various ways to handle session timeouts, like meta refreshes javascript on load
In medical imaging, there appears to be two ways of storing huge gigapixel images:
I'm trying to figure out how many possible ways there are to combine various
So there's an XSD schema that validates a data file. It declares root element

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.