I have the following code and the activity that displays notes is not
closing after picking an item. Do I need to explicitly close this
activity??
Thanks for your help
Satya
public static void invokePick(Activity activity)
{
Intent pickIntent = new Intent(Intent.ACTION_PICK);
pickIntent.setData(Uri.parse("content://com.google.provider.NotePad/notes"));
activity.startActivityForResult(pickIntent, 1);
}
and my onActivityResult looks like
protected void onActivityResult(int requestCode
,int resultCode
,Intent outputIntent)
{
super.onActivityResult(requestCode, resultCode, outputIntent);
// do something with the outputIntent
}
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---