Support showing images using the j2me media API

This depends on #604.
Nit: resumimg -> resuming