如何开始移动开发

发布于 2024-08-06 07:49:26 字数 266 浏览 5 评论 0原文

现在诺基亚即将发货我预订的 n900,我想我应该熟悉一下移动开发 - 对于一个从 Amiga 和 C=64 时代起就只在 Linux 上进行开发并且热爱 Python 的人来说,maemo 似乎足够友好。

然而,我对 UI:s 之类的东西一无所知,尤其是移动 UI:s - 而且,我不想学习只为 n900 编写代码,而是在更广泛的意义上学习。看起来大多数指南等都是特定于平台或设备的,因此任何关于“UI 最佳实践”教程、书籍或网站的建议都适用于所有移动平台 - 不仅仅是 Maemo 或 iPhone。

Now that Nokia will soon ship my pre-ordered n900, I thought I would familiarize myself with mobile development - maemo seems friendly enough for a guy who's done development only on Linux since days of Amiga and C=64 and is in love with Python.

However, I have no clue whatsoever on stuff like UI:s and especially mobile UI:s - also, I would not like to learn to code just for n900 but in a more broad sense. Looks like most guides etc are very platform or device specific, so any suggestions on like "UI best practices" tutorials, books or websites that are general to all mobile platforms - not just for say Maemo or iPhone.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

羁客 2024-08-13 07:49:26

事实上,事实并非如此。如果您学习如何在 Maemo 中使用两个主要窗口工具包(GTK+ 和 Qt),您将能够为各种设备编写 GUI。诺基亚已经收购了 Qt 的制造商 Trolltech,他们已将所有 GTK+ 更改发布回 GNOME。这意味着 Qt 和 GTK+ 都是开源的,因此您可以将它们移植到任何平台。

事实上,诺基亚已经为您完成了一些移植工作——他们正在将 Qt 移植到在数百万部手机上运行的 Symbian。 Qt 和 GTK+ 都可以在许多平台上运行,而不仅仅是 Linux,因此您也可以使用这两个工具包为 Windows 编写程序。请注意,您将无法创建利用本机操作系统的窗口软件(如 Aqua)的应用程序,但您将能够获得本机的外观和感觉。

学习这些窗口系统中的任何一种都将有助于您开发 GUI 和几乎任何您能想到的平台。

Actually, that is not really true. If you learn how to use the two main windowing toolkits (GTK+ and Qt) in Maemo, you will be able to write GUIs for all sorts of devices. Nokia has purchased Trolltech, the makers of Qt, and they have released all the GTK+ changes back to GNOME. This means that both Qt and GTK+ are open source so you can port them to any platform.

In fact, Nokia has already done some of the porting for you - they are porting Qt to Symbian which runs on millions of mobile phones. Both Qt and GTK+ run on many platforms, not just linux, so you can write programs for Windows with these two toolkits as well. Note that you are not going to be able to create applications that take advantage of the native operating system's Windowing software, like Aqua, but you'll be able to get a native look and feel.

Learning either one of these Windowing systems will stand you in good stead for developing GUIs and nearly any platform you can think of.

寄离 2024-08-13 07:49:26

您发现的所有内容都是特定于平台的,因为设备开发是非常特定于平台的。 API 集差异很大。 UI 范例(包括如何创建和布局控件)是不同的。处理的过程本身有很大不同。

根本没有“一刀切”的规则或建议,除了可能广泛的挥手,比如“记住你的资源有限,所以保持你的内存占用较低”或“处理器不是桌面,所以事情需要更长的时间。代码相应的复杂算法”。正如您所看到的,不是非常具体或有用。

不幸的是,你真的必须选择一个平台并开始学习它。如果您想尝试多个平台,您基本上必须学习多个单独的技能集(通常还需要学习多个开发工具)。

Everything you're finding is platform specific because device development simply is very platform specific. The API sets are widely different. The UI paradigms, including how controls are created and layed out, are different. The processes themselves are handled are vastly different.

There simply are no "one size fits all" rules or recommendations other than maybe broad hand-waving like "remember you have limited resources, so keep your memory footprint low" or "the processor is not a desktop, so things take longer. Code complex algorithms accordingly". As you can see, not terribly concrete or useful.

The unfortunate thing is that you really have to just pick a platform and start to learn it. If you want to try your hand at multiple platforms, you basically have to learn multiple separate skill sets (and often multiple development tools as well).

只为守护你 2024-08-13 07:49:26

诺基亚论坛有关于移动设备用户界面的良好文档,当然这些是这里已经说过的简单的一般规则,但请查看此页面:http://www.forum.nokia.com/Technology_Topics/Design_and_User_Experience/(另请参阅底部的基本链接)

Forum Nokia has good documentation about user interfaces for mobile devices, of course these are simple general rules as already said here, but take a look to this page: http://www.forum.nokia.com/Technology_Topics/Design_and_User_Experience/ (see also the essential links at the bottom)

凡尘雨 2024-08-13 07:49:26

移动用户界面不是 GTK+/QT 的。并且有一个“一刀切”的方法。

这就是所谓的网络。学习 HTML5 并开始编写移动应用程序。

The mobile UI isn't GTK+/QT folks. And there is a "one size fits all".

It's called the Web. Learn HTML5 and start writing mobile applications.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文