\subsection{Examples}
\begin{frame}
  \frametitle{ADB forward and gdb}
  \begin{center}
    \includegraphics[height=0.75\textheight]{slides/android-adb-examples/adb-forward-tcp.pdf}\\
    \code{adb forward tcp:5555 tcp:1234}\\
    See also \code{gdbclient}
  \end{center}
\end{frame}

\begin{frame}
  \frametitle{ADB forward and jdb}
  \begin{center}
    \includegraphics[height=0.75\textheight]{slides/android-adb-examples/adb-forward-jdwp.pdf}\\
    \code{adb forward tcp:5555 jwdp:4242}
  \end{center}
\end{frame}

\begin{frame}
  \frametitle{Various commands}
  \begin{itemize}
  \item Wait for a device and install an application
    \begin{itemize}
    \item \code{adb wait-for-device install foobar.apk}
    \end{itemize}
  \item Test an application by sending random user input
    \begin{itemize}
    \item \code{adb shell monkey -v -p com.free-electrons.foobar 500}
    \end{itemize}
  \item Filter system logs
    \begin{itemize}
    \item \code{adb logcat ActivityManager:I FooBar:D *:S}
    \item You can also set the \code{ANDROID_LOG_TAGS} environment
      variable on your workstation
    \end{itemize}
  \item Access other log buffers
    \begin{itemize}
    \item \code{adb logcat -b radio}
    \end{itemize}
  \end{itemize}
\end{frame}
