谷歌的App Engine和Android [英] Google App Engine and android

查看:137
本文介绍了谷歌的App Engine和Android的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新android开发,并发现它很难理解某些主题。我打算开发一个投票程序,我想张贴从我的服务器,获取应用程序更新和用户的响应获取存储在我的在线数据库的问题。我不希望我的应用程序的任何Web界面。

我知道如何创建使用Eclipse,Android SDK和ADT Android应用程序。 同时阅读网页后,我明白我需要后端是谷歌应用程序引擎为我的服务器和数据库(我需要外部数据库)。

1)我的第一个问题是人们使用Python开发应用程序引擎方code,我不知道蟒蛇,我只知道基本的Java(由机器人编程),所以我应该使用应用程序引擎的Java SDK?

2)我一定需要安装谷歌的Eclipse插件编码的服务器端程序,或者仅仅是应用程序引擎的SDK会怎么做?该插件具有应用程序引擎连接的Andr​​oid项目一个功能,它是非常有用的?

3)我读,我需要使用GWT SDK的Web应用程序与GAE的节目,但正如我所说的,我不希望任何Web界面,将我需要GWT?

任何关于如何处理我的应用程序将是非常有益的帮助。 谢谢你。

解决方案

我不知道你在哪里得到的,让我澄清他们一个个全都这些误解

  1. 首先,有没有必要使用GAE的Andr​​oid应用程序的后端,后端的任何是任何发出的数据可分析的格式。所以,你可以使用 JSP 的Node.js 的Ruby on Rails Asp.Net 或适合您需要的任何其他Web框架。
  2. 就像你可以使用任何Web框架,你也可以使用一个适合自己的数据库。
  

我的第一个问题是人们使用Python开发应用程序引擎方code   我不知道蟒蛇,我只知道基本的Java(由机器人   编程),所以我应该使用应用程序引擎的Java SDK?

如果你想开发使用Java的GAE,继续前进,它只是servlets的有一些限制。

  

2)我一定需要安装谷歌的Eclipse插件的   编码的服务器端程序,或者仅仅是应用程序引擎的SDK会怎么做?该   插件具有应用程序引擎连接的Andr​​oid项目一个功能,它是   非常有用吗?

安装谷歌插件是可选的,你可以使用Ant构建构建它。 而对于应用程序引擎连接的Andr​​oid项目,给它一个镜头,我确实帮助。但是否适合您的需要或不,是你想出来后决定。

  

3)我读,我需要使用GWT SDK的Web应用程序的编程   GAE,但正如我所说的,我不希望任何Web界面,将我需要GWT?

使用GWT是GAE完全可选的。使用它只有当你需要它。

I am new to android development and finding it difficult to understand some topics. I intend to develop a polling app where I want to post questions from my server which gets updated in the app and responses from users get stored in my online database. I do not want any Web interface of my application.

I know how to create an android app using eclipse, android sdk and ADT. Also after reading on web I understand I need backend to be Google App Engine for my server and Database(I need external database).

1)My first problem is people use python to develop appengine side code and I do not know python, I just know basic of java(by android programming), so should I use appengine SDK for Java?

2) Do i necessarily need to install "Google plugin for eclipse" for coding server side program, or just the appengine sdk would do? The plugin has a feature of "App engine connected android project" , Is it very useful?

3)I read that I need to use GWT SDK for programming of webapp with GAE, but as i said I don't want any web interface, will i require GWT?

Any help regarding how to proceed for my application will be very useful. Thank You.

解决方案

I am not sure where you get all these misconceptions from let me clarify them one by one

  1. First of all There is no need to use GAE for an android app's backend, The backend any be anything that emits data in a parsable format . So you can use JSP , Node.js, Ruby on Rails, Asp.Net or any other web framework that suits your need.
  2. Just like you can use any web framework you can also use any database that works for you.

My first problem is people use python to develop appengine side code and I do not know python, I just know basic of java(by android programming), so should I use appengine SDK for Java?

If you want to develop with Java for GAE, go ahead, Its just servlets with a few restrictions.

2) Do i necessarily need to install "Google plugin for eclipse" for coding server side program, or just the appengine sdk would do? The plugin has a feature of "App engine connected android project" , Is it very useful?

Installing Google plugin is optional, you can build it using ant builds. As for the appengine connected android project, Give it a shot, I does help. But whether it suits your needs or not, is for you to decide after trying it out.

3)I read that I need to use GWT SDK for programming of webapp with GAE, but as i said I don't want any web interface, will i require GWT?

Using GWT is completely optional with GAE. Use it only if you need it.

这篇关于谷歌的App Engine和Android的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆