اندروید NDK

Android NDK مجموعه ابزاری است که به شما امکان می دهد بخش هایی از برنامه خود را با استفاده از زبان هایی مانند C و C++ در کد اصلی پیاده سازی کنید. برای انواع خاصی از برنامه‌ها، این می‌تواند به شما در استفاده مجدد از کتابخانه‌های کد نوشته شده به آن زبان‌ها کمک کند.
class MyActivity : Activity () {
/**
* روش بومی در C/C++ پیاده سازی شده است
*/

سرگرمی خارجی computeFoo()
}

آخرین اخبار

Updated ۲۰ فوریهٔ ۲۰۲۰

One thing that NDK users struggle with is managing native dependencies: With version 4.0 of the Android Gradle Plugin, we’ve addressed these issues by adding support for distributing and exposing native libraries through the same mechanism that you

Updated ۵ دسامبر ۲۰۱۹

With over 2.5 billion monthly active devices, the Android Platform gives incredible reach for game developers. Taking advantage of that opportunity can be a challenge, particularly if your game really tries to push the limits of what mobile can do.

Updated ۱۷ اکتبر ۲۰۱۹

Android NDK r21 is now in beta! It’s been a longer than usual development cycle (four months since NDK r20), so there’s quite a lot to discuss for this release. We have the usual toolchain updates, improved defaults for better security and

کد بومی خود را بهینه کنید

Updated ۳ ژانویهٔ ۲۰۲۴

Android Studio includes a graphical front end to Simpleperf, documented in Inspect CPU activity with CPU Profiler. Most users will prefer to use that instead of using Simpleperf directly. If you prefer to use the command line, Simpleperf is a

Updated ۱۸ مهٔ ۲۰۱۷

Mobile games have better graphics and deeper gameplay than ever before. This means that developers need to optimize their games to get the best experience on each device to meet the expectations of their users. In this session, you will see how

Updated ۱۷ مهٔ ۲۰۱۷

Android native applications typically use Java objects that "own" C++ objects. When the Java garbage collector detects that the Java object is no longer needed, the Java object either explicitly deallocates the C++ object, or decrements its reference