Basically, I wanted to mimic the loadRemoteImage function on Android platform, which is about to create an image object with the picture downloaded from the website. All those work perfectly on the simulator, but the image just never shows up on a real Nexus One. I was able to get the picture downloaded to either temp or document folder on the device, but seems display.newImage function gets choked. Can anyone shed some light on this? [import]uid: 11341 topic_id: 6064 reply_id: 306064[/import]
Also tried the SimpleImageDownload sample, and that doesn’t work on actual N1 either. [import]uid: 11341 topic_id: 6064 reply_id: 20767[/import]
did you set the INTERNET permissions in your build.settings file?
http://developer.anscamobile.com/content/configuring-projects#Application_Permissions_Android
(scroll up for an example)
[import]uid: 6645 topic_id: 6064 reply_id: 20890[/import]
@jmp909, yes, I did. As a matter fact, I can confirm that the picture got actually downloaded to the device. The problem is Corona just can’t create the image object off from the picture downloaded.
ADDITION: The SimpleImageDownload sample comes with the SDK doesn’t work properly on the actual Android device either (Google’s N1). Curious if anyone had any luck with that. [import]uid: 11341 topic_id: 6064 reply_id: 20910[/import]
Hmm, I’m having similar issues on an iPhone 4. It seems images download fine, but the display.newImage() function doesn’t successfully load them. However the files do seem to be saved. [import]uid: 11757 topic_id: 6064 reply_id: 46672[/import]