123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129 |
- % standard
- \documentclass[a4paper,12pt]{article}
- \usepackage[utf8]{inputenc}
- \usepackage[ngerman]{babel}
- % geometry
- \usepackage{geometry}
- \geometry{ headsep=20pt,
- headheight=20pt,
- left=21mm,
- top=15mm,
- right=21mm,
- bottom=15mm,
- footskip=20pt,
- includeheadfoot}
- % header and footer
- \usepackage{datetime}
- \newdateformat{dmy}{%
- \THEDAY.~\monthname[\THEMONTH] \THEYEAR}
- \usepackage{fancyhdr}
- \pagestyle{fancy}
- \lhead{ Simon Hammer}
- \chead{}
- \rhead{\dmy\today}
- \lfoot{}
- \cfoot{Gymnasium Kirschgarten}
- \rfoot{Seite \thepage}
- \renewcommand{\footrulewidth}{.4pt}
- % fix figure positioning
- \usepackage{float}
- % larger inner table margin
- \renewcommand{\arraystretch}{1.4}
- % no paragraph indent
- \setlength{\parindent}{0em}
- % graphics package
- \usepackage{graphicx}
- \usepackage{multicol}
- % use sans serif font
- \usepackage{tgheros}
- \usepackage{mathptmx}
- % don't even ask what this is for, I have no idea (noah)
- \usepackage{bm} %italic \bm{\mathit{•}}
- \usepackage[hang]{footmisc}
- \usepackage{siunitx}
- \usepackage[font={small,it}]{caption}
- \sisetup{locale = DE, per-mode = fraction, separate-uncertainty, exponent-to-prefix, prefixes-as-symbols = false, scientific-notation=false
- }
- \newcommand{\ns}[4]{(\num[scientific-notation=false]{#1}\pm\num[scientific-notation=false]{#2})\cdot\num[]{e#3}\si{#4}}
- % show isbn in bibliography
- \usepackage{natbib}
- \begin{document}
- application programming interface (API)\\
- Android Native Development Kit (NDK) \\
- Application Binary Interface (ABI) \\
- Java Native Interface (JNI) \\
- Activity
- An activity is a single, focused thing that the user can do.
- Almost all activities interact with the user, so the Activity class takes care of creating a window for you in which you can place your UI with setContentView(View)
- Bundle
- Bundle is used to pass data between Activities.
- You can create a bundle, pass it to Intent that starts the activity which then can be used from the destination activity.
- Bundle:- A mapping from String values to various Parcelable types. Bundle is generally used for passing data between various activities of android.
- protected
- The protected keyword is an access modifier used for attributes, methods and constructors,
- making them accessible in the same package and subclasses.
- bundle
- Resource bundles contain locale-specific objects.
- When your program needs a locale-specific resource, a String for example,
- your program can load it from the resource bundle that is appropriate for the current user's locale. In this way,
- you can write program code that is largely independent of the user's locale isolating most, if not all,
- of the locale-specific information in resource bundles.
- savedInstandeState
- The savedInstanceState is a reference to a Bundle object that is passed into the onCreate method of every Android Activity.
- Activities have the ability, under special circumstances,
- to restore themselves to a previous state using the data stored in this bundle.
- If there is no available instance data, the savedInstanceState will be null. For example,
- the savedInstanceState will always be null the first time an Activity is started, but may be non-null if an Activity is destroyed during rotation.
- private
- The private keyword is an access modifier used for attributes,
- methods and constructors,
- making them only accessible within the declared class.
- super
- super referes to the parent class and use the construktor from parent class
- \end{document}
|