游戏邦在:
杂志专栏:
gamerboom.com订阅到鲜果订阅到抓虾google reader订阅到有道订阅到QQ邮箱订阅到帮看

简化游戏移植步骤,Android平台推新款NDK

发布时间:2011-01-19 16:30:03 Tags:,,,,

日前,谷歌宣布推出针对Android 2.3操作系统的NDK r5,帮助应用开发商面向Android平台更快捷地开发应用。

据游戏邦了解,与过去使用Java编写应用的情况不同,这个最新版NDK的API支持开发者完全用C语言或C++编写游戏,无需过多调整就能将应用植入Android平台。

Android-NDK

Android-NDK

谷歌应用开发倡导者蒂姆·布雷(Tim Bray)通过Android开发者博客表示,NDK r5的新型API支持开发者广泛采用原代码,最大限度地保留应用产品的原貌,开发者无需经过繁琐的步骤,就能直接控制窗口、管理EGL环境,直接从APK文件中读取相关内容。

布雷同时还表示,这个NDK还引进了预装版STLport,可以让基于STL的应用更简便地植入Android平台。

游戏邦还获知,NDK r5还添加了一些针对RTTI、C++ exceptions和wchar_t的反向兼容技术支持,新增了一些经过改良的调试工具。

据布雷所称,Android发布这个NDK宗旨是为游戏开发商解围,让他们在Gingerbread(Android 2.3)和NDK r5的技术支持下,以更少的时间,更便捷地将基于C语言和C++的游戏移植到Android平台。(本文为游戏邦/gamerboom.com编译,转载请注明来源:游戏邦)

Android opens up for native C/C++ game development with latest NDK

Google has announced the release of NDK r5 for Gingerbread – the latest version of its Native Development Kit for Android, designed to assist studios working on the platform.

The new NDK incorporates APIs that should, in Google’s view, make writing code in Java a thing of a past, with games written entirely in C and C++ now able to run on the platform with very little alteration.

Android awesomeness

Its launch encompasses everything that firm initially set out to achieve with the NDK, claims Google Developer Advocate Tim Bray.

“With the latest version of the NDK we intend to further increase the awesomeness of your applications, this time by a pretty big margin,” he said on the Android developer blog.

“With NDK r5, we’re introducing new APIs that will allow you to do more from native code. In addition to fully native applications, the latest NDK lets you play sound from native code, handle common application events, control windows directly, manage EGL contexts, and read assets directly out of APK files.”

No nonsense NDK

Bray states that the NDK comes with a prebuilt version of STLport, making bringing STL-reliant apps to Android a somewhat easier process.

NDK r5 also adds backwards-compatible support for RTTI, C++ exceptions, wchar_t, with the addition of improved debugging tools.

“We worked hard to increase the utility of the NDK for this release because you guys, the developers who are actually out there making the awesome applications, told us you needed it,” Bray concluded.

“This release is specifically designed to help game developers continue to rock; with Gingerbread [Android 2.3] and the NDK r5, it should now be very easy to bring games written entirely in C and C++ to Android with minimal modification.

“In short, this release addresses many of the requests we’ve received over the last year since the first version of the NDK was announced.”(source:pocketgamer)


上一篇:

下一篇: