是否只能使用 Lua 为 Android 开发应用程序? [英] Is developing an application for Android using Lua only possible?

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

问题描述

所以我阅读了这篇文章Mobile Orchard 并且,当我计划在 Android 开发中迈出第一步时,它让我思考:是否可以仅在 Lua 中为 Android 进行开发?我用谷歌搜索了这个话题,但没有找到明确的答案.我知道 Java 是 Android 的基本风格",但对于我这个编码新手(初级 Python、基础 C++)来说,Lua 似乎更清晰、更友好.那么我的问题是:可以只使用 Lua 开发 Android 应用程序吗?如果是这样,你能告诉我一些从这里移动的方向吗?

So I read this article on Mobile Orchard and, as I'm planning on having my first steps in Android development, it got me thinking: is it possible to develop for Android in Lua only? I Googled the topic but found no definitive answer. I know Java is the "base style" for Android but for the coding newbie which I am (elementary Python, basic C++), Lua seems somehow clearer and more friendly. Then here goes my question: can one develop an Android app using Lua only? If so, could you please show me some directions to move from here?

推荐答案

问题在于您想构建什么样的应用程序以及您拥有哪些技能.如果您已经熟悉 JavaScript,则可以使用 Phonegap/Cordova.如果您正在构建游戏,则有许多使用 Lua 的 2D 和 3D 框架.有些是免费的,有些则需要支付许可费,但如果它为您的问题提供了解决方案,那么它是值得的.都有优点和缺点.例如,我不确定是否要在游戏框架中构建 RSS 阅读器.Java 只是另一种语言,我建议在添加另一个特定于应用程序的框架层之前,先学习 Java 和 Android 框架以开始并了解其中的内容.

The question is what kind of app do you want to build and what skills do you have. If you are already familiar with JavaScript there is Phonegap/Cordova. If you are building games there are a number of frameworks for 2D and 3D which use Lua. Some are free, others have licensing fees but are worth it if it provides a solution to your problem. All have pros and cons. For example I'm not sure if I would want to build an RSS reader in a game framework. Java is just another language, I would recommend just learning Java and the Android framework to start and knowing what is there before adding another application specific framework layer on top.

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

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