您可以部署一个Android应用到谷歌应用程序引擎? [英] Can you deploy an Android application onto Google App Engine?
问题描述
是否有可能部署一个Android应用程序的谷歌应用程序引擎的环境呢?即部署到Appspot上?
Is it possible to deploy an Android application to the google app engine environment? ie to deploy it to appspot?
如果不是,是否有任何形式的容器,这将允许一个做到这一点的?
If not, is there any kind of "container" which would allow one to do this?
我想创建一个可以同时在Android部署的应用程序,以及一个基于Web的环境
I would like to create an application that can be deployed on both android, and a web based environment
推荐答案
当你开发的App Engine应用了Java Servlet的(或Python) - 当你开发Android,你使用的Java与在Dalvik运行Android的库VM。
因此,没有:没有大的变化到code
When you develop for App Engine you use Java Servlets (or Python) - when you develop for Android, you use Java with the Android-libraries running on the Dalvik VM. So no: not without big changes to the code.
但由于App Engine的产生HTTP的响应(因此可以返回HTML),他们可以通过Android的网页浏览器来查看;)
But because the App Engine produces HTTP-responses (and therefore you can return HTML) and they can be viewed via Android's webbrowser ;)
这篇关于您可以部署一个Android应用到谷歌应用程序引擎?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!