This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Android and the fly likes Unable to get Image out of a SurfaceView Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Unable to get Image out of a SurfaceView" Watch "Unable to get Image out of a SurfaceView" New topic
Author

Unable to get Image out of a SurfaceView

Vishal Srivastav
Ranch Hand

Joined: Nov 29, 2008
Posts: 46

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.


Vishal Srivastava, Software Engineer (Android), Paradigm Creatives
SCJP 5, SCWCD 5 - http://in.linkedin.com/in/srivastavavishal
 
 
subject: Unable to get Image out of a SurfaceView
 
Similar Threads
Creating a viewport on a SurfaceView
odd framelayout/surfaceview problem
reading XML layout contains a SurfaceView
how to put button inside a SurfaceView and on the bootom of the screen?
[Solved] Clear SurfaceView