Question is simple, on the Google App Engine (whether Java servlet or Endpoints or whatever), can I use Android classes? i.e. Can I use something like Bitmap
or any other classes in the android.graphics
package?
Asked
Active
Viewed 66 times
-1

tomrozb
- 25,773
- 31
- 101
- 122

Mohamed Heiba
- 1,813
- 4
- 38
- 67
2 Answers
2
You can if you import the SDK android on your project, but I don't recommend you to do that.
If you want to manipulate image in App Engine, you can use this Image Java API: https://cloud.google.com/appengine/docs/java/images/
If you want to upload image in Servlet App Engine, here is a good example: Photo don't uploaded correctly GCS App Engine
Hope I help you
1
No you can't use android.graphics.*
Please check the The JRE Class White List for more details. The class list is too long to paste it here.

tomrozb
- 25,773
- 31
- 101
- 122