sPFFramework/src/main/java/it/polimi/spf/framework/profile/ProfileTable.java
private boolean setValue(String key, String value, String personaIdentifier) {
		SQLiteDatabase db = getWritableDatabase();

		// Create a new map of values, where column names are the keys
		ContentValues values = new ContentValues();
		values.put(Contract.COLUMN_KEY, key);
		values.put(Contract.COLUMN_VALUE, value);
		values.put(Contract.COLUMN_PERSONA, personaIdentifier);

		// Insert the new row, returning the primary key value of the new row
		long newRowId;
		String nullHack = null;
		newRowId = db.insert(Contract.TABLE_PROFILE, nullHack, values);
		if (newRowId <= -1) {
			Log.e(TAG, "Failure on inserting key:" + key + " value:" + value);
			return false;
		}
		return true;
	}
private boolean setValue(String key, String value, String personaIdentifier) {
		SQLiteDatabase db = getWritableDatabase();

		// Create a new map of values, where column names are the keys
		ContentValues values = new ContentValues();
		values.put(Contract.COLUMN_KEY, key);
		values.put(Contract.COLUMN_VALUE, value);
		values.put(Contract.COLUMN_PERSONA, personaIdentifier);

		// Insert the new row, returning the primary key value of the new row
		long newRowId;
		String nullHack = null;
		newRowId = db.insert(Contract.TABLE_PROFILE, nullHack, values);
		if (newRowId <= -1) {
			Log.e(TAG, "Failure on inserting key:" + key + " value:" + value);
			return false;
		}
		return true;
	}
Insert a single profile field in the {@link Contract#TABLE_PROFILE}

@param key
@param value
@param personaIdentifier
@return true if the operation was successful