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, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "Finally, you register your implementation of the Camera.PreviewCallback interface in the onSurfaceChanged() method of the CameraPreview class."

A block of code is set as follows:

public static Camera getCameraInstance() {
  Camera c = null;
  try {
    c =;
  } catch (Exception e) { ...  }
  return c;

New terms and important words are shown in bold. Words that you see on the screen, in menus ...

Get Augmented Reality for Android Application Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.