aspose file tools*
The moose likes Android and the fly likes Write layouts to the bitmap file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Write layouts to the bitmap file" Watch "Write layouts to the bitmap file" New topic
Author

Write layouts to the bitmap file

chetan dhumane
Ranch Hand

Joined: Jan 07, 2009
Posts: 629

How to write the layout to the bitmap file(on sdcard).For example relativelayout to the jpeg file.

Thanks in advance.


http://www.androcid.com/
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9293
    
  17

You have created a lot of topics for similar kind of problems and it is confusing me. Isn't this problem the same as this one which is already solved??


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
chetan dhumane
Ranch Hand

Joined: Jan 07, 2009
Posts: 629

The both problems are different.
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9293
    
  17

I'm not able to understand how these two problems are different. In the other thread you asked how to create image from Canvas, now you are asking how to create image from View. The code sample that I gave you link to does exactly this. It creates an image representation of a view (using Canvas) and writes it to a file (it writes the file in PNG format, but its easy to switch it to JPEG format)...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Write layouts to the bitmap file