Questions tagged [data-persistence]

256 questions
2
votes
1 answer

Which is best data storage type to store data received from server?

I have certain data that is received from the server, I call it History. Everytime I visit some website, I have to save the URL in the History list. The list will be displayed in a table later on, for the user to view. What data storage type should…
iOSDev
  • 3,617
  • 10
  • 51
  • 91
2
votes
2 answers

Delphi: Store data in somekind of structure

For a simulation program I'm working in Delphi 2010. The simulation isn't a problem but I need to use large collection of data which gives a problem. The data is available in excel sheets, so there is no need to edit this data in Delphi, but…
Jort
  • 79
  • 1
  • 7
2
votes
1 answer

When an app gets updated, is it just the binary that gets updated, and not the data files?

What exactly will get updated when someone updates their app? Does it update external data files in the bundle, overwrite them, replace them...?
Marty
  • 5,926
  • 9
  • 53
  • 91
2
votes
2 answers

Reactive UI Data Persistence

Can anyone help me with some direction on how to implement Data Persistence on a Xamarin forms app using UWP and iOS? I've found a few examples online, but they are quite old and reference only iOS and Android Xamarin Native. Basically I want to…
2
votes
1 answer

Python npy file how to access variables

I have created a npydataset by using the following tensorlayer command. tl.files.save_any_to_npy( save_dict={ 'images': aggregated_images, 'actions': aggregated_actions, 'rewards': aggregated_rewards}, …
MrYouMath
  • 547
  • 2
  • 13
  • 34
2
votes
1 answer

docker build ignore existing data and database config stored in my volume

I have the following docker-compose.yml file: # some other services here ...... ...... ############################# # Setup PostgreSQL container ############################# service-postgres: image: postgres:10-alpine …
2
votes
1 answer

secure data persistence of string array

I am displaying a list of images in collectionView. Those images are stored in an array of strings and are available only if user previously bought them as an IAP. The next time the user launches an app, newly bought images should be available to…
sanjihan
  • 5,592
  • 11
  • 54
  • 119
2
votes
2 answers

Java - Caching of a large object instance for multiple runs, possibly in NetBeans

i am trying to figure out if there is a 'simple' way to store persistently a large object instance in the JVM memory to be shared and re-used for multiple runs by other programs. I am working on netbeans using java 8. The data is some ~500 MB of…
2
votes
1 answer

How to ensure data persistence across classes and methods in Java?

I am new to Java and object oriented programming, hence this basic question. Say for example I am developing a banking application. One of the objects is customer with some fields such as account balance, etc. Assume there are some classes which…
2
votes
1 answer

Android data is lost onCreate() after startActivity() for callback

I have an android app which connects to twitter via twitter4j. In an activity there is a share button and a TextView. The flow is like below; User opens the activity starting onCreate() which populates the TextView User clicks "Share" Twitter…
2
votes
1 answer

Is it possible to implement a lightweight database using Blackberry Persistance options?

First I would like to explain why I want to use alternate Blackberry Persistance options rather than a Blackberry database itself, say SQLite. The reason is that the application i'm designing, I want it to be used in all the previous versions of…
Tobias
  • 579
  • 1
  • 5
  • 15
2
votes
1 answer

Why doesn't fetched data disappear when returning to a view?

In my view controller's viewDidLoad method (which is only called once, unlike viewDidAppear), I'm making a network request for data. Whenever I switch views and return to the first view, I've noticed that even though data is not being pulled again,…
user1161310
  • 3,069
  • 3
  • 21
  • 27
2
votes
3 answers

Data Persistance in iPhone Applications

In the development of my first serious iPhone application (Meaning I'd like to actually get it out on the AppStore), I needed a good way to represent my data. Instead of going with core data, I (stupidly, I think) decided to use classes to represent…
Matt Egan
  • 809
  • 1
  • 10
  • 16
2
votes
2 answers

Persist data with ARM MCU in c

I am relatively new to embedded programming and have not been able to find a way to save data to the MCU, so that it persists during reboots. I have read somewhere that I will need to use PROGMEM to save to the MCU flash. But have not found any…
Remixed123
  • 1,575
  • 4
  • 21
  • 35
1 2
3
17 18