0

Is there any possibility to persist some (string) value to system that will be available in Java application from run to run like persisting to NSUserDefaults in Objective-C?

Solving this problem in Android: Android equivalent of NSUserDefaults in iOS

Community
  • 1
  • 1
kisileno
  • 787
  • 9
  • 23
  • 2
    See [Preferences](http://docs.oracle.com/javase/8/docs/api/java/util/prefs/Preferences.html). – VGR Jun 16 '16 at 15:51
  • 1
    Yes - There are __tons__ of persistence methods for plain Java apps - [Preferences](http://docs.oracle.com/javase/8/docs/api/java/util/prefs/Preferences.html) is one, or write to a database or text file or even store it in some cloud service. You have so many choices - just pick one that works for your use case. – Krease Jun 16 '16 at 15:57

0 Answers0