Friday, September 14, 2012

[android-developers] is onActivityResult beeing not called when big amounts of data shall be passed

Hi,

i am tracking down a problem I can't really understand. Maybe some one knows why this happens.

Basicly Activity A starts Activity B to take a photo by calling startActivityForResult(...) in A and
setResult(...,outputIntent) in Activity B.

B is just a camerapreview with the ability to take a picture.

This seems to work fine if i set a small picturesize, if i use a bigger size onActivityResult is
not getting called. All data is set correctly, B.setResult gets called, B.finish as well.
B passes the uncompressed imageData to A

Is it possible that Android (somehow, for what ever might be the reason) doesn't call onActivityResult
in Application A if the size of the data in the Extras of the outputIntent is too big?

regards
martin

ps: unfortunatly the code is pretty abstract because there a lot of other features in the app as well, so it would be to complicated to post it ^^

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment