Win a copy of Clojure in Action this week in the Clojure forum!
  • 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
  • 0
  • 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic