sir
i want to create a android program through intent. suppose there is a edittext. if we click on edittext it will move to another sub activity and then typing the name. it will come back to main activity with that name.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
arpit banka2 reputationPosted Jul 8, 2014, 4:07 AM EDT
Intent intent = new Intent(MainActivity.this, SubActivity.class); startActivity(intent);
transfer data from one activity to another..
Intent intent = new Intent(presentActivity.this,NextActivity.class); intent.putExtra("KEY_StringName", name); intent.putExtra("KEY_StringName1", name1); startActivity(intent);