当たり前と言えば、当たり前
でも気付かないと嵌るって事でメモ

Intent intent = new Intent( "myaction.name");

// toString を忘れると CharSequence となるので getExtraString では受け取れない!
EditText x = (EditText)findViewById(R.id.editText_x);
intent.putExtra( "X", x.getText().toString());

Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)

© 2024 Falco Tech Blog Suffusion theme by Sayontan Sinha