Android 无法在表视图中显示远程图像-appcelerator
我正在用图像视图创建一个表行,在该图像视图中,图像将来自远程urlAndroid 无法在表视图中显示远程图像-appcelerator,android,iphone,appcelerator,Android,Iphone,Appcelerator,我正在用图像视图创建一个表行,在该图像视图中,图像将来自远程url var pic = Titanium.UI.createImageView({ image:photoUrl, width:32, height:32, left:4, top:2 }); 这里的photoUrl类似于“https://xxx.xx.x.com/profilephoto/72990000000D6Wd/T" 在androi
var pic = Titanium.UI.createImageView({
image:photoUrl,
width:32,
height:32,
left:4,
top:2
});
这里的photoUrl类似于“https://xxx.xx.x.com/profilephoto/72990000000D6Wd/T"
在android上,它什么也不显示,在iphone上,它显示一些默认图像。我遗漏了什么吗?问题解决了
图像url“https://xxx.xx.x.com/profilephoto/72990000000D6Wd/T“正在重定向到登录屏幕。它在浏览器上运行良好,因为我已经登录,但在移动应用程序上无法运行,因为会话id不在那里
所以我修改了url,比如https://xxx.xx.x.com/profilephoto/72990000000D6Wd/T?oauth_token=[代币]
现在它可以正常工作了