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 Head First Android this week in the Android 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: 636

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

Thanks in advance.


Author @ http://www.ideasforideas.org/
Moody blogger who do not like to behave like target setting machines work.
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9370
    
  19

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: 636

The both problems are different.
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9370
    
  19

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
 
It's not a secret anymore!