HW3 - Assignment 3 Due Monday Jan 31 at 10:45am 1 Using...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Assignment 3 Due Monday Jan. 31 at 10:45am 1. Using native methods in Android Android NDK provides tools for embedding components written by native languages, such as C/C++, for Android applications. This enables the reuse of existing codes and libraries. It also provides potential performance boost for compute-intensive tasks. This assignment is to help you get familiar with Android NDK, to equip you with knowledge of building C/C++ codes to share libraries and embedding them into Android applications. a) (10%) Install NDK : follow the instructions in http://developer.android.com/sdk/ndk/index.html to download and install Android NDK. The NDK includes multiple sample Android applications, in the directory of android-ndk- r5/samples/, which illustrate how to use native code in your Android applications. Each example includes a complete Android application project, the C code, and a build script. Look into the example hello-jni. Browse every subdirectory to identify the Android project source codes and resource files (HelloJni.java and *.xml), the C code (hello-jni.c), and the build script (Android.mk). Modify the file hello-jni.c to return Hello ece194/594BB from JNI! . Build this C code as a shared library, and then run the Android application to display the string specified in hello-jni.c on Android emulator or device. b) (35%) Medical image viewer and denoising application. Write an image viewer application to view medical images from a specific URL, display the image, and perform denosing on the image. The objective for this part of the assignment is to practice the use of the native method in Android.
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern