Simperium Android

Introduction

Simperium Android allows for easy data management for your app, including:

  • Moving data to Android and non-Android versions of your app
  • Retaining control of your users and data
  • Building backend services
  • Earning money by selling more storage to your users
  • Branding these capabilities as your own

How it Works

Simperium works with data models that you define within your app. As users interact with your app, Simperium efficiently aggregates changes and moves them through our hosted, scalable service.

Changes are moved to and from Simperium as soon as possible. In the case where all devices are online, changes are moved in realtime. In the case where one or more devices are offline, data moves as soon as those devices come online. Conflicts can be resolved automatically.

Although the Simperium service hosts your app's data, you retain control. You can host your own services that can see and store all data that moves through the system.

User Accounts

In order to securely access their data, your users need accounts that will identify them. Simperium gives you a default system for user accounts with authentication dialogs that you can customize.

Data Model

When Simperium moves data to and from other versions of your app, and your backend services, it currently expects that your Entity names will match the bucket names you're using in other versions of your app (e.g. iOS, web). Entity attributes will appear as identically named fields in your JSON objects.

To sync a data model in your app with Simperium, all you need to do is extend Simperium's BucketObject class, and save your class properties with the setProperty() method. Once save() is called on the class instance, it will sync with Simperium.

Getting Started

The best place to start is the Simpletodo tutorial. It will walk you through our Simpletodo sample app for Android.