hi guys, i'm having a problem with Bitmap.LoadFromStream. I load images from rss feeds and with lollipop, this is now broken :-( i saw a workaround to save the images but thats unrealistic for a news app that simply loads images from a URL. Please can someone help me?
hi guys, i'm having a problem with Bitmap.LoadFromStream. I load images from rss feeds and with lollipop, this is now broken :-( i saw a workaround to save the images but thats unrealistic for a news app that simply loads images from a URL. Please can someone help me?
thanks
#loadfromstream
thanks
#loadfromstream
http://www.fmxexpress.com/display-an-rss-feed-with-a-tlistview-in-delphi-xe5-firemonkey-for-android/
ReplyDeletehttp://www.fmxexpress.com/android-5-lollipop-bitmap-workaround-for-delphi-xe7-firemonkey-on-android/
ReplyDeletei've looked at both of those thanks. The second saves all the images and then opens them. is there still no solution to view images from a stream (i'm using IDHTTP to download the image to a stream and then want to display it)
ReplyDeleteanyone else able to assist?
ReplyDeleteStream.SaveToFile(MyTempFile)
ReplyDeleteBitmap.LoadFromFile(MyTempFile)
DeleteFile(MyTempFile)
or you can wait for a hotfix from Embarcadero...
Thanks Cristian, let me try that!
ReplyDeleteworked :-) thanks again Cristian
ReplyDeleteIt is an known issue we are building a fix for. We had a solution... but turned out not to be the correct one. So we need a little more time. In any case receiving a stream - saving to temp file - loading temp file to image should work (I know, ugly).
ReplyDeleteHi
ReplyDeleteAny update on the progress of this fix?
Cheers