Hi everyone, I'm now trying to get an image through starting an
activity implicitly with intent. This is what I do in code:
Intent getImageIntent = new Intent(Intent.ACTION_GET_CONTENT);
getImageIntent.setType("image/*");
startActivityForResult(getImageIntent, 1543);
As you can see, I start the activity with an action to get content of
image type file. Well, it works. An activity (I don't know from which
application it is) which I can select an image is brought to the
front. The problem is, when I want, for instance, cancel to select an
image and pressed the Back button, the application just stopped and
won't return to my previous activity. I'm currently using SDK 1.6 and
working on emulator.
I wonder if it is because there's nothing to be returned as the
result. Any idea how to make it return to my previous activity when I
press Back button? Any help would be appreciated. Thanks in advance.
--Surya W. Madjid
--
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.