These are chat archives for ncxx-sl-lab/workspace

7th
Mar 2015
masashi-sutou
@masashi-sutou
Mar 07 2015 01:47
岡本さんが参加したよ!
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        android.util.Log.i("", "メイン画面のonCreate");

        // 回答数の表示
        TextView firstDayQuestionText = (TextView) findViewById(R.id.id_first_day_question_text);
        TextView secondDayQuestionText = (TextView) findViewById(R.id.id_second_day_question_text);

        // intentから値を受け取る
        Intent intent = getIntent();
        firstDayQuestionText.setText(intent.getIntExtra("FIRST_DAY_ANSWER", 0) + " / " + 5);
        secondDayQuestionText.setText(intent.getIntExtra("SECOND_DAY_ANSWER", 0) + " / " + 6);
    }
masashi-sutou
@masashi-sutou
Mar 07 2015 06:53
九州研修終えたよ!!!!!!!!
ncxx-okamoto
@ncxx-okamoto
Mar 07 2015 06:53
お疲れ様でした!!
masashi-sutou
@masashi-sutou
Mar 07 2015 06:54
    public void onBtnFirstDay(View view) {
        // Intentで1日目のアンケート画面へ
        Intent mainToFirst = new Intent(MainActivity.this, SecondActivity.class);
        startActivity(mainToFirst);
    }
アプリから見た!
shinsuke-yamaguchi
@shinsuke-yamaguchi
Mar 07 2015 08:41
山口です。