switch(getUserGender()) {
gender = AdjoeGender.MALE;
gender = AdjoeGender.FEMALE;
gender = AdjoeGender.UNKNOWN;
Date birthday = getUserBirthday();
// if you don't know the exact birthday, the year is already enough
Calendar calendar = Calendar.getInstance();
calendar.set(Calendar.YEAR, getYearOfBirth());
calendar.set(Calendar.MONTH, 0);
calendar.set(Calendar.DAY_OF_MONTH, 0);
birthday = calendar.getTime();
String source = ""; // where did you get the user's profile information from? "facebook", "google", ...
// send the profile information to adjoe
Adjoe.setProfile(context, source, gender, birthday);
} catch(AdjoeNotInitializedException e) {
// make sure to initialize the adjoe SDK first