Videogamer555
Lurker
I want to be able to draw something, and the first step is to be able to set the color of a pixel? Once I can do that, I can set the color of all pixels as needed. First I need a control that supports drawing though. I've tried the ImageView and SurfaceView controls, and coded everything to work to set the color of a pixel. But it doesn't work. It seems that setting a pixel's color doesn't actually update the screen. So the pixel remains the same color on the screen. I need to know how to do this properly. Is there a way to force the screen to refresh and display the changed pixel color?
One of the most important things in an app, is to be able to draw to the screen, especially if you want to display custom graphics or even write an image-editor app. It seems like such a basic concept to read or write the value of a pixel, but in Android it seems like an almost impossible task.
One of the most important things in an app, is to be able to draw to the screen, especially if you want to display custom graphics or even write an image-editor app. It seems like such a basic concept to read or write the value of a pixel, but in Android it seems like an almost impossible task.