Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Cat Exam

 :) Latest Topic
AJAX
VB.NET
SQL Query
UDDI
CLASS
JavaScript Questions
SharePoint Interview
SilverLight
WCF
general knowledge
 ASP.NET
 :) Hot Jobs
 
 :) Latest Articles


  

 


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

Home >> 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



 
 Input Your Comments Or suggestions(If Any)
 Name
 Email(optional)
 Comments


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)






 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |