This shows you the differences between two versions of the page.
osp:lectures:lecture-ndk [2016/11/07 00:14] vlad.traista [Practical] |
osp:lectures:lecture-ndk [2017/01/22 11:38] (current) laura.ruse [Lecture] |
||
---|---|---|---|
Line 8: | Line 8: | ||
- | *{{:osp:lectures:lecture-ndk.pdf | Lecture Slides - Part 1}} | + | *{{:osp:lectures:lecture-ndk.pdf | Slides - Part 1}} |
+ | *{{:osp:lectures:6.ndk_notes.pdf | Notes - Part 1}} | ||
{{url>http://ocw.cs.pub.ro/courses/_media/osp/lectures/lecture-ndk.pdf}} | {{url>http://ocw.cs.pub.ro/courses/_media/osp/lectures/lecture-ndk.pdf}} | ||
- | *{{:osp:lectures:lecture-ndk-2.pdf | Lecture Slides - Part 2}} | + | *{{:osp:lectures:lecture-ndk-2.pdf | Slides - Part 2}} |
+ | *{{:osp:lectures:6.ndk2_notes.pdf | Notes - Part 2}} | ||
{{url>http://ocw.cs.pub.ro/courses/_media/osp/lectures/lecture-ndk-2.pdf}} | {{url>http://ocw.cs.pub.ro/courses/_media/osp/lectures/lecture-ndk-2.pdf}} | ||
Line 26: | Line 28: | ||
<note warning>If you do not have the Android NDK installed, you can downloand it and extract it from [[https://developer.android.com/ndk/downloads/index.html|this link]]. Afterwards in Android Studio you must set the NDK path if it is not set already. The path can be set by right clicking on the project and selecting the **Open Module Settings** menu item and setting the Android NDK location with a path similar to **/home/student/android-ndk-10re**. | <note warning>If you do not have the Android NDK installed, you can downloand it and extract it from [[https://developer.android.com/ndk/downloads/index.html|this link]]. Afterwards in Android Studio you must set the NDK path if it is not set already. The path can be set by right clicking on the project and selecting the **Open Module Settings** menu item and setting the Android NDK location with a path similar to **/home/student/android-ndk-10re**. | ||
+ | </note> | ||
+ | |||
+ | <note warning> | ||
+ | In order to successfully run an Android application with native support, you need to have [[http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html|Oracle Java 7 SDK]] installed and configure Android Studio to use that SDK. | ||
</note> | </note> | ||
Line 33: | Line 39: | ||
{{:osp:lectures:tasks.zip|}} | {{:osp:lectures:tasks.zip|}} | ||
+ | <note warning> | ||
+ | Abandon hope all ye who enter here for Android NDK is a mighty obstacle :D | ||
+ | </note> | ||
- | TODO - needs refactoring | ||
=== Task 1 - Create a Native Project (1p) === | === Task 1 - Create a Native Project (1p) === | ||