Home | History | Annotate | Download | only in com.example.android.wearable.quiz

Lines Matching refs:ANSWERS

19 import static com.example.android.wearable.quiz.Constants.ANSWERS;
80 * The status of questions will be updated on the phone when the user answers them.
215 private String[] answers;
218 public Question(String question, int questionIndex, String[] answers,
222 this.answers = answers;
230 String[] answers = new String[JsonUtils.NUM_ANSWER_CHOICES];
232 answers[j] = answersJsonArray.getString(j);
235 return new Question(question, questionIndex, answers, correctIndex);
248 dataMap.putStringArray(ANSWERS, answers);
274 // Retrieve the question and answers supplied by the user.
276 String[] answers = new String[4];
277 answers[0] = choiceAEditText.getText().toString();
278 answers[1] = choiceBEditText.getText().toString();
279 answers[2] = choiceCEditText.getText().toString();
280 answers[3] = choiceDEditText.getText().toString();
283 addQuestionDataItem(new Question(question, mQuestionIndex++, answers, correctAnswerIndex));
295 * Adds the questions (and answers) to the wearable's stream by creating a Data Item
499 dataMap.getInt(QUESTION_INDEX), dataMap.getStringArray(ANSWERS),