Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13115] Android: ImageView - On Android, ImageView.toBlob returns null

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2013-03-28T20:06:31.000+0000
Affected Version/sRelease 3.0.2, Release 3.1.0
Fix Version/sRelease 3.1.0, 2013 Sprint 07 Core, 2013 Sprint 07
ComponentsAndroid
Labelsmodule_imageview, parity, qe-sdk3.1.0, qe-testadded, regression
ReporterWilson Luu
AssigneeMax Stepanov
Created2013-03-19T18:07:13.000+0000
Updated2013-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

FileDateSize
monkeyBlob.zip2013-03-19T18:07:13.000+00003826328
noPictures.png2013-03-19T18:07:13.000+000024454
pictures.png2013-03-19T18:07:13.000+00001063983

Comments

  1. Wilson Luu 2013-03-19

  2. Max Stepanov 2013-03-27

    PR https://github.com/appcelerator/titanium_mobile/pull/4044
  3. Paras Mishra 2013-04-11

    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
  4. pantherqin 2013-11-29

    using galaxy S3, sdk 3.1.3, Imageview.toBlob() returns null.

JSON Source