我可以在Google App Engine上使用Android课程吗?

时间:2021-05-03 18:19:00

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?

问题很简单,在Google App Engine上(无论是Java servlet还是端点或其他),我可以使用Android类吗?即我可以在android.graphics包中使用类似Bitmap或任何其他类的东西吗?

2 个解决方案

#1


2  

You can if you import the SDK android on your project, but I don't recommend you to do that.

您可以在项目中导入SDK android,但我不建议您这样做。

If you want to manipulate image in App Engine, you can use this Image Java API: https://cloud.google.com/appengine/docs/java/images/

如果要在App Engine中操作图像,可以使用此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

如果你想在Servlet App Engine中上传图像,这是一个很好的例子:照片没有正确上传GCS App Engine

Hope I help you

希望我帮助你

#2


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.

不,你不能使用android.graphics。*请查看The JRE Class White List以获取更多详细信息。类列表太长,无法在此处粘贴。

#1


2  

You can if you import the SDK android on your project, but I don't recommend you to do that.

您可以在项目中导入SDK android,但我不建议您这样做。

If you want to manipulate image in App Engine, you can use this Image Java API: https://cloud.google.com/appengine/docs/java/images/

如果要在App Engine中操作图像,可以使用此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

如果你想在Servlet App Engine中上传图像,这是一个很好的例子:照片没有正确上传GCS App Engine

Hope I help you

希望我帮助你

#2


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.

不,你不能使用android.graphics。*请查看The JRE Class White List以获取更多详细信息。类列表太长,无法在此处粘贴。