core.tex 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375
  1. \documentclass[aspectratio=169]{beamer}
  2. % get rid of clickable beamer buttons
  3. \beamertemplatenavigationsymbolsempty
  4. % parse most utf-8 correctly
  5. \usepackage[utf8]{inputenc}
  6. \usepackage[ngerman]{babel}
  7. % better graphics
  8. \usepackage{graphicx}
  9. % beamer settings
  10. \title{snailmail}
  11. \author{Noah Vogt \& Simon Hammer}
  12. \date{5. Februar 2022}
  13. \institute{Gymnasium Kirschgarten}
  14. \usetheme{Copenhagen}
  15. \usepackage{varwidth}
  16. \usepackage{graphicx,calc}
  17. \newlength\myheight
  18. \newlength\mydepth
  19. \settototalheight\myheight{Xygp}
  20. \settodepth\mydepth{Xygp}
  21. \setlength\fboxsep{0pt}
  22. \newcommand*\inlinegraphics[1]{
  23. \settototalheight\myheight{Xygp}
  24. \settodepth\mydepth{Xygp}
  25. \raisebox{-\mydepth}{\includegraphics[height=\myheight]{#1}}%
  26. }
  27. % for code snippits
  28. \usepackage{listings}
  29. \usepackage{color}
  30. \definecolor{dkgreen}{rgb}{0,0.6,0}
  31. \definecolor{gray}{rgb}{0.5,0.5,0.5}
  32. \definecolor{mauve}{rgb}{0.58,0,0.82}
  33. \definecolor{background}{rgb}{0.36,0.36,0.36}
  34. \lstset{
  35. numbersep=3pt,
  36. keywordstyle=\color{blue},
  37. commentstyle=\color{dkgreen},
  38. stringstyle=\color{mauve},
  39. breaklines=true,
  40. numbers=left,
  41. numberstyle=\scriptsize\color{black},
  42. frame=none,
  43. basicstyle = \small\ttfamily,
  44. breaklines=true
  45. breakatwhitespace=false,
  46. columns=flexible,
  47. xleftmargin=0.5cm,framesep=8pt,framerule=0pt,
  48. aboveskip=3mm,
  49. belowskip=3mm,
  50. }
  51. % Package to use videos
  52. \usepackage{movie15}
  53. %for table
  54. \usepackage{array}
  55. \newcolumntype{C}[1]{>{\centering\arraybackslash}m{#1}}
  56. %% Putting the background image in the frames
  57. \usebackgroundtemplate{%
  58. %\vbox to \paperheight{\hfil\hbox to \paperwidth{\hfil\includegraphics[width=1\paperwidth]{../../logo/version2grey.pdf}\hfil}\vfil}
  59. \hspace{5.2cm}\includegraphics[width=0.8\paperwidth]{../logo/version2grey.pdf}
  60. }
  61. \begin{document}
  62. \begin{frame}[plain]
  63. \maketitle
  64. \end{frame}
  65. \begin{frame}[plain]{Inhaltsverzeichniss}
  66. \tableofcontents
  67. \end{frame}
  68. \section{Vorwort}
  69. \subsection{Motivation}
  70. \begin{frame}[plain]{Motivation}
  71. \begin{varwidth}{.5\textwidth}
  72. \begin{figure}
  73. \centering
  74. \includegraphics[width=.9\textwidth]{media/macbook.jpg}
  75. \end{figure}
  76. \end{varwidth}
  77. \hfill
  78. \begin{varwidth}{.5\textwidth}
  79. \begin{itemize}\pause
  80. \item allgemeines Interesse\pause
  81. \item fehlender Edubs-Mail-Client\pause
  82. %\item fehlender Edubs-Mail-Client\inlinegraphics{media/baslerstab-1.jpg}\pause
  83. \item persönliche Bedürfnisse
  84. \end{itemize}
  85. \end{varwidth}
  86. \end{frame}
  87. \subsection{Ziele}
  88. \begin{frame}[plain]{Ziele}
  89. \begin{varwidth}{.5\textwidth}
  90. \begin{figure}
  91. \centering
  92. \includegraphics[width=.8\textwidth]{../logo/version3d.png}
  93. \end{figure}
  94. \end{varwidth}
  95. \hfill
  96. \begin{varwidth}{.5\textwidth}
  97. \begin{itemize}\pause
  98. \item Basisfunktionen \inlinegraphics{media/mail.png} \pause
  99. \item Account Manager\inlinegraphics{media/business.png}\pause
  100. \item Mobil und Modern\inlinegraphics{media/mobile.png}\pause
  101. \item Einstellungen\inlinegraphics{media/settings.png}\pause
  102. \item Schnell, Frei und Simpel\inlinegraphics{media/run.png}
  103. \end{itemize}
  104. \end{varwidth}
  105. \end{frame}
  106. \begin{frame}[plain]{Inspiration Design}
  107. \begin{varwidth}{.3\textwidth}\pause
  108. \begin{figure}
  109. \centering
  110. \includegraphics[width=.8\textwidth]{media/gmail-screenshot.png}\\
  111. \vspace{.5cm}
  112. \includegraphics[width=.25\textwidth]{media/gmail-logo.png}
  113. \end{figure}
  114. \end{varwidth}
  115. \hfill
  116. \begin{varwidth}{.3\textwidth}\pause
  117. \begin{figure}
  118. \centering
  119. \includegraphics[width=.8\textwidth]{media/k9-screenshot.png}\\
  120. \vspace{.5cm}
  121. \includegraphics[width=.25\textwidth]{media/k9-logo.png}
  122. \end{figure}
  123. \end{varwidth}
  124. \hfill
  125. \begin{varwidth}{.3\textwidth}\pause
  126. \begin{figure}
  127. \centering
  128. \includegraphics[width=.8\textwidth]{media/fairmail-screenshot.png}\\
  129. \vspace{.5cm}
  130. \includegraphics[width=.25\textwidth]{media/fairmail-logo.png}
  131. \end{figure}
  132. \end{varwidth}
  133. \end{frame}
  134. % TODO: consider using external player
  135. \section{Haupteil}
  136. \subsection{App mit Film}
  137. \begin{frame}[plain]{Demo}
  138. \begin{figure}[h]
  139. \centering
  140. INSERT DEMO HERE
  141. %\includemovie[toolbar]{100pt}{220pt}{media/cutaccountViewer.mp4}
  142. %\includemovie[toolbar]{90pt}{90pt}{media/draftsExample.mp4}
  143. \end{figure}
  144. \end{frame}
  145. \subsection{App Inhalte}
  146. \begin{frame}[plain]{Was alles drin ist}
  147. \centering
  148. \begin{figure}[h]
  149. \includegraphics[height=.9\textheight]{media/errorMessage.png}
  150. \hspace{2.5cm}
  151. \pause
  152. \includegraphics[height=.9\textheight]{media/moreSettings.jpg}
  153. \end{figure}
  154. \end{frame}
  155. \subsection{App-Struktur}
  156. \begin{frame}[plain]{Allgemeine App-Struktur}
  157. \begin{varwidth}{.3\textwidth}
  158. \pause
  159. \begin{figure}
  160. \centering
  161. \includegraphics[height=.8\textheight]{../maturText/media/AppStructureFull.png}
  162. \end{figure}
  163. \end{varwidth}
  164. \hfill
  165. \begin{varwidth}{.5\textwidth}
  166. \begin{itemize}\pause
  167. \item User Interface \pause
  168. \item Server Connection \pause
  169. \item Database \pause
  170. \end{itemize}
  171. \end{varwidth}
  172. \end{frame}
  173. \begin{frame}[plain]{Database}
  174. \begin{block}{Allgemein}
  175. \textbf{Datenbank:} eine organisierte Ansammlung von strukturierter Information oder Daten
  176. \end{block}
  177. \begin{block}{in Der App}
  178. %:TODO finish this simon
  179. \pause
  180. \begin{tabular}{ |C{1.4Cm} |C{0.9Cm} |C{0.5Cm} |C{0.65Cm} |C{0.95Cm} |C{0.85Cm} |C{1.05Cm} |C{1.55Cm} |C{1.05Cm} |C{0.8Cm}|}
  181. %\begin{tabular}{ c c c c c c c c c c}
  182. \hline
  183. \multicolumn{10}{|c|}{Database Table} \\
  184. \hline
  185. \small{ObejctKey} &To & cc & bcc & from & date & subject & \small{textContent} & folder & seen \\
  186. \hline
  187. \pause
  188. 01 & \small{Sam} & null & null & \small{Anna} & \small{1.3.13} & Schule & Hallo Herr & Draft & true \\
  189. \hline
  190. \end{tabular}
  191. \end{block}
  192. \end{frame}
  193. \begin{frame}[plain]{Email Connection}
  194. %\centering
  195. %\includegraphics[width=.8\textwidth]{../maturText/media/connection-diagram.png}
  196. \includegraphics<1>[height=.8\textheight]{media/empty.png}
  197. \pause
  198. \includegraphics<2>[height=.8\textheight]{media/mail-diagram-01.png}
  199. \pause
  200. \includegraphics<3>[height=.8\textheight]{media/mail-diagram-02.png}
  201. \pause
  202. \includegraphics<4>[height=.8\textheight]{media/mail-diagram-03.png}
  203. \pause
  204. \includegraphics<5>[height=.8\textheight]{media/mail-diagram-04.png}
  205. \pause
  206. \includegraphics<6>[height=.8\textheight]{media/mail-diagram-05.png}
  207. \pause
  208. \includegraphics<7>[height=.8\textheight]{media/mail-diagram-06.png}
  209. \pause
  210. \includegraphics<8>[height=.8\textheight]{media/mail-diagram-07.png}
  211. \pause
  212. \includegraphics<9>[height=.8\textheight]{media/mail-diagram-08.png}
  213. \end{frame}
  214. % TODO: not use lstlisting?
  215. \defverbatim[colored]\makeset{
  216. \lstset{language=python}
  217. \begin{lstlisting}
  218. def sendStarttls(host, sendingMail, receivingMail, password, message="",
  219. subject="", port=587, cc=[], bcc=[]):
  220. context = ssl.create_default_context()
  221. if type(cc) is not str:
  222. cc = ",".join(cc)
  223. if type(bcc) is not str:
  224. bcc = ",".join(bcc)
  225. utf8Message = ("Subject: " + subject + "\nCC: " + cc + "\nBCC: " + bcc +
  226. "\n\n" + message)
  227. decoded = utf8Message.encode('cp1252').decode('utf-8')
  228. with smtplib.SMTP(host, port) as serverConnection:
  229. serverConnection.starttls(context=context)
  230. serverConnection.login(sendingMail, password)
  231. serverConnection.sendmail(sendingMail, receivingMail, decoded)
  232. \end{lstlisting}
  233. }
  234. \begin{frame}[plain]{Senden einer Email}
  235. %\makeset
  236. \lstset{language=Python}
  237. \lstinputlisting[language=Python]{code/sentMail.py}
  238. \end{frame}
  239. \subsection{Librarys}
  240. \begin{frame}[plain]{Material Design}
  241. \begin{varwidth}{.5\textwidth}
  242. \begin{figure}
  243. \centering
  244. \includegraphics[width=\textwidth]{media/material-design-in-action.jpg}
  245. \end{figure}
  246. \end{varwidth}
  247. \hfill
  248. \begin{varwidth}{.4\textwidth}
  249. \includegraphics[width=\textwidth]{media/material-android.png}
  250. \begin{itemize}\pause
  251. \item GUI-Framework\pause
  252. \item beliebt\pause
  253. \item in Google Apps
  254. \end{itemize}
  255. \end{varwidth}
  256. \end{frame}
  257. % TODO: insert bugs
  258. \begin{frame}[plain]{Bugs}
  259. INSERT BUGS HERE
  260. \end{frame}
  261. \section{Resultate}
  262. \begin{frame}[plain]{Resultate}
  263. \begin{itemize}\pause
  264. \item User Interface\pause
  265. \item chaquopy\pause
  266. \item Funktionalität\pause
  267. \item abschliessend
  268. \end{itemize}
  269. \end{frame}
  270. \section{Gelerntes}
  271. \begin{frame}[plain]{Was wir gelernt haben}
  272. \begin{varwidth}{.5\textwidth}
  273. \begin{figure}
  274. \centering
  275. \includegraphics[width=.95\textwidth]{media/monetary-success.jpeg}
  276. \end{figure}
  277. \end{varwidth}
  278. \hfill
  279. \begin{varwidth}{.5\textwidth}
  280. \begin{itemize}\pause
  281. \item Java\inlinegraphics{media/java-only-logo.png}\pause
  282. \item Android Apps\inlinegraphics{media/android-robot.png}\pause
  283. \item Android Studio\inlinegraphics{media/android-studio-logo.png}\pause
  284. \item Database \& SQL\inlinegraphics{media/database.png}\pause
  285. \item Gradle\inlinegraphics{media/gradle.png}\pause
  286. \item Zusammenarbeit\inlinegraphics{media/handschlag.jpeg}
  287. \end{itemize}
  288. \end{varwidth}
  289. \end{frame}
  290. \section{Persönliche Meinung}
  291. \begin{frame}[plain]{Persönliche Meinung: Simon}
  292. \begin{varwidth}{.4\textwidth}
  293. \begin{figure}
  294. \centering
  295. \includegraphics[width=.95\textwidth]{media/git-logo.png}
  296. \end{figure}
  297. \end{varwidth}
  298. \hfill
  299. \begin{varwidth}{.5\textwidth}
  300. \begin{itemize}\pause
  301. \item VCS $\rightarrow$ Git $\rightarrow$ GitHub\pause
  302. \item Treffen \& Absprachen \& VoIP\pause
  303. \item texdiary
  304. \end{itemize}
  305. \end{varwidth}
  306. \end{frame}
  307. \begin{frame}[plain]{persönliche Meinung: Noah}
  308. \begin{varwidth}{.4\textwidth}
  309. \begin{figure}
  310. \centering
  311. \includegraphics[width=.95\textwidth]{media/gradle-logo.png}
  312. \end{figure}
  313. \end{varwidth}
  314. \hfill
  315. \begin{varwidth}{.5\textwidth}
  316. \begin{itemize}\pause
  317. \item fehlende Erfahrung\pause
  318. \item Java Libraries\pause
  319. \item persönlicher \& beruflicher Vorteil
  320. \end{itemize}
  321. \end{varwidth}
  322. \end{frame}
  323. \begin{frame}[plain]{Zukunft: Wie geht es weiter?}
  324. \begin{figure}
  325. \centering
  326. \includegraphics[height=.7\textheight]{media/github-repo.jpg}
  327. \end{figure}
  328. \begin{itemize}
  329. \centering
  330. \item https://github.com/noahvogt/snailmail
  331. \item https://git.noahvogt.com/me/snailmail
  332. \end{itemize}
  333. \end{frame}
  334. \end{document}