Stan,
If you want to load images into Corona’s OpenGL view, then you have to go through Corona’s APIs.
Now, if you want to load images on top of Corona’s OpenGL view, outside of Corona’s display object system, then you can load them yourself and display them via Android’s ImageView class in Java. You can then add the ImageView to the CoronaActivity’s overlay view, which is made available via the following method…
http://docs.coronalabs.com/native/android/html/com/ansca/corona/CoronaActivity.html#getOverlayView()
But that said, our image loading code actually has a lot of fallback mechanisms to make it work on a wide range of Android devices. If we discover that the image is too big to load due to out of heap space in Java or it is beyond the max texture size in OpenGL, then we automatically down-sample/scale the image. If we still can’t load the image due to out-of-memory, then we force garbage collection and try to load the image again. If the image still fails to load, then we have no choice but to log the error and return “nil” from display.newImage() or display.newImageRect().
Typically these image loading crashes that you’ve heard about are not coming from Corona’s image loading code, but caused by the Corona developer’s Lua script attempting to use a “nil” object returned by display.newImage() because we were unable to load the image… which typically happen when we run out of memory. There’s nothing we can do on our end when memory runs out on the device.
(However, if you do discover that a crash is coming from our code, then please let us know.)
Now, there is one other solution that you should try out if you are running into OutOfMemory exceptions. You can request the Android OS to give your app a larger heap by adding the “largeHeap” attribute to your AndroidManifest.xml file’s “application” tag as documented by Google here…
http://developer.android.com/guide/topics/manifest/application-element.html#largeHeap
You can also enable large heap support via Corona Simulator builds by modifying your “build.settings” file as documented here…
http://developer.coronalabs.com/forum/2012/08/07/very-weird-texture-memory-problem-android#comment-136404
We’ve received confirmation from other Corona developers that setting “largeHeap” to true has solved their out of memory errors.
Anyways, I hope this helps!