Bundle are use when you called an activity and want to set extra datas...
you can always check the Notepad Tutorial

on the exercise 2 explained fair enough the bundle basic use...

http://developer.android.com/guide/tutorials/notepad/notepad-ex2.html

Bundle bundle = new Bundle();

bundle.putString(NotesDbAdapter.KEY_TITLE, mTitleText.getText().toString());
bundle.putString(NotesDbAdapter.KEY_BODY, mBodyText.getText().toString());
if (mRowId != null) {

    bundle.putLong(NotesDbAdapter.KEY_ROWID, mRowId);
}

With something like that they set parameters to the bundled, is very like a
HashMap<K,V>

http://developer.android.com/reference/android/os/Bundle.html

2009/7/29 saurabh sinha <[email protected]>

>
> Please send me example for camera in android
>
> >
>


-- 
Atte

[[Jose Luis Ayerdis Espinoza]]
http://blognecronet.blogspot.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to