getIntent() will return you the original intent you've used to start
activity.

On Apr 15, 8:48 am, Ali Murtaza <[email protected]> wrote:
> Hi
>
> I am new in android and just want to save a data in one activity and then
> send it on other activity, just like notepad tutorials i used
>
> Intent ii = *new* Intent(Calendar.*this*, EditEvent.*class*);
>
> ii.putExtra("eventdate", *this*.toString());
>
> and then in other activity
>
> date = savedInstanceState != *null* ? savedInstanceState.getString(
> "eventdate"):*null*;
>
> i used this but it is not working, the date contain null
>
> please tell me error as well as the function which is run by default when
> activity context switching occurs.
> Thanks
>
> --
> Ali Murtaza
>
> BCSF06M021
> Research Assistant
> Data Virtulization Ware House
> PUCIT, Lahore, Pakistan
> [email protected]

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en

To unsubscribe, reply using "remove me" as the subject.

Reply via email to