At launch, Java was the only officially supported programming language for building distributable third-party Android software.
Android Native Development Kit (Android NDK) which will allow developers to build Android software components with C and C++.
In addition to delivering support for native code, Google is also extending Android to support popular dynamic scripting languages. Earlier this month, Google launched the Android Scripting Environment (ASE) which allows third-party developers to build simple Android applications with perl, JRuby, Python, LUA and BeanShell. For having idea and usage of ASE, refer this Example link.
Just now (2 Aug 2010) i have read an article which describes regarding "Frink Programming language and Calculating Tool for Android", refer this links Link-1, Link-2
On 4-Aug-2010, i have found Regarding RenderScript. Basically, It is said to be a C-like language for high performance graphics programming, which helps you easily write efficient Visual effects and animations in your Android Applications. Its not released yet as it isn't finished.
Kawa is a lovely but little known variant of Scheme that has existed quietly for many years and runs on both the JVM and Dalvik, natively. Therefore, its output includes no extra VM and only includes explicitly imported libraries. To the end-programmer, this means Kawa's performance and executable size are nearly identical to standard Java (ProGuard not required).
Kawa also includes lots of macros (including some specific to Android APIs) that make for a nice clean syntax (assuming one is not averse to parentheses), and adds some tasty goodies on top of Scheme, like "promises" (lazy eval and futures in one). The language is quite robust and well-documented, and has been actively maintained and evolving since the early days of Java.
Mercury also works on Android, using its Java backend. I've written a simple app that should help someone get started (there are still few other examples), and mercury-android-helper also for this purpose (although at this exact moment, it's short a few commits. And neither are using ProGuard yet, so the .apk size is shocking.)
Although the other posts here are cheerful about Scala-on-Android, posters in Scala forums are more concerned by Scala's ability to blow through some of Dalvik's limitations, and people who do use it say they reserve it for non-production code. (Some discussion about Scala's problems here.)
I can't say yet if Mercury has its own problems with Dalvik, but I've switched to it from Scala for the time being.
The dynamically typed languages wont be possible until Dalvik supports JIT (Just In Time) compiling. I believe there is JIT support in one of the experimental Eclair branches, but it is not yet officially available/supported in Android.
发布评论
评论(8)
发布时,
Java
是唯一官方支持的用于构建可分发第三方 Android 软件的编程语言。发布
Android 本机开发套件 (Android NDK),允许开发人员使用
C
和C++
构建 Android 软件组件。除了提供对本机代码的支持之外,Google 还扩展了 Android 以支持流行的动态脚本语言。本月早些时候,Google 推出了Android 脚本环境 (ASE) 允许第三方开发人员使用
perl
、JRuby
、Python
、LUA
和BeanShell
。要了解 ASE 的想法和用法,请参阅此 示例链接。Scala 也受支持。有关 Scala 的示例,请参阅这些 示例 link-1 , 示例 link-2 , 示例 link-3 。
刚才我已经提到了一个 文章,其中我发现了一些有用的信息,如下所示:
(C# .net - Mono 等)
。LUA
、Perl
、Python
、BeanShell
等脚本语言。我已阅读第二篇文章 Google 发布“简单”Android 编程语言。例如,参考此。
刚刚(2010年8月2日)我读了一篇文章,介绍了“Frink Android 编程语言和计算工具”,请参阅此链接 Link-1 , Link-2
2010 年 8 月 4 日,我发现了关于
RenderScript
。基本上,它是一种用于高性能图形编程的类 C 语言,可帮助您在 Android 应用程序中轻松编写高效的视觉效果和动画。由于尚未完成,因此尚未发布。At launch,
Java
was the only officially supported programming language for building distributable third-party Android software.Android Native Development Kit (Android NDK) which will allow developers to build Android software components with
C
andC++
.In addition to delivering support for native code, Google is also extending Android to support popular dynamic scripting languages. Earlier this month, Google launched the Android Scripting Environment (ASE) which allows third-party developers to build simple Android applications with
perl
,JRuby
,Python
,LUA
andBeanShell
. For having idea and usage of ASE, refer this Example link.Scala is also supported. For having examples of Scala, refer these Example link-1 , Example link-2 , Example link-3 .
Just now i have referred one Article Here in which i found some useful information as follows:
(C# .net - Mono, etc)
.LUA
,Perl
,Python
,BeanShell
, etc.I have read 2nd article at Google Releases 'Simple' Android Programming Language . For example of this, refer this .
Just now (2 Aug 2010) i have read an article which describes regarding "Frink Programming language and Calculating Tool for Android", refer this links Link-1 , Link-2
On 4-Aug-2010, i have found Regarding
RenderScript
. Basically, It is said to be a C-like language for high performance graphics programming, which helps you easily write efficient Visual effects and animations in your Android Applications. Its not released yet as it isn't finished.Scala 运行得非常好。
我正在 Scala 中编写 Android 应用程序项目(用中文编写的网站,带有一些屏幕截图, 源代码@ GitHub),并且设置 evnviroment 非常容易(没有 IDE,使用 SBT 作为构建工具)。
它可以访问 Android SDK 中的每个 API,因此您可以在 Java 中执行的任何操作,也可以在 Scala 中执行。
您可以查看此博客条目了解如何使用 Scala 和 SBT 构建 Android 应用程序。
Scala works very well.
I'm programming my Android application projects in Scala (Website written in Chinese with some screenshot, source code @ GitHub), and it is pretty easy to setup the evnviroment (without IDE, using SBT as build tool).
It could access every API in Android SDK, so anything you could do in Java, you could do it in Scala too.
You may check this blog entry to see how to build Android application with Scala and SBT.
Kawa是一个可爱但鲜为人知的Scheme变体,它已经悄悄存在了很多年,并运行在JVM 和 Dalvik,本机。因此,其输出不包含额外的虚拟机,仅包含显式导入的库。对于最终程序员来说,这意味着 Kawa 的性能和可执行文件大小几乎与标准 Java 相同(不需要 ProGuard)。
Kawa 还包含许多宏(包括一些特定于 Android API 的宏),这些宏形成了一种干净整洁的语法(假设不反对括号),并在 Scheme 之上添加了一些美味的东西,例如“promises”(惰性评估和 future)之一)。该语言非常强大且文档齐全,并且自 Java 早期以来一直在积极维护和发展。
Java 降临日历总结了 Kawa 的优点以及一些信息丰富的示例和链接。
Kawa is a lovely but little known variant of Scheme that has existed quietly for many years and runs on both the JVM and Dalvik, natively. Therefore, its output includes no extra VM and only includes explicitly imported libraries. To the end-programmer, this means Kawa's performance and executable size are nearly identical to standard Java (ProGuard not required).
Kawa also includes lots of macros (including some specific to Android APIs) that make for a nice clean syntax (assuming one is not averse to parentheses), and adds some tasty goodies on top of Scheme, like "promises" (lazy eval and futures in one). The language is quite robust and well-documented, and has been actively maintained and evolving since the early days of Java.
The Java Advent Calendar summarizes Kawa's merits with some informative examples and links.
我没有使用过它,但我知道 Scala 可以工作。
http://www.scala-lang.org/node/160
I haven't played with it but I know that Scala works.
http://www.scala-lang.org/node/160
另一种适用于 Android 的 JVM 语言是 Kotlin 和 Anko,均来自 Jetbrains。
Another JVM language that works on Android is Kotlin with Anko, both from Jetbrains.
Mercury 也可以使用其 Java 后端在 Android 上运行。我编写了一个简单的应用程序,应该可以帮助某人入门(还有一些其他示例),和 mercury-android-helper 也用于此目的(尽管此时此刻,它很短也没有使用 ProGuard,所以
.apk
的大小令人震惊。)虽然这里的其他帖子对 Scala-on-Android 很满意,但 Scala 论坛中的海报更关心 Scala 的问题。能够突破 Dalvik 的一些限制,使用它的人表示他们将其保留用于非生产代码。 (关于 Scala 问题的一些讨论此处。)
我不能如果 Mercury 在 Dalvik 方面有其自身的问题,但我暂时从 Scala 转向了它。
Mercury also works on Android, using its Java backend. I've written a simple app that should help someone get started (there are still few other examples), and mercury-android-helper also for this purpose (although at this exact moment, it's short a few commits. And neither are using ProGuard yet, so the
.apk
size is shocking.)Although the other posts here are cheerful about Scala-on-Android, posters in Scala forums are more concerned by Scala's ability to blow through some of Dalvik's limitations, and people who do use it say they reserve it for non-production code. (Some discussion about Scala's problems here.)
I can't say yet if Mercury has its own problems with Dalvik, but I've switched to it from Scala for the time being.
在 Dalvik 支持 JIT(Just In Time)编译之前,动态类型语言是不可能实现的。我相信实验性 Eclair 分支之一有 JIT 支持,但 Android 尚未正式提供/支持。
The dynamically typed languages wont be possible until Dalvik supports JIT (Just In Time) compiling. I believe there is JIT support in one of the experimental Eclair branches, but it is not yet officially available/supported in Android.
1) Angular + NativeScript
2) Reactnative
1) Angular + nativeScript
2) Reactnative