[AC-2479] Android: Large images selected from gallery are not getting displayed in imageView
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2013-04-08T20:37:44.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | android, defect |
Reporter | Pete Berry |
Assignee | Shak Hossain |
Created | 2013-02-08T19:54:34.000+0000 |
Updated | 2016-03-08T07:41:31.000+0000 |
Description
Large images not taken with the device's camera and selected from the gallery will not display in imageView:
var win1 = Ti.UI.createWindow({backgroundColor : 'blue'});
var TheImage = Ti.UI.createImageView({});
win1.add(TheImage);
win1.open();
Ti.Media.openPhotoGallery({success:function(e){TheImage.image=e.media;}});
Place the attached pictures in the directory "/sdcard/DCIM" then run the app and select "MyPictureSmall" from the gallery. Notice that shows on the screen. Running the app again, this time selecting "MyPicture", this one will not be displayed!
Thank you,
Pete
Attachments
File | Date | Size |
---|---|---|
MyPicture.jpg | 2013-02-08T19:54:34.000+0000 | 2448160 |
MyPictureSmall.jpg | 2013-02-08T19:54:34.000+0000 | 55998 |
Tested on samsung galaxy s3 on 3.0.2GA pictures appeared normally. Could not reproduce.
Hello, I tested this this issue with the code below. I can’t reproduce this issue. It’s working fine for me. Please check this code with the latest Ti SDK Build and let me know if this problem persists.
Test Environment
Mac OS X 10.8.5 Ti SDK 3.2.0.GA Ti CLI 3.2.0 IOS 7.0.3 Android SDK: 4.2.2, Windows 7Test Code
Thanks
Closing since the issue can't be reproduced with TISDK 3.2GA.