I am trying to access an image in another activity (say B) which is being captured in activity(say A). Now here, I have two options:
1. Save to sd card and then access in activity B through the filepath.
But, time taken to save is higher in some cases, probably because of higher
image size.
2. Send the bit array through intent.putExtra("imageArray" , data) and access it
in activity B through getIntent(). But on surfing net, I found sending bigger
bitmap of 1MB or more is a bad practise but didn't find anything with regards to
bitarray.
Can someone suggest me which option is better ? And is sending a bitmap of greater size as bitArray to another activity a bad practise ?
My requirement is : time lag between two activities A and B should be minimum. Also, image should be loaded in activity B in no time.
Thanks in advance.