Sorry for posting this as I'm sure an answer is staring me in the face but I can't seem to filter the information to find the correct answer.
I'm trying to allow the user of my app to retrieve an image for me to manipulate. It seems that one of the correct methods is to launch an activity to allow the user to select the image of their desire and it will be returned by the activity. Such as, // Create Intent to launch the picture selection activity Intent intent = new Intent(Intent.ACTION_PICK, android.provider.Contacts.Photos.CONTENT_URI); // Launch activity startActivityForResult(intent, requestCode); ... ... later when the activity has exited and the data is to be returned. The following method is invoked, /** * onActivityResult (int requestCode, int resultCode, Intent data) * * Called when an activity you launched exits, giving you the requestCode you started it with, the resultCode it * returned, and any additional data from it. * */ @Override public void onActivityResult(int requestCode, int resultCode, Intent data) { BUT WHERE IS THE DATA!. Since I am calling an activity that is foreign to me how do I know where in the intent the called activity has placed the data. None of the 'Standard Extra Data' fields that can be used with extra data to identify and retrieve an image. } -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en