import android.app.Activity; import android.widget.*; import android.graphics.*; static void androidShowFullScreenImage(final S imageID) { thread "showimg" { ImageView iv = new ImageView(androidContext()); iv.setImageBitmap(BitmapFactory.decodeFile(loadLibrary(imageID).getPath())); androidShow(iv); } } static void androidShowFullScreenImage(final S imageID, final int borderColor) { thread "showimg" { ImageView iv = new ImageView(androidContext()); iv.setBackgroundColor(borderColor); iv.setImageBitmap(BitmapFactory.decodeFile(loadLibrary(imageID).getPath())); androidShow(iv); } }