- Code: Select all
Bitmap ob = BitmapFactory.decodeResource(getResources(), R.drawable.testimage);
I can display the Bitmap and it works great. However, if I try use a canvas with this I get a runtime error in the emulator and on the phone.
- Code: Select all
Canvas canvas = new Canvas(ob);
How else does one work with a canvas if you cannot pass a Bitmap into it?

