{"id":4168,"date":"2010-07-02T17:37:07","date_gmt":"2010-07-02T12:07:07","guid":{"rendered":"http:\/\/mobisoftinfotech.com\/?p=4168"},"modified":"2025-11-06T15:57:11","modified_gmt":"2025-11-06T10:27:11","slug":"using-android-ndk-to-call-native-code-from-android-application","status":"publish","type":"post","link":"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/using-android-ndk-to-call-native-code-from-android-application","title":{"rendered":"Using Android NDK to Call Native Code from Android Application"},"content":{"rendered":"<p><!-- \t\t@page { margin: 0.79in } \t\tP { margin-bottom: 0.08in } -->The Android NDK is a set of tools that allows Android application developers to embed native machine code compiled from C and\/or C++ source files into their application packages for <a style=\"color: inherit; text-decoration: none; font-weight: inherit;\" href=\"https:\/\/loans-cash.net\/1000-dollar-loan.php\" rel=\"nofollow noopener\">borrow 1000 dollars<\/a>.<br>While you were able to access native code via Java Native Interface (JNI) all along, You would\u2019ve typically had to compile everything on your host computer for the target architecture, requiring you to have the entire toolchain on your development machine.<br>Android NDK (Native Development Kit) simplifies working with native code. It includes the entire toolchain needed to build for your target platform (ARM). It is designed to help you to create that <em>shared library.<\/em><\/p>\n\n\n\n<p><!-- \t\t@page { margin: 0.79in } \t\tP { margin-bottom: 0.08in } --><strong>To do\u2019s:<\/strong><\/p>\n\n\n\n<p><!-- \t\t@page { margin: 0.79in } \t\tP { margin-bottom: 0.08in } -->1. Create the Java class that represents the native code<br>2. Create header file for the native code.<br>3. Implement the native code by writing your C code<br>4. Compile everything and build you Shared Library<br>5. Use your native code inside Android activity<br><strong>1. Create Native Library<\/strong><\/p>\n\n\n\n<p>Create a Native Library in src directorary in your Eclipse project.\/src\/com.mobisoftinfotech\/NativeLib.java<\/p>\n\n\n\n<div style=\"overflow: hidden; height: 0.2px;\"><a href=\"https:\/\/writemyessays-for-money.com\">https:\/\/writemyessays-for-money.com<\/a><\/div>\n\n\n\n<p><!-- \t\t@page { margin: 0.79in } \t\tP { margin-bottom: 0.08in } --><strong>2. Create C Header File<\/strong><\/p>\n\n\n\n<p>In your project bin directory (in my case, \/&lt;workspace&gt;\/NDKDemo\/bin), run javah tool to create the JNI header file.<br>NDKDemo\/bin$ javah -jni com.mobisoftinfotech.NativeLib<br>Next, create a jni directory in your project directory ( in my case , &lt;EclipseWorkspace&gt;\/NDKDemo\/jni).<\/p>\n\n\n\n<p>Next, copy the JNI header from &lt;EclipseWorkspace&gt;\/NDKDemo\/bin to &lt;EclipseWorkspace&gt;\/NDKDemo\/jni<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/mobisoftinfotech.com\"><noscript><img decoding=\"async\" width=\"300\" height=\"240\" src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2010\/07\/Main-Screen2-300x240.png\" alt=\"Using Android NDK to Call Native Code From Android Application\" class=\"wp-image-1252\" srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2010\/07\/Main-Screen2-300x240.png 300w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2010\/07\/Main-Screen2-1024x819.png 1024w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2010\/07\/Main-Screen2.png 1280w\" sizes=\"(max-width: 300px) 100vw, 300px\"><\/noscript><img decoding=\"async\" width=\"300\" height=\"240\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20300%20240%22%3E%3C%2Fsvg%3E\" alt=\"Using Android NDK to Call Native Code From Android Application\" class=\"wp-image-1252 lazyload\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20300%20240%22%3E%3C%2Fsvg%3E 300w\" sizes=\"(max-width: 300px) 100vw, 300px\" data-srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2010\/07\/Main-Screen2-300x240.png 300w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2010\/07\/Main-Screen2-1024x819.png 1024w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2010\/07\/Main-Screen2.png 1280w\" data-src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2010\/07\/Main-Screen2-300x240.png\"><\/a><\/figure>\n<\/div>\n\n\n<p><strong>3. Write the C Code<\/strong><\/p>\n\n\n\n<p>In your &lt;EclipseWorkspace&gt;\/NDKDemo\/jni\/ folder, create ndkMathdemo.c file. This is where we\u2019ll implement the native code. To start, copy the function signatures from the header file, and provide the implementation for those functions. In this example, the header file looks like this:<\/p>\n\n\n\n<p>&lt;EclipseWorkspace&gt;\/NDKDemo\/jni\/com_mobisoftinfotech_NativeLib.h<\/p>\n\n\n\n<p><strong>4. Build The Library<\/strong><\/p>\n\n\n\n<p>To build the library, first we need to create a makefile for how to compile the C code:<br>&lt;EclipseWorkspace&gt;\/NDKDemo\/jni\/Android.mk<\/p>\n\n\n\n<p>Next, we need to tell NDK how to build the shared library and put it in the correct place inside the Eclipse project. To do this, create a folder &lt;NDKHOME&gt;\/apps\/ndkMathsdemo\/ and inside this folder create the Application file:<\/p>\n\n\n\n<p>&lt;NDKHOME&gt;\/apps\/ndkMathsdemo\/Application<\/p>\n\n\n\n<p>You can now to to your &lt;NDKHOME&gt; and run make APP=ndkMathsdemo<\/p>\n\n\n\n<p><strong>The output should look like this on terminal:-<\/strong><\/p>\n\n\n\n<p>android-ndk-r4$ make APP=ndkMathsdemo<\/p>\n\n\n\n<p>Android NDK: Building for application \u2018ndkMathsdemo\u2019<\/p>\n\n\n\n<p>Compile thumb : ndkMathsdemo &lt;= sources\/ndkMathdemo\/ndkMathdemo.c<\/p>\n\n\n\n<p>SharedLibrary : libndkMathdemo.so<\/p>\n\n\n\n<p>Install : libndkMathsdemo.so =&gt; apps\/ndk_demo\/project\/libs\/armeabi<\/p>\n\n\n\n<p><!-- \t\t@page { margin: 0.79in } \t\tP { margin-bottom: 0.08in } -->You can now refresh your Eclipse project and you should \/lib\/ directory containing your libndkMathsdemo.sofile.<\/p>\n\n\n\n<p><strong>5. Calling Native Code from Java<\/strong><\/p>\n\n\n\n<p>So now that we have the native C library implemented, compiled, and placed in the right place, let\u2019s see how we can call it from our Activity. It\u2019s actually rather simple \u2013 you just have to instantiate the instance of your NativeLib class and from there on, it\u2019s just a regular Java object.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><noscript><img decoding=\"async\" width=\"200\" height=\"300\" src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2010\/07\/output1-200x300.png\" alt=\"Using Android NDK to Call Native Code From Android Application\" class=\"wp-image-1254\" srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2010\/07\/output1-200x300.png 200w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2010\/07\/output1.png 320w\" sizes=\"(max-width: 200px) 100vw, 200px\"><\/noscript><img decoding=\"async\" width=\"200\" height=\"300\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20200%20300%22%3E%3C%2Fsvg%3E\" alt=\"Using Android NDK to Call Native Code From Android Application\" class=\"wp-image-1254 lazyload\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20200%20300%22%3E%3C%2Fsvg%3E 200w\" sizes=\"(max-width: 200px) 100vw, 200px\" data-srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2010\/07\/output1-200x300.png 200w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2010\/07\/output1.png 320w\" data-src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2010\/07\/output1-200x300.png\"><\/figure>\n<\/div>\n\n\n<p><strong>Source Code: <\/strong><a href=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2010\/07\/NDKDemo.tar1.gz\">NDKDemo.tar<\/a><\/p>\n\n\n\n<div><a href=\"https:\/\/frpiluleenligne.com\" rel=\"nofollow noopener\">https:\/\/frpiluleenligne.com<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>The Android NDK is a set of tools that allows Android application developers to embed native machine code compiled from C and\/or C++ source files into their application packages for borrow 1000 dollars.While you were able to access native code via Java Native Interface (JNI) all along, You would\u2019ve typically had to compile everything on [&hellip;]<\/p>\n","protected":false},"author":21,"featured_media":14760,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_s2mail":"yes","footnotes":""},"categories":[4],"tags":[107,105,106],"class_list":["post-4168","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-android","tag-android-ndk-tutorial","tag-porting-native-code-to-android-application","tag-using-ndk-in-android"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Using Android NDK to Call Native Code From Android Application<\/title>\n<meta name=\"description\" content=\"Android NDK (Native Development Kit) simplifies working with native code.Learn more on how to use Android NDK to Call Native Code from Android Application.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/using-android-ndk-to-call-native-code-from-android-application\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Using Android NDK to Call Native Code From Android Application\" \/>\n<meta property=\"og:description\" content=\"Android NDK (Native Development Kit) simplifies working with native code.Learn more on how to use Android NDK to Call Native Code from Android Application.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/using-android-ndk-to-call-native-code-from-android-application\" \/>\n<meta property=\"og:site_name\" content=\"Mobisoft Infotech\" \/>\n<meta property=\"article:published_time\" content=\"2010-07-02T12:07:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-11-06T10:27:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2010\/07\/Using-Android-NDK-to-Call-Native-Code-From-Android-Application.png\" \/>\n\t<meta property=\"og:image:width\" content=\"855\" \/>\n\t<meta property=\"og:image:height\" content=\"392\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Akram\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Akram\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/using-android-ndk-to-call-native-code-from-android-application#article\",\"isPartOf\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/using-android-ndk-to-call-native-code-from-android-application\"},\"author\":{\"name\":\"Akram\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/f93f0fab572d08184f6a74157119a20c\"},\"headline\":\"Using Android NDK to Call Native Code from Android Application\",\"datePublished\":\"2010-07-02T12:07:07+00:00\",\"dateModified\":\"2025-11-06T10:27:11+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/using-android-ndk-to-call-native-code-from-android-application\"},\"wordCount\":522,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/using-android-ndk-to-call-native-code-from-android-application#primaryimage\"},\"thumbnailUrl\":\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2010\/07\/Using-Android-NDK-to-Call-Native-Code-From-Android-Application.png\",\"keywords\":[\"Android NDK tutorial\",\"Porting Native code to android application\",\"Using NDK in Android\"],\"articleSection\":[\"Android\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/using-android-ndk-to-call-native-code-from-android-application#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/using-android-ndk-to-call-native-code-from-android-application\",\"url\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/using-android-ndk-to-call-native-code-from-android-application\",\"name\":\"Using Android NDK to Call Native Code From Android Application\",\"isPartOf\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/using-android-ndk-to-call-native-code-from-android-application#primaryimage\"},\"image\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/using-android-ndk-to-call-native-code-from-android-application#primaryimage\"},\"thumbnailUrl\":\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2010\/07\/Using-Android-NDK-to-Call-Native-Code-From-Android-Application.png\",\"datePublished\":\"2010-07-02T12:07:07+00:00\",\"dateModified\":\"2025-11-06T10:27:11+00:00\",\"author\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/f93f0fab572d08184f6a74157119a20c\"},\"description\":\"Android NDK (Native Development Kit) simplifies working with native code.Learn more on how to use Android NDK to Call Native Code from Android Application.\",\"breadcrumb\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/using-android-ndk-to-call-native-code-from-android-application#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/using-android-ndk-to-call-native-code-from-android-application\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/using-android-ndk-to-call-native-code-from-android-application#primaryimage\",\"url\":\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2010\/07\/Using-Android-NDK-to-Call-Native-Code-From-Android-Application.png\",\"contentUrl\":\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2010\/07\/Using-Android-NDK-to-Call-Native-Code-From-Android-Application.png\",\"width\":855,\"height\":392,\"caption\":\"Using Android NDK to Call Native Code From Android Application\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/using-android-ndk-to-call-native-code-from-android-application#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/mobisoftinfotech.com\/resources\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Using Android NDK to Call Native Code from Android Application\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#website\",\"url\":\"https:\/\/mobisoftinfotech.com\/resources\/\",\"name\":\"Mobisoft Infotech\",\"description\":\"Discover Mobility\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/mobisoftinfotech.com\/resources\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/f93f0fab572d08184f6a74157119a20c\",\"name\":\"Akram\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/bb474064e2ca5255dd86a26a365132ab89a939ec88ddd46914fc9de3b6d8a2af?s=96&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/bb474064e2ca5255dd86a26a365132ab89a939ec88ddd46914fc9de3b6d8a2af?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/bb474064e2ca5255dd86a26a365132ab89a939ec88ddd46914fc9de3b6d8a2af?s=96&r=g\",\"caption\":\"Akram\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Using Android NDK to Call Native Code From Android Application","description":"Android NDK (Native Development Kit) simplifies working with native code.Learn more on how to use Android NDK to Call Native Code from Android Application.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/using-android-ndk-to-call-native-code-from-android-application","og_locale":"en_US","og_type":"article","og_title":"Using Android NDK to Call Native Code From Android Application","og_description":"Android NDK (Native Development Kit) simplifies working with native code.Learn more on how to use Android NDK to Call Native Code from Android Application.","og_url":"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/using-android-ndk-to-call-native-code-from-android-application","og_site_name":"Mobisoft Infotech","article_published_time":"2010-07-02T12:07:07+00:00","article_modified_time":"2025-11-06T10:27:11+00:00","og_image":[{"width":855,"height":392,"url":"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2010\/07\/Using-Android-NDK-to-Call-Native-Code-From-Android-Application.png","type":"image\/png"}],"author":"Akram","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Akram","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/using-android-ndk-to-call-native-code-from-android-application#article","isPartOf":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/using-android-ndk-to-call-native-code-from-android-application"},"author":{"name":"Akram","@id":"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/f93f0fab572d08184f6a74157119a20c"},"headline":"Using Android NDK to Call Native Code from Android Application","datePublished":"2010-07-02T12:07:07+00:00","dateModified":"2025-11-06T10:27:11+00:00","mainEntityOfPage":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/using-android-ndk-to-call-native-code-from-android-application"},"wordCount":522,"commentCount":0,"image":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/using-android-ndk-to-call-native-code-from-android-application#primaryimage"},"thumbnailUrl":"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2010\/07\/Using-Android-NDK-to-Call-Native-Code-From-Android-Application.png","keywords":["Android NDK tutorial","Porting Native code to android application","Using NDK in Android"],"articleSection":["Android"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/using-android-ndk-to-call-native-code-from-android-application#respond"]}]},{"@type":"WebPage","@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/using-android-ndk-to-call-native-code-from-android-application","url":"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/using-android-ndk-to-call-native-code-from-android-application","name":"Using Android NDK to Call Native Code From Android Application","isPartOf":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/#website"},"primaryImageOfPage":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/using-android-ndk-to-call-native-code-from-android-application#primaryimage"},"image":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/using-android-ndk-to-call-native-code-from-android-application#primaryimage"},"thumbnailUrl":"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2010\/07\/Using-Android-NDK-to-Call-Native-Code-From-Android-Application.png","datePublished":"2010-07-02T12:07:07+00:00","dateModified":"2025-11-06T10:27:11+00:00","author":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/f93f0fab572d08184f6a74157119a20c"},"description":"Android NDK (Native Development Kit) simplifies working with native code.Learn more on how to use Android NDK to Call Native Code from Android Application.","breadcrumb":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/using-android-ndk-to-call-native-code-from-android-application#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/using-android-ndk-to-call-native-code-from-android-application"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/using-android-ndk-to-call-native-code-from-android-application#primaryimage","url":"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2010\/07\/Using-Android-NDK-to-Call-Native-Code-From-Android-Application.png","contentUrl":"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2010\/07\/Using-Android-NDK-to-Call-Native-Code-From-Android-Application.png","width":855,"height":392,"caption":"Using Android NDK to Call Native Code From Android Application"},{"@type":"BreadcrumbList","@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/using-android-ndk-to-call-native-code-from-android-application#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/mobisoftinfotech.com\/resources\/"},{"@type":"ListItem","position":2,"name":"Using Android NDK to Call Native Code from Android Application"}]},{"@type":"WebSite","@id":"https:\/\/mobisoftinfotech.com\/resources\/#website","url":"https:\/\/mobisoftinfotech.com\/resources\/","name":"Mobisoft Infotech","description":"Discover Mobility","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/mobisoftinfotech.com\/resources\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/f93f0fab572d08184f6a74157119a20c","name":"Akram","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/bb474064e2ca5255dd86a26a365132ab89a939ec88ddd46914fc9de3b6d8a2af?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/bb474064e2ca5255dd86a26a365132ab89a939ec88ddd46914fc9de3b6d8a2af?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/bb474064e2ca5255dd86a26a365132ab89a939ec88ddd46914fc9de3b6d8a2af?s=96&r=g","caption":"Akram"}}]}},"_links":{"self":[{"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/posts\/4168","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/users\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/comments?post=4168"}],"version-history":[{"count":34,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/posts\/4168\/revisions"}],"predecessor-version":[{"id":45177,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/posts\/4168\/revisions\/45177"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/media\/14760"}],"wp:attachment":[{"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/media?parent=4168"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/categories?post=4168"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/tags?post=4168"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}