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?
Label: corona android iphone ipad building error inmobi problem display screen View image tableView failed object physics touch button game lua config event listener |
Need Help with Loading Images
Also tried the SimpleImageDownload sample, and that doesn't work on actual N1 either.
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)
@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.
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.
send message and call to a person
Forum: Report Spam + PM
[INSTALL_PARSE_FAILED_NO_CERTIFICATES]
[SOLVED] Director ERROR: Failed to execute new( params ) function on 'screen1'
Too many (200) local variables
Corona SVG Level Builder released. Drag and drop physics level editor with Inkscape and SVG.
Small bug in Collectible Items example
Pivot Joints and apparent elasticity
Can't make removeSelf() delayed
Error while building the app
Is this a bug or a feature?
Happy Doodle Sushi Smile - FINALLY approved!
list view
Better bitmap masking and pixel detection.
Map Question?
Bitmap font
Doggonit! I almost forgot to announce it here. The Octagon Theory is now in the iTunes App Store
images and table problem