Conventions
In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.
Code words in text are show as follows: "JAVA_HOME
variable should point to the Java Development Kit folder."
A block of code is typeset as follows:
package com.packtpub.ndkcookbook.app1; import android.app.Activity; public class App1Activity extends Activity { };
When we wish to draw your attention to a particular line of code, the relevant lines are emphasized like so:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">App1</string>
</resources>
All command-line input or output is written as follows:
>adb.exe logcat -v time > 1.txt
New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "install this device software or not, you should click on the Install button".
Note
Warnings or important notes appear in a box like this.
Tip
Tips and tricks appear like this.