File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to get Image out of a SurfaceView
 
Similar Threads
Creating a viewport on a SurfaceView
reading XML layout contains a SurfaceView
how to put button inside a SurfaceView and on the bootom of the screen?
[Solved] Clear SurfaceView
odd framelayout/surfaceview problem