crackyourinterview.com


To improves our performance please Like Share Subscribe(Will boost us)

How can we pass data to sub activities in Android?
Question Posted on 30 Sep 2021Home >> Android >> Android Interview Questions >> How can we pass data to sub activities in Android?

How can we pass data to sub activities in Android?
Here in android we can use bundles to pass data to different sub activities. And there ate HashMaps which take trivial data types. And these bundles transport information from one activity to another. Below is the syntax for the same:-

Bundle bobj=new Bundle();
bobj.putString("Email","test@test.com");
i.putExtras(bobj); //here i is intent
0
0



.


Most Visited Questions:-

Deep Learning Questions Answers
Below are the different Deep Leaning Questions and answer a More...

Continuous Integration Questions Answers
Below are the 20 odd questions for CI or Continuous Integra More...

Derived relationships in Association Rule Mining are represented in the form of __________.
Derived relationships in Association Rule Mining are repres More...

What is Gulpjs and some multiple choice questions on Gulp
Gulpjs is an open source whihc helps in building Javascript More...

Microservices Architecture Questions Answers
Below are the different questions on Microservices Architec More...




Other Important Questions

Can we change the name of any application after its deployment in Android?

What is DDMS and its features?

Code to call another activity in Android?

What is Android and used for

What is Open Handset Alliance (OHA)






@2014-2022 Crackyourinterview (All rights reserved)
Privacy Policy - Disclaimer - Sitemap