有没有一个“最好的”? Java RAD - 适用于所有 Android/Linux/Windows?
对于那些灵活、易于开发和调试并提供良好的跨平台 GUI 开发的人来说,什么是跨平台的?
对 ODBC 数据库的良好支持是一个优点,对 GIS 数据库的支持是一个主要优点。
What's cross-platform for those, flexible, easy to develop and debug, and offers good cross-platform GUI development?
Good support for ODBC database is a plus and support for GIS database is a major plus.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
Android 不使用与桌面 Java 相同的 UI 系统。其中没有通用的 GUI 工具。
至于 Windows + Linux,IntelliJ 和 NetBeans 都有一个还算不错的 Swing UI 构建器。
Android does not use the same UI system as desktop Java. There is no common GUI tool amongst them.
As for Windows + Linux, both IntelliJ and NetBeans have a halfway decent Swing UI builder.
正如Yann提到的,目前还没有一个跨平台的RAD系统能够同时覆盖Android和Linux/Windows Java。 Android 并不是一个真正基于 Java 的平台;而是一个基于 Java 的平台。 Android SDK 将 Java 字节码转换为更优化的 Dalvik VM 字节码。出于这个原因,您甚至可能会发现即使是非 GUI java 代码也无法“移植”(我遇到了几个这样的问题)。
存在一些试图提供对图形层的跨平台访问的库,例如 libgdx,但没有一个库可以让您轻松创建“一刀切”的 GUI 代码。不过,一般来说,您也不想这样做 - 小触摸屏和大型鼠标控制桌面上的 UI 概念非常不同。
从开发的角度来看,任何开发环境都可以轻松地将项目拆分为 Android 项目(用于 Android 内容)、桌面 Java 项目(用于桌面特定代码)和用于公共功能的 Java 库项目(记住细微的差异)可以在两个项目之间共享就可以了。
目前只有 Eclipse 为 Android 提供了 RAD 环境(据我所知),但是没有什么可以阻止您在 Eclipse 中构建 Android GUI 部分(将公共代码作为库导入)并在不同的环境中执行桌面项目,如果为此,您更喜欢 Netbeans 或其他工具。
As mentioned by Yann, there are no cross-platform RAD system that cover both Android and Linux/Windows Java. Android is not really a Java-based platform; the Android SDK converts the Java bytecode to the more optimized Dalvik VM bytecode. For this reason, you may even find that even non-GUI java code does not "port" (I've run into a couple of such issues).
There exist some libraries that attempt to provide cross-platform access to the graphics layer such as libgdx, but none that will allow you to create "one-size fits all" GUI code easily. In general, though, you wouldn't want to do that either - the UI concepts are very different on a small touch screen and a large mouse-controlled desktop.
From a development point of view, any development environment that comfortably allows you to split the project into an Android project (for the Android stuff), a desktop Java project (for the desktop specific code), and a Java library project for the common functionality (keeping in mind the minor differences) that can be shared between both projects will do.
Currently only Eclipse provides a RAD environment for Android (as far as I know), but there is nothing to prevent you building the Android GUI part in Eclipse (importing the common code as a library) and doing the desktop project in a different environment if you prefer Netbeans or others for that.
适用于 android 的良好且价格合理的 rad,基本语言,本机编译是 Basic4Android google it,几周前发布。
Good and reasonably priced rad for android, basic language, native compile is Basic4Android google it, it was released a few weeks ago.
http://www.wavemaker.com/ 怎么样
和 http://openxava.org/ ?
恕我直言,这非常接近
并且两者都是开源的。
How about http://www.wavemaker.com/
and http://openxava.org/ ?
That comes quite close IMHO
and both are open source.