android - Is it possible to Save a string array to an XML file? -


I know that it is possible to use it. GetResources () to load XML data into a string array, but how do I contrast? I want to add an array to an XML file and save it.

You have the data located on the runtime located in the xml file located in your reserve folder.

There are 5 options to save data on runtime

1) Shared priorities: Store private primitive data in key-value pairs 2) Internal storage: Private data store on device memory 3) External storage: Store public data on shared external storage. 4) SQLite database: Store structured data in a private database. 5) Network connection: Store data on the web with your own network server

The share priority occurs when you have small data to save files such as internal storage or external storage image, text file etc. Can be used for. SQLite database can be used to store contact numbers, area names and network connections when you have the status of the client server for the data entry application.

Read more here

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -