core.tex 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391
  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. %\usepackage{media9}
  54. \usepackage{multimedia}
  55. %for table
  56. \usepackage{array}
  57. \newcolumntype{C}[1]{>{\centering\arraybackslash}m{#1}}
  58. %% Putting the background image in the frames
  59. \usebackgroundtemplate{%
  60. %\vbox to \paperheight{\hfil\hbox to \paperwidth{\hfil\includegraphics[width=1\paperwidth]{../../logo/version2grey.pdf}\hfil}\vfil}
  61. \hspace{5.2cm}\includegraphics[width=0.8\paperwidth]{../logo/version2grey.pdf}
  62. }
  63. \begin{document}
  64. \begin{frame}[plain]
  65. \maketitle
  66. \end{frame}
  67. \begin{frame}[plain]{Inhaltsverzeichniss}
  68. \tableofcontents
  69. \end{frame}
  70. \section{Vorwort}
  71. \subsection{Motivation}
  72. \begin{frame}[plain]{Motivation}
  73. \begin{varwidth}{.5\textwidth}
  74. \begin{figure}
  75. \centering
  76. \includegraphics[width=.9\textwidth]{media/macbook.jpg}
  77. \end{figure}
  78. \end{varwidth}
  79. \hfill
  80. \begin{varwidth}{.5\textwidth}
  81. \begin{itemize}\pause
  82. \item allgemeines Interesse\pause
  83. \item fehlender Edubs-Mail-Client\pause
  84. %\item fehlender Edubs-Mail-Client\inlinegraphics{media/baslerstab-1.jpg}\pause
  85. \item persönliche Bedürfnisse
  86. \end{itemize}
  87. \end{varwidth}
  88. \end{frame}
  89. \subsection{Ziele}
  90. \begin{frame}[plain]{Ziele}
  91. \begin{varwidth}{.5\textwidth}
  92. \begin{figure}
  93. \centering
  94. \includegraphics[width=.8\textwidth]{../logo/version3d.png}
  95. \end{figure}
  96. \end{varwidth}
  97. \hfill
  98. \begin{varwidth}{.5\textwidth}
  99. \begin{itemize}\pause
  100. \item Basisfunktionen \inlinegraphics{media/mail.png} \pause
  101. \item Account Manager\inlinegraphics{media/business.png}\pause
  102. \item Mobil und Modern\inlinegraphics{media/mobile.png}\pause
  103. \item Einstellungen\inlinegraphics{media/settings.png}\pause
  104. \item Schnell, Frei und Simpel\inlinegraphics{media/run.png}
  105. \end{itemize}
  106. \end{varwidth}
  107. \end{frame}
  108. \begin{frame}[plain]{Inspiration Design}
  109. \begin{varwidth}{.3\textwidth}\pause
  110. \begin{figure}
  111. \centering
  112. \includegraphics[width=.8\textwidth]{media/gmail-screenshot.png}\\
  113. \vspace{.5cm}
  114. \includegraphics[width=.25\textwidth]{media/gmail-logo.png}
  115. \end{figure}
  116. \end{varwidth}
  117. \hfill
  118. \begin{varwidth}{.3\textwidth}\pause
  119. \begin{figure}
  120. \centering
  121. \includegraphics[width=.8\textwidth]{media/k9-screenshot.png}\\
  122. \vspace{.5cm}
  123. \includegraphics[width=.25\textwidth]{media/k9-logo.png}
  124. \end{figure}
  125. \end{varwidth}
  126. \hfill
  127. \begin{varwidth}{.3\textwidth}\pause
  128. \begin{figure}
  129. \centering
  130. \includegraphics[width=.8\textwidth]{media/fairmail-screenshot.png}\\
  131. \vspace{.5cm}
  132. \includegraphics[width=.25\textwidth]{media/fairmail-logo.png}
  133. \end{figure}
  134. \end{varwidth}
  135. \end{frame}
  136. % TODO: consider using external player
  137. \section{Haupteil}
  138. \subsection{App mit Film}
  139. \begin{frame}[plain]{Demo}
  140. \centering
  141. %\movie[externalviewer]{\includegraphics[width=.8\textwidth]{media/bug.png}}{media/appNoSound.mp4}
  142. %\includemovie[externalviewer, autoplay]{20pt}{20pt}{media/appNoSound.mp4}
  143. % \includemedia[
  144. % width=0.6\linewidth,height=0.45\linewidth,
  145. % activate=pageopen,
  146. % addresource=media/appNoSound.mp4,
  147. % flashvars={
  148. % source=media/appNoSound.mp4
  149. % &autoPlay=true
  150. % &scaleMode=letterbox
  151. %
  152. % }
  153. %]{}{SlideShow.swf}
  154. \movie[externalviewer, autostart, width=4cm, height=8cm]{first try}{media/appNoSound.mp4}
  155. \end{frame}
  156. \subsection{App Inhalte}
  157. \begin{frame}[plain]{Was alles drin ist}
  158. \centering
  159. \begin{figure}[h]
  160. \includegraphics[height=.9\textheight]{media/errorMessage.png}
  161. \hspace{2.5cm}
  162. \pause
  163. \includegraphics[height=.9\textheight]{media/moreSettings.jpg}
  164. \end{figure}
  165. \end{frame}
  166. \subsection{App-Struktur}
  167. \begin{frame}[plain]{Allgemeine App-Struktur}
  168. \begin{varwidth}{.3\textwidth}
  169. \pause
  170. \begin{figure}
  171. \centering
  172. \includegraphics[height=.8\textheight]{../maturText/media/AppStructureFull.png}
  173. \end{figure}
  174. \end{varwidth}
  175. \hfill
  176. \begin{varwidth}{.5\textwidth}
  177. \begin{itemize}\pause
  178. \item User Interface \pause
  179. \item Server Connection \pause
  180. \item Database \pause
  181. \end{itemize}
  182. \end{varwidth}
  183. \end{frame}
  184. \begin{frame}[plain]{Database}
  185. \begin{block}{Allgemein}
  186. \textbf{Datenbank:} eine organisierte Ansammlung von strukturierter Information oder Daten
  187. \end{block}
  188. \begin{block}{in Der App}
  189. %:TODO finish this simon
  190. \pause
  191. \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}|}
  192. %\begin{tabular}{ c c c c c c c c c c}
  193. \hline
  194. \multicolumn{10}{|c|}{Database Table} \\
  195. \hline
  196. \small{ObejctKey} &To & cc & bcc & from & date & subject & \small{textContent} & folder & seen \\
  197. \hline
  198. \pause
  199. 01 & \small{Sam} & null & null & \small{Anna} & \small{1.3.13} & Schule & Hallo Herr & Draft & true \\
  200. \hline
  201. \end{tabular}
  202. \end{block}
  203. \end{frame}
  204. \begin{frame}[plain]{Email Connection}
  205. %\centering
  206. %\includegraphics[width=.8\textwidth]{../maturText/media/connection-diagram.png}
  207. \includegraphics<1>[height=.8\textheight]{media/empty.png}
  208. \pause
  209. \includegraphics<2>[height=.8\textheight]{media/mail-diagram-01.png}
  210. \pause
  211. \includegraphics<3>[height=.8\textheight]{media/mail-diagram-02.png}
  212. \pause
  213. \includegraphics<4>[height=.8\textheight]{media/mail-diagram-03.png}
  214. \pause
  215. \includegraphics<5>[height=.8\textheight]{media/mail-diagram-04.png}
  216. \pause
  217. \includegraphics<6>[height=.8\textheight]{media/mail-diagram-05.png}
  218. \pause
  219. \includegraphics<7>[height=.8\textheight]{media/mail-diagram-06.png}
  220. \pause
  221. \includegraphics<8>[height=.8\textheight]{media/mail-diagram-07.png}
  222. \pause
  223. \includegraphics<9>[height=.8\textheight]{media/mail-diagram-08.png}
  224. \end{frame}
  225. % TODO: not use lstlisting?
  226. \defverbatim[colored]\makeset{
  227. \lstset{language=python}
  228. \begin{lstlisting}
  229. def sendStarttls(host, sendingMail, receivingMail, password, message="",
  230. subject="", port=587, cc=[], bcc=[]):
  231. context = ssl.create_default_context()
  232. if type(cc) is not str:
  233. cc = ",".join(cc)
  234. if type(bcc) is not str:
  235. bcc = ",".join(bcc)
  236. utf8Message = ("Subject: " + subject + "\nCC: " + cc + "\nBCC: " + bcc +
  237. "\n\n" + message)
  238. decoded = utf8Message.encode('cp1252').decode('utf-8')
  239. with smtplib.SMTP(host, port) as serverConnection:
  240. serverConnection.starttls(context=context)
  241. serverConnection.login(sendingMail, password)
  242. serverConnection.sendmail(sendingMail, receivingMail, decoded)
  243. \end{lstlisting}
  244. }
  245. \begin{frame}[plain]{Senden einer Email}
  246. %\makeset
  247. %\lstset{language=Python}
  248. %\lstinputlisting[language=Python]{code/sentMail.py}
  249. \begin{figure}[h]
  250. \includegraphics[width=.8\textwidth]{media/codeFragment.png}
  251. \end{figure}
  252. \end{frame}
  253. \subsection{Librarys}
  254. \begin{frame}[plain]{Material Design}
  255. \begin{varwidth}{.5\textwidth}
  256. \begin{figure}
  257. \centering
  258. \includegraphics[width=\textwidth]{media/material-design-in-action.jpg}
  259. \end{figure}
  260. \end{varwidth}
  261. \hfill
  262. \begin{varwidth}{.4\textwidth}
  263. \includegraphics[width=\textwidth]{media/material-android.png}
  264. \begin{itemize}\pause
  265. \item GUI-Framework\pause
  266. \item beliebt\pause
  267. \item in Google Apps
  268. \end{itemize}
  269. \end{varwidth}
  270. \end{frame}
  271. % TODO: insert bugs
  272. \begin{frame}[plain]{Bugs}
  273. \begin{figure}[h]
  274. \includegraphics[width=.8\textwidth]{media/bug.png}
  275. \end{figure}
  276. \end{frame}
  277. \section{Resultate}
  278. \begin{frame}[plain]{Resultate}
  279. \begin{itemize}\pause
  280. \item User Interface\pause
  281. \item chaquopy\pause
  282. \item Funktionalität\pause
  283. \item abschliessend
  284. \end{itemize}
  285. \end{frame}
  286. \section{Gelerntes}
  287. \begin{frame}[plain]{Was wir gelernt haben}
  288. \begin{varwidth}{.5\textwidth}
  289. \begin{figure}
  290. \centering
  291. \includegraphics[width=.95\textwidth]{media/monetary-success.jpeg}
  292. \end{figure}
  293. \end{varwidth}
  294. \hfill
  295. \begin{varwidth}{.5\textwidth}
  296. \begin{itemize}\pause
  297. \item Java\inlinegraphics{media/java-only-logo.png}\pause
  298. \item Android Apps\inlinegraphics{media/android-robot.png}\pause
  299. \item Android Studio\inlinegraphics{media/android-studio-logo.png}\pause
  300. \item Database \& SQL\inlinegraphics{media/database.png}\pause
  301. \item Gradle\inlinegraphics{media/gradle.png}\pause
  302. \item Zusammenarbeit\inlinegraphics{media/handschlag.jpeg}
  303. \end{itemize}
  304. \end{varwidth}
  305. \end{frame}
  306. \section{Persönliche Meinung}
  307. \begin{frame}[plain]{Persönliche Meinung: Simon}
  308. \begin{varwidth}{.4\textwidth}
  309. \begin{figure}
  310. \centering
  311. \includegraphics[width=.95\textwidth]{media/git-logo.png}
  312. \end{figure}
  313. \end{varwidth}
  314. \hfill
  315. \begin{varwidth}{.5\textwidth}
  316. \begin{itemize}\pause
  317. \item VCS $\rightarrow$ Git $\rightarrow$ GitHub\pause
  318. \item Treffen \& Absprachen \& VoIP\pause
  319. \item texdiary
  320. \end{itemize}
  321. \end{varwidth}
  322. \end{frame}
  323. \begin{frame}[plain]{persönliche Meinung: Noah}
  324. \begin{varwidth}{.4\textwidth}
  325. \begin{figure}
  326. \centering
  327. \includegraphics[width=.95\textwidth]{media/gradle-logo.png}
  328. \end{figure}
  329. \end{varwidth}
  330. \hfill
  331. \begin{varwidth}{.5\textwidth}
  332. \begin{itemize}\pause
  333. \item fehlende Erfahrung\pause
  334. \item Java Libraries\pause
  335. \item persönlicher \& beruflicher Vorteil
  336. \end{itemize}
  337. \end{varwidth}
  338. \end{frame}
  339. \begin{frame}[plain]{Zukunft: Wie geht es weiter?}
  340. \begin{figure}
  341. \centering
  342. \includegraphics[height=.7\textheight]{media/github-repo.jpg}
  343. \end{figure}
  344. \begin{itemize}
  345. \centering
  346. \item https://github.com/noahvogt/snailmail
  347. \item https://git.noahvogt.com/me/snailmail
  348. \end{itemize}
  349. \end{frame}
  350. \end{document}