Thumbnail Images

You must Login before you can answer or comment on any questions.

Hi !

I try to use thumbnail image in my tableview. I test on Android and it still doesn't work :

var picture = Ti.UI.createImageView({
    url:url
});
 
var blob = picture.toBlob();
blob = blob.imageAsThumbnail(50);
 
var thumbnailImageView = Ti.UI.createImageView({
    image: blob
});
But I have the error : Object [object TiBlob] has no method 'imageAsThumbnail'.

My code is wrong ? Android doesn't support this method ?

TY

3 Answers

That's what I thought, but is there something equivalent in Android ? Or a way to do the same thing ?

TY for your answer btw

Your Answer

Think you can help? Login to answer this question!