SharedPreferences or SQLite Database?

I'm writing a small alarm clock application, and I'm currently using SharedPreferences to store the settings for each alarm. I figured this would be more lightweight than using the SQLite Database, but now I'm thinking about writing a small thread-safe wrapper for SharedPreference. Am I being an idiot and should just use the database or would this still be more light-weight than the database?


For something this small, how lightweight it is isn't really relevant. Its a matter of 10 nanoseconds versus 50 nanoseconds (not literally but you get the idea). Just use what is easier and more reliable for your app


  • Unexpected behavior when launching a dialog-style activity
  • C# Simple Event Handler for Setting Alarm
  • How to trigger an alarm only once in Android?
  • Logging framework for Windows Store Apps
  • Lua - How to find a substring with 1 or 2 characters discrepancy
  • Android AlarmClock search by label
  • what causes component requestFocus to fail sometimes?
  • Alternate (Free) to AOP PostSharp for method tracing (and exception)
  • how to store data in database(sqlite)
  • Animating an SVG Group
  • Client side validation mvc dropdown
  • CRASH: *** -[__NSArrayM objectAtIndex:]: index 4294967295 beyond bounds [0 .. 9]
  • How to turn (A, B, C) into (AB, AC, BC) with Pig?
  • Android Database Error - getWriteableDatabase
  • Azure table store snapshot/backup capability
  • Convert SQLite database to XML
  • How to make JSON.NET deserialize to Microsoft Date Time?
  • How to get current document uri in XSLT?
  • How to disable all widgets inside Panel or inside Composite?
  • Java color detection
  • uniform generation of points on 3D box
  • How to determine if there are bytes available to be read from boost:asio:serial_port
  • Visual Studio 2010 debugger build correctly - compiler pdb and linker pdb not in synch?
  • How to get Eclipse Oxygen to run on Java 9
  • MailKit: The IMAP server replied to the 'EXAMINE' command with a 'BAD' response
  • Unity3D & Android: Difference between “UnityMain” and “main” threads?
  • Q promise. Difference between .when and .then
  • Using $this when not in object context
  • Uncaught Error: Could not find module `ember-load-initializers`
  • Optimizing database types to compact database (SQLite)
  • Spray.io: When (not) to use non-blocking route handling?
  • swift auto completion not working in Xcode6-Beta
  • How to extract text from Word files using C#?
  • How to check if every primary key value is being referenced as foreign key in another table
  • Sending data from AppleScript to FileMaker records
  • Jquery - Jquery Wysiwyg return html as a string
  • XCode can't find symbols for a specific iOS library/framework project
  • Hibernate gives error error as “Access to DialectResolutionInfo cannot be null when 'hibernate.
  • Programmatically clearing map cache
  • How to get NHibernate ISession to cache entity not retrieved by primary key