linpeixun / thumbnailator

Automatically exported from code.google.com/p/thumbnailator
Other
0 stars 0 forks source link

Android exception how to? #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I try to use the Thumbnailator.jar file and i receive this exception:
Thumbnails.of(...) i receive this error: The type java.awt.image.BufferedImage

What i try to do?

Is to take a picture with my android camera and to put a logo image on bottom 
left corner inside the image and show it. that's it.

Original issue reported on code.google.com by gena...@gmail.com on 21 Jul 2011 at 5:04

GoogleCodeExporter commented 9 years ago
Hello,

The Android API does not implement the Abstract Window Toolkit (AWT), which 
includes the `java.awt` packages that the Thumbnailator library uses. 
Therefore, it is not possible to use Thumbnailator on Android.

For information on use images in Andriod, the "2D Graphics" page 
(http://developer.android.com/guide/topics/graphics/2d-graphics.html) of the 
Android Developer site may be useful.

I'll be closing this issue, as Thumbnailator will not work under Android.

Original comment by coobird...@gmail.com on 21 Jul 2011 at 4:00

GoogleCodeExporter commented 9 years ago
Hi thank you for the answer, but i had asked a question on stackoverflow about, 
how do i place a logo image on a picture that i have just taken?

Thumbnailator is the answer i've received what do you suggest me?

Original comment by gena...@gmail.com on 23 Jul 2011 at 8:17

GoogleCodeExporter commented 9 years ago
Perhaps you may want to ask a question on Stack Overflow for what you are 
trying to achieve, and be specific that you are developing on Android, so you 
can get answers which will work on Android.

Original comment by coobird...@gmail.com on 23 Jul 2011 at 10:19

GoogleCodeExporter commented 9 years ago
I actually were very specific, maybe you can help me?

Original comment by gena...@gmail.com on 23 Jul 2011 at 1:17

GoogleCodeExporter commented 9 years ago
No, I am not familiar with Android development, so I will not be able to 
volunteer to help.

Also, I should note that this is not an appropriate place to ask questions for 
help regarding issues which are not related to Thumbnailator.

There are many Q&A sites such as Stack Overflow which are frequented by 
developers who are familiar with Android development, so chances are better 
that you'll be able to get answers to your questions there than posting 
questions here.

Original comment by coobird...@gmail.com on 23 Jul 2011 at 1:35

GoogleCodeExporter commented 9 years ago
I am sorry it won't happen again, i will refer my self to stackoverflow site.
Thank you for the help, you already volunteered.

Best Regards.

Original comment by gena...@gmail.com on 23 Jul 2011 at 8:18