[TIMOB-13115] Android: ImageView - On Android, ImageView.toBlob returns null
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-03-28T20:06:31.000+0000 |
Affected Version/s | Release 3.0.2, Release 3.1.0 |
Fix Version/s | Release 3.1.0, 2013 Sprint 07 Core, 2013 Sprint 07 |
Components | Android |
Labels | module_imageview, parity, qe-sdk3.1.0, qe-testadded, regression |
Reporter | Wilson Luu |
Assignee | Max Stepanov |
Created | 2013-03-19T18:07:13.000+0000 |
Updated | 2013-11-29T09:24:02.000+0000 |
Description
*Details:* ImageView.toBlob() returns null for SDK 3.0.2.GA and 3.1.0.v20130319082237. But, returns TiBlob on 3.0.0.GA.
*This is a regression and ImageView.toBlob() works fine on iOS; returns TiBlob object.*
*Steps to reproduce:*
1. Download and install attached zip to device
2. Launch app
3. grep adb logcat: *adb logcat | grep '###'*
*Actual:* ImageView.toBlob() returns null in logcat and will not display pictures in the ScrollView (see noPictures.png)
*Expected:* ImageView.toBlob() should return TiBlob object and display pictures in the ScrollView (see pictures.png)
Attachments
File | Date | Size |
---|---|---|
monkeyBlob.zip | 2013-03-19T18:07:13.000+0000 | 3826328 |
noPictures.png | 2013-03-19T18:07:13.000+0000 | 24454 |
pictures.png | 2013-03-19T18:07:13.000+0000 | 1063983 |
PR https://github.com/appcelerator/titanium_mobile/pull/4044
Image is displayed as expected and ImageView.toBlob() returns TiBlob object, printed on console. Verified on: Device : Google Nexus 7, Android Version: 4.1 SDK: 3.1.0.v20130409124549 CLI version : 3.1.0-cr OS : MAC OSX 10.7.5 Appcelerator Studio, build: 3.1.0.201304052347 XCode : 4.5.1
using galaxy S3, sdk 3.1.3, Imageview.toBlob() returns null.