1

Hi everyone I am creating a greeting card application wherein the user can choose from a set of backgrounds and add text to it.Now my question is how can I convert this screen as a JPEG image which can be sent as a mail to someone.That is the entire greeting card (image+text) is a jpeg image for the viewer.

Thanks everyone in advance

deliara
  • 11
  • 1

1 Answers1

1

This question will help you. In order to capture the screen as an image buffer you will need root privileges - this isn't appropriate for applications in the Market.

If you are using a Canvas to draw the screen, you could get a bitmap out of it and convert it to a jpg file. See this question for details.

Community
  • 1
  • 1
kgiannakakis
  • 103,016
  • 27
  • 158
  • 194