Skip to content

isabella232/soomla-android-core

 
 

Repository files navigation

This project is a part of The SOOMLA Framework, which is a series of open source initiatives with a joint goal to help mobile game developers do more together. SOOMLA encourages better game design, economy modeling, social engagement, and faster development.

soomla-android-core

When using the SOOMLA framework, you always start by initializing the core module from your main activity:

Soomla.initialize(this, "[YOUR SOOMLA SECRET HERE]");

This sets up the local on-device database used by SOOMLA. The secret is used for encrypting the data, make sure to choose a good one.

This core library holds common features and utilities used by all other modules of the SOOMLA framework. It includes:

  • An encrypted key-value storage (SQLite based) for persisting data locally on devices.
  • Utilities for String and JSONObject manipulation.
  • Utilities for Logging and encryption.
  • An event bus (using Square's otto) for publish-subscribe events.
  • SoomlaEntity - the base class from which all SOOMLA domain objects derive
  • Reward domain objects and events - used to grant your users rewards.

SOOMLA modules internally use these features, though we encourage you to use them for your own needs as well. For example, use our key-value storage for custom game data for usage across game sessions.

Download

Pre baked jar:

From sources:

  • Clone this repository recursively: git clone --recursive https://github.com/soomla/soomla-android-core.git
  • Run ./build_all from project directory
  • Take created binaries from build directory and use it!

Our way of saying "Thanks !"

Other open-source projects that we use:

Contribution

SOOMLA appreciates code contributions! You are more than welcome to extend the capabilities of SOOMLA.

Fork -> Clone -> Implement -> Add documentation -> Test -> Pull-Request.

IMPORTANT: If you would like to contribute, please follow our Documentation Guidelines. Clear, consistent comments will make our code easy to understand.

SOOMLA, Elsewhere ...

License

Apache License. Copyright (c) 2012-2014 SOOMLA. http://soom.la

About

Core library for all SOOMLA open source projects

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 98.6%
  • Shell 1.4%