public static synchronized Sprinkles init(Context context, String databaseName, int initialDatabaseVersion) {
        if (sInstance == null) {
            sInstance = new Sprinkles();
        }
        sInstance.mContext = context.getApplicationContext();
        sInstance.databaseName = databaseName;
        sInstance.initialDatabaseVersion = initialDatabaseVersion;
        return sInstance;
    }
public static synchronized Sprinkles init ( Context context , String databaseName , int initialDatabaseVersion ) { if ( sInstance == null ) { sInstance = new Sprinkles ( ) ; } sInstance . mContext = context . getApplicationContext ( ) ; sInstance . databaseName = databaseName ; sInstance . initialDatabaseVersion = initialDatabaseVersion ; return sInstance ; }
Initialize sprinkles so queries can be performed

@param context
A context which is used for database operations. This context is not saved, however it's application context is.

@param databaseName
The name of the database to use.
This is useful if you start to use Sprinkles with an app with an existing DB.

@param initialDatabaseVersion
The version of the existing database.

@return The singleton Sprinkles instance.