java me - How to save canvas as an image in j2me? -


i want save current state of canvas image use in next pointerevent. if use repaint clear canvas , can't previous state of canvas. so, want save image , iterate on , on can make out want. final question how save canvas image ?. or there possibility of converting graphics object byte array ?

you can't save canvas image.

you have create image first, , can paint onto image.

basically means midlet doing more work, since first have draw onto image, , have draw image onto canvas. it's way can want.


Comments

Popular posts from this blog

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

java - SmsManager sending message more than one -