请输入您要查询的百科知识:

 

词条 Codename One
释义

  1. Architecture

  2. Native

  3. Open Source

  4. Community

  5. References

{{Multiple issues|{{advert|date=March 2018}}{{third-party|date=June 2013}}
}}{{Infobox software
| name = Codename One
| logo = Codenameone New Logo.png
| screenshot = Codename One Hello World App Screenshot.jpg
| caption = Screenshot of Codename One's "Hello, World!" app
| author = Shai Almog, Chen Fishbein
| developer = Shai Almog, Chen Fishbein, Steve Hannah
| platform =
| programming language = Java
| latest release version = 3.7
| latest release date = {{release date|2017|06|27}}
| language = English
| genre = Application software
| license = Open source
| website = {{url|https://codenameone.com}}
}}

Codename One is a set of software development tools aiming to provide ›Write Once, Run Anywhere‹ code for various desktop and mobile operating systems (like Windows, macOS, Android, Blackberry, iOS and others). It was created by the co-founders of the LWUIT project (Chen Fishbein and Shai Almog) and first announced January 13, 2012.[1][2] It was described at the time by the authors as "a cross device platform allowing you to write your code once in Java and have it work on all devices specifically: iPhone/iPad, Android, Blackberry, Windows Phone 7 & 8, J2ME devices, Windows Desktop, Mac OS, and Web. The biggest goals for the project are ease of use/RAD (rapid application development), deep integration with the native platform & native speed."

Codename One took the LWUIT platform abstraction and extended it by adding a simulator and a set of cloud based build servers that build the actual native applications from the Java bytecode.[3]

Architecture

Developers using Codename One build their app using Eclipse, NetBeans or IntelliJ IDEA; they need the Codename One plugin to be installed on either IDE.[4] Applications can be created either via the GUI builder tool or via code using standard Java. Running/debugging the application is possible via the standard IDE tools and the Codename One simulator.[5][6]

To build a native application, developers sign in and register with the Codename One build server. They then send builds to the cloud based build server. Then they can download the native app from the build server to run on the device or submit to the store.[7] Since the build server performs static translation of the code into a native application, it is no longer required after the application has been compiled.[8][9]

Codename One also supports the ability to use an offline "in house" build cloud which removes the usage of Codename One build servers completely.[10] This is important for governments and other businesses which may have regulatory requirements that preclude the use of the cloud.

Native

The developers of Codename One define the platform as a native code generator, but clarify that native widgets are usually not used to render the user interfaces of Codename One applications. This allows for great portability, but has also come under fire by some critics of the lightweight approach.[11]

Open Source

The Codename One project is a combination of Open Source and SaaS. Most of the client-side code is open source, including the iOS, Android, Windows, JavaScript, RIM & J2ME ports.[12] The server build code and the Codename One LIVE! tool are proprietary.[13]

Community

Codename One claimed 200,000 downloads of its SDK as of release 1.1 in May 20, 2013.[14] It has since released version 3.0 and is claiming 180MM applications installed on devices and 40,000 developers using the tool.[15]

References

1. ^http://codenameone.blogspot.com/2012/01/what-is-codename-one.html
2. ^https://www.scribd.com/doc/95684851/Codename-One-Developers-Guide
3. ^https://stackoverflow.com/questions/10639766/how-codename-one-works
4. ^http://www.codenameone.com/download.html
5. ^http://www.codenameone.com/how-do-i.html
6. ^https://stackoverflow.com/a/10646336/756809
7. ^http://www.codenameone.com/build-server.html
8. ^http://codenameone.com/faq.html
9. ^https://stackoverflow.com/tags/codenameone/info
10. ^http://www.codenameone.com/corporate-server.html
11. ^http://www.codenameone.com/blog/understanding-peer-native-components-why-codename-one-is-so-portable
12. ^http://codenameone.com/faq.html
13. ^https://github.com/codenameone/CodenameOne
14. ^http://www.sbwire.com/press-releases/with-200000-sdk-downloads-mobile-development-platform-codename-one-announces-version-11-253990.htm
15. ^http://www.codenameone.com/

2 : Java platform|Mobile software programming tools

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/12 19:59:52