Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15826] Android: ImageView does not properly handle the '@' symbol in URL

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionCannot Reproduce
Resolution Date2013-11-27T05:32:36.000+0000
Affected Version/sRelease 3.2.0
Fix Version/sn/a
ComponentsAndroid
Labelsimageview, qe-3.2.0, qe-closed-3.2.0
ReporterPragya Rastogi
AssigneeIngo Muschenetz
Created2013-11-26T10:09:57.000+0000
Updated2013-11-27T05:32:48.000+0000

Description

imageView path that contain a '@' symbol will not get handled properly by ImageView on Android. Steps: 1. Run sample code 2. Verify image by pasting the @2x URL in the browser to verify the URL is valid. Actual: Image does not appear Expected: Image must appear
var _window = Titanium.UI.createWindow();
_window.backgroundColor = 'white';
//This code can also be used
	// var image = Ti.UI.createImageView({
	    // bottom : 0,
	    // width : 200, 
	    // height : 200,
	    // backgroundColor : 'red',
	   // image : 'http://dl.dropboxusercontent.com/u/255893/appcelerator@2x.png'
	  // //   image : 'http://www.appcelerator.com.s3.amazonaws.com/web/home/platform/cd-mini-graphic.png'
	// });
// 	 _window.add(image);
		
		var image1 = Ti.UI.createImageView({
			image : 'http://media.reliancenetwork.com/dyna_images/mls/3555/1329678.jpg',
			width : '320dip',
			height : '240dip',
			top:'10dip'
		});

		var image2 = Ti.UI.createImageView({
			image : 'http://cdn-1.eneighborhoods.com/x1/@v=-1855096842@/2611/692/1332692/1332692_1.jpg',
			width : '320dip',
			height : '240dip',
			top:'250dip'
		});
		_window.add(image1);
		_window.add(image2);
	
_window.open();

Comments

  1. Lokesh Choudhary 2013-11-26

    Tested the issue & below are my findings: 1.) Nexus 7 (4.3) -- Not Reproducible 2.) Nexus 5 (4.4) -- Not Reproducible 3.) Sony Experia (4.1.2) -- Not Reproducible 4.) Galaxy S4 (4.2.2) -- Not Reproducible 5.) Galaxy S3 (4.0.4) -- Not Reproducible I edited the code to show all the three images & I can see/get all the three images successfully. Environment: Appcel Studio : 3.2.0.201311221207 Ti SDK : 3.2.0.v20131122172908 Mac OSX : 10.8.5 Alloy : 1.3.0-alpha6 CLI - 3.2.0-alpha3
  2. Pragya Rastogi 2013-11-27

    Issue is not reproducible so marking same as Cannot reproduce. There were network issues yesterday which might be the reason. Verified with: OSX: 10.8.5 Appcelerator Studio: 3.2.0.201311221207 SDK: 3.2.0.v20131126144841 acs:1.0.8 alloy:1.3.0-alpha6 npm:1.3.2 titanium:3.2.0-alpha3 titanium-code-processo:1.1.0-alpha Device: Nexus 7 (v4.3)

JSON Source