source:
issm/oecreview/Archive/12321-12677/ISSM-12632-12633.diff
Last change on this file was 12679, checked in by , 13 years ago | |
---|---|
File size: 11.1 KB |
-
u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/externalpackages/android/doc/Android.tex
1 %Preamble {{{ 2 %Packages 3 \documentclass[9pt,notes=hide]{beamer} 4 5 \definecolor{links}{HTML}{2A1B81} 6 \hypersetup{colorlinks,linkcolor=,urlcolor=links} 7 8 \usetheme[jpl,headstyle=institute,fnolabel=,sidebar=.15\paperwidth,footstyle=low,footsep={ $\cdot$ },TPomitframeno,conference=This is a test]{Pasadena} 9 \useinnertheme{MLHacks} % ISSM bonuses (ghostframes for example) 10 \usepackage[T1]{fontenc} % T1 encoding is better for foreign langages 11 \usepackage{aeguill,aecompl} % Virtual fonts 12 \usepackage{amsmath,amssymb} % Mathematical symbols (useful for equations) 13 \usepackage{xcolor} % We can define new colors 14 \usepackage{graphicx} % Include pictures 15 \usepackage{times} % Use Times Font instead of default 16 \graphicspath{ % directories where the pictures are located 17 {Images/Results/} 18 } 19 20 \setbeamercovered{transparent} %invisible, transparent, dynamic, highly dynamic 21 22 %%Automatically insert outline slide at the begining of each new section (very nice!) 23 %\AtBeginSection[]{ 24 %\begin{frame}<beamer> 25 % \frametitle{Outline} % title of the slide 26 % \tableofcontents[currentsection] 27 % \ghostframe %do not count slide 28 %\end{frame} 29 %} 30 %}}} 31 %Presentation properties{{{1 32 %between brackets []: shown on headers and footers of every slide (short) 33 %between parenthesis (): shown on title page only (long) 34 \title[ISSM on Android]{Ice Sheet System Model on the Android Platform} 35 \author[G.Perez]{Gilberto \textsc{Perez}\inst{1}} 36 \institute[JPL]{ 37 \inst{1}California State Polytechnic University, Pomona\\ 38 } 39 \conference[conference shouldnt be required]{Not sure why this is needed...} 40 \date[\today]{June 2010 \hspace{3em}\copyright Copyright 2011. All rights reserved} 41 \logo{\includegraphics[width=8em]{ISSMlogo}} 42 %}}} 43 44 \begin{document} 45 46 %Title slide {{{ 47 \begin{frame}[plain] %No headers or footers 48 \titlepage 49 \end{frame}%}}} 50 %Outline {{{ 51 \begin{frame} 52 \frametitle{Outline} 53 \tableofcontents 54 \end{frame}%}}} 55 56 \section[Motivation]{Why Port ISSM to Android?} 57 \begin{frame}%{{{ 58 \frametitle{intro} 59 The ISSM Android project is an attempt at outreach by the scientific community by producing a readily distributable application that the layman can use to hold tangible evidence of climate change. 60 \end{frame}%}}} 61 \subsection{Why Android Specifically?} 62 \begin{frame}%{{{ 63 \frametitle{Why Android?} 64 The reasons Android was selected as our target platform are as follows: 65 \begin{itemize} 66 \item<2-2> Android is a GNU/Linux based open source platform 67 \item<3-3> ISSM was developed with portability to Unix-like operating systems 68 \item<4-4> Android holds the largest market share in the smart phone market. 69 \end{itemize} 70 \end{frame}%}}} 71 \section[SDK]{About the Android SDK} 72 \begin{frame} 73 \frametitle{Android SDK} 74 The Android Software Development Kit(SDK) is a set of tools for developing applications for the Android platform. While a the Java Software Development Kit is still required, one need never make calls to Java SDK programs as the tools provided by the Android SDK and the Apache Ant build tools. 75 \\[12pt] 76 For more information on the Android SDK and the Apache Ant Project see the following links: 77 \begin{itemize} 78 \item \href{http://ant.apache.org/}{Apache Ant Project} 79 \item \href{http://ant.apache.org/}{Android SDK} 80 \end{itemize} 81 \includegraphics[width=4em]{android-hub} 82 \end{frame} 83 \subsection{Why the use SDK?} 84 \begin{frame} 85 \frametitle{Why use the Android SDK?} 86 Although developing for Android is typically done in the Java programming language, one cannot simply use Java SDK to produce an Android app for the following reasons: 87 \begin{itemize} 88 \item<2-3> Android apps do not run on an implementation of the Java Virtual Machine. Instead, they run the Dalvik Virtual Machine. 89 \begin{itemize} 90 \item<3-> Different byte code and API 91 \end{itemize} 92 \item<4-7> Applications are distributed as APK files which are zipped, signed and aligned packages that include 93 \begin{itemize} 94 \item<5-5> Application binaries 95 \item<6-6> Resources like images, text, etc. 96 \item<7-7> AndroidManifest.xml 97 \end{itemize} 98 \end{itemize} 99 \includegraphics[width=\linewidth]{build-simplified} 100 \end{frame} 101 \subsection[Tools]{Important Tools} 102 \begin{frame} 103 \frametitle{Important Tools} 104 There are many useful tools provided in the Android SDK, those we are using are: 105 \begin{itemize} 106 \item<2-> \href{http://developer.android.com/tools/help/android.html}{android}: is arguably the most useful tool. It allows you to: 107 \begin{itemize} 108 \item Create, delete and view Android Virtual Devices (AVDs) 109 \item Create and update Android projects 110 \item Update Android SDK with new platforms, add-ons and documentation 111 \end{itemize} 112 \item<3-> \href{http://developer.android.com/tools/help/emulator.html}{emulator}: is a generic Android device emulator which can emulate any existing device specification. 113 \item<4-> \href{ttp://developer.android.com/tools/help/adb.html}{adb}: The Android Debug Bridge allows you to communicate with an emulated device by piping shell commands, granting a terminal, and pushing/pulling files from the file system. 114 \end{itemize} 115 \end{frame} 116 \section[NDK]{Android Native Development Kit} 117 \begin{frame} 118 \frametitle{Native Development Kit} 119 Since ISSM is written in C/C++, we must be able to compile it for an Android device running on an ARM processor. Furthermore, we must be able to run ISSM from the context of an Android application. \href{http://developer.android.com/tools/sdk/ndk/index.html}{The Android Native Development Kit (NDK)} provides tools to this end. 120 \end{frame} 121 \subsection[Standalone Toolchain]{Android Native CPU ABI Management} 122 \begin{frame} 123 Although the NDK provides tools, as well as useful examples, to compile and package native libraries along with a typical Android application, it is best used for our purposes to provide a full compliment of compilers, linkers, archivers, etc. 124 \begin{itemize} 125 \item make-stand-toolchain.sh: will create wrappers around the GNU GCC that are tailored to a specific Android API and Application Binary Interface(ABI) 126 \begin{itemize} 127 \item \href{http://www.sco.com/developers/devspecs/gabi41.pdf}{ELF System V Application Binary Interface} 128 \end{itemize} 129 \end{itemize} 130 \end{frame} 131 132 \section{Compiling ISSM} 133 \subsection{External Packages} 134 \subsection{Configuration} 135 136 \section{Java Native Interface} 137 138 \end{document} -
u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/externalpackages/android/doc/ISSMlogo.pdf
Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream
-
u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/externalpackages/android/doc/build-simplified.png
Property changes on: /u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/externalpackages/android/doc/ISSMlogo.pdf ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream
-
u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/externalpackages/android/doc/android-hub.jpg
Property changes on: /u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/externalpackages/android/doc/build-simplified.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream
-
u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/externalpackages/android/doc/Makefile
Property changes on: /u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/externalpackages/android/doc/android-hub.jpg ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream
1 #Makefile for beamer 2 3 #if nothing specified, make pdf 4 all: one 5 6 #document name (no extension) 7 TARGET=Android 8 export TEXINPUTS=~/issm-jpl/issm/publications/Templates/beamer/Theme/Pasadena//: 9 10 #compile only once and open 11 one: 12 13 pdflatex -halt-on-error $(TARGET).tex 14 open $(TARGET).pdf 15 16 #compile three times and open 17 complete: 18 19 #compile three times fpr the structure 20 #first two times draftmode to go faster (no image inclusion -> faster) 21 pdflatex -halt-on-error -draftmode $(TARGET).tex 22 pdflatex -halt-on-error -draftmode $(TARGET).tex 23 pdflatex -halt-on-error $(TARGET).tex 24 open $(TARGET).pdf 25 26 clean: 27 rm -f ${TARGET}.{dvi,ps,pdf,toc,log,aux,out,nav,snm}
Note:
See TracBrowser
for help on using the repository browser.