Team Leader Android Developer Question:

Tell me how will you pass data to sub-activities?

Team Leader Android Developer Interview Question
Team Leader Android Developer Interview Question

Answer:

We can use Bundles to pass data to sub-activities. There are like HashMaps that and take trivial data types. These Bundles transport information from one Activity to another

Code

Bundle b=new Bundle();
b.putString(“Email”, “ggl@xyz.com”);
i.putExtras(b); //where I is intent


Previous QuestionNext Question
Please explain how can two Android applications share same Linux user ID and share same VM?Tell me what is An android manifest file?