How to handle this?

Vircop

Member
Licensed User
Longtime User
I have to translate java code that looks as follows:

B4X:
_off_img = _app.createImage( _w, _h );
_off_gfx = _off_img.getGraphics();

_mis = new MemoryImageSource( _w, _h,
                  new DirectColorModel( 24, 0x00ff0000,       0x0000ff00, 0x000000ff ),
                  _pixels, 0, _w );
      _mis.setAnimated( true );
      _mis_img = _app.createImage( _mis );

_off_img is java type Image and _off_gfx is java type Graphics...
 
Top