我可以开发Android应用程序中使用GWT? [英] can I develop android applications using gwt?

查看:309
本文介绍了我可以开发Android应用程序中使用GWT?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

(或者是有办法GWT应用程序转换为Android应用程序?)

(or is there a way to convert gwt apps to android apps?)

推荐答案

这是不完全正确的说,GWT是为了创建一个运行在浏览器中code。 GWT转换到Java的Javascript和包含的UI支持和其他物品的Web应用程序。有迹象表明,需要JavaScript应用程序,并使其原生Android版(或其他移动操作系统)与通过的JavaScript API设备访问其他支持一些本地应用程序包装。用胶水层GWT和本地之间的包装为JavaScript应用程序,你必须从GWT编程的完整解决方案,本机应用程序。

It is not entirely correct to say that GWT is meant to create code that runs in a browser. GWT translates Java to Javascript and includes ui support and other goodies for web apps. There are a few native application wrappers that take Javascript applications and make them native for Android (or other mobile operating systems) with additional support for device access through Javascript apis. With a glue layer in between GWT and a native wrapper for a Javascript app you have a complete solution from GWT programming to native app.

所以,你不能用GWT独自做到这一点,但如果你把GWT与其他一些库是绝对有可能的。

So, you cannot do this with GWT alone but if you combine GWT with some other libraries it is absolutely possible.

结帐的PhoneGap / 科尔多瓦,要么< A HREF =htt​​p://www.m-gwt.com/> M-GWT 或 GWTMobile 的。 NextInterfaces 是建立在PhoneGap的和GWT-Mobile的顶部。我敢肯定,有更多,但这些似乎是共同的解决方案。

Checkout PhoneGap/Cordova and either m-gwt or GWTMobile. NextInterfaces is built on top of PhoneGap and GWT-Mobile. I'm sure that there are more, but those seem to be the common solutions.

这篇关于我可以开发Android应用程序中使用GWT?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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