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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
arpit bankaPosted Jul 8, 2014, 8:07 AM
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);