Why does Event intent in android not return a result?

Posted by dhaval on Stack Overflow See other posts from Stack Overflow or by dhaval
Published on 2011-01-13T05:36:54Z Indexed on 2011/01/13 7:53 UTC
Read the original article Hit count: 314

Filed under:
|
|
|
|

I am creating a event using

        Intent intent = new Intent(Intent.ACTION_EDIT);
        intent.setType("vnd.android.cursor.item/event");

And invoking the intent using

startActivityForResult(intent, Constants.LINK_CALENDER);

There is nothing returned to call in

onActivityResult(int requestCode, int resultCode, Intent data)

It always returns data=null ie., returned intent result is always null.

I am trying to retrieve the "Done/Revert" state of calender event just created and some identity so that i can open the event again in future from elsewhere in code.

© Stack Overflow or respective owner

Related posts about java

Related posts about android