hi,
i’m testing coronacards (android trial version) and before getting a licence, i just want to try some simples tasks, like the loadRemoteImage standard example (with this url :“http://coronalabs.com/wp-content/uploads/2012/04/Corona_GamesPage_banner1.jpg”). It’s ok with corona sdk, but not with coronacards. Nevertheless, request responds fine, but there’s nothing on screen. When i want to get a remote .png (try “http://coronalabs.com/wp-content/uploads/2013/09/Physics2b.png”), then all is right ! Did i miss something with .jpg file ? or is it a bug ?
my code :
local function networkListener( event )
if ( event.isError ) then
print ( “Network error - download failed” )
else
event.target.alpha = 0
transition.to( event.target, { alpha = 1.0 } )
end
print ( "event.response.fullPath: ", event.response.fullPath )
print ( "event.response.filename: ", event.response.filename )
print ( "event.response.baseDirectory: ", event.response.baseDirectory )
end
display.loadRemoteImage( ““http://coronalabs.com/wp-content/uploads/2012/04/Corona_GamesPage_banner1.jpg””, “GET”, networkListener, “testimage.jpg”, system.TemporaryDirectory, 50, 50 )