-1

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?

tomrozb
  • 25,773
  • 31
  • 101
  • 122
Mohamed Heiba
  • 1,813
  • 4
  • 38
  • 67

2 Answers2

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

Community
  • 1
  • 1
Phil
  • 4,730
  • 1
  • 41
  • 39
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