InterviewSolution
Saved Bookmarks
| 1. |
What is the use of Bundle in Android? |
|
Answer» Bundles are USED to pass the required data between various Android activities. These are like HASHMAP that can TAKE trivial data types. Below code shows how to transfer a piece of data by USING bundle: Bundle B=new Bundle();b.putString("Email","abc@xyz.com");i.putExtras(b); // where i is intent |
|