• Post Reply Bookmark Topic Watch Topic
  • New Topic

Unable to get Image out of a SurfaceView

 
Vishal Srivastav
Ranch Hand
Posts: 46
Android Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My Greetings to everyone here...

I have developed a free-hand drawing application which is going to be a part of our project in our Company. I am facing an issue while trying to get an Image out of the SurfaceView I have used.

Its not like that the Image is not being written, but the Image which is written to sdcard is totally black. No drawing which was drawn onto the SurfaceView area just before saving is coming.

I have used getDrawingCache() on SurfaceView object but all in vain.

Can someone please help me out of it.

Thanks in advance.
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!