dictionary.tex 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. % standard
  2. \documentclass[a4paper,12pt]{article}
  3. \usepackage[utf8]{inputenc}
  4. \usepackage[ngerman]{babel}
  5. % geometry
  6. \usepackage{geometry}
  7. \geometry{ headsep=20pt,
  8. headheight=20pt,
  9. left=21mm,
  10. top=15mm,
  11. right=21mm,
  12. bottom=15mm,
  13. footskip=20pt,
  14. includeheadfoot}
  15. % header and footer
  16. \usepackage{datetime}
  17. \newdateformat{dmy}{%
  18. \THEDAY.~\monthname[\THEMONTH] \THEYEAR}
  19. \usepackage{fancyhdr}
  20. \pagestyle{fancy}
  21. \lhead{ Simon Hammer}
  22. \chead{}
  23. \rhead{\dmy\today}
  24. \lfoot{}
  25. \cfoot{Gymnasium Kirschgarten}
  26. \rfoot{Seite \thepage}
  27. \renewcommand{\footrulewidth}{.4pt}
  28. % fix figure positioning
  29. \usepackage{float}
  30. % larger inner table margin
  31. \renewcommand{\arraystretch}{1.4}
  32. % no paragraph indent
  33. \setlength{\parindent}{0em}
  34. % graphics package
  35. \usepackage{graphicx}
  36. \usepackage{multicol}
  37. % use sans serif font
  38. \usepackage{tgheros}
  39. \usepackage{mathptmx}
  40. % don't even ask what this is for, I have no idea (noah)
  41. \usepackage{bm} %italic \bm{\mathit{•}}
  42. \usepackage[hang]{footmisc}
  43. \usepackage{siunitx}
  44. \usepackage[font={small,it}]{caption}
  45. \sisetup{locale = DE, per-mode = fraction, separate-uncertainty, exponent-to-prefix, prefixes-as-symbols = false, scientific-notation=false
  46. }
  47. \newcommand{\ns}[4]{(\num[scientific-notation=false]{#1}\pm\num[scientific-notation=false]{#2})\cdot\num[]{e#3}\si{#4}}
  48. % show isbn in bibliography
  49. \usepackage{natbib}
  50. \begin{document}
  51. application programming interface (API)\\
  52. Android Native Development Kit (NDK) \\
  53. Application Binary Interface (ABI) \\
  54. Java Native Interface (JNI) \\
  55. Activity
  56. An activity is a single, focused thing that the user can do.
  57. 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)
  58. Bundle
  59. Bundle is used to pass data between Activities.
  60. You can create a bundle, pass it to Intent that starts the activity which then can be used from the destination activity.
  61. Bundle:- A mapping from String values to various Parcelable types. Bundle is generally used for passing data between various activities of android.
  62. protected
  63. The protected keyword is an access modifier used for attributes, methods and constructors,
  64. making them accessible in the same package and subclasses.
  65. bundle
  66. Resource bundles contain locale-specific objects.
  67. When your program needs a locale-specific resource, a String for example,
  68. your program can load it from the resource bundle that is appropriate for the current user's locale. In this way,
  69. you can write program code that is largely independent of the user's locale isolating most, if not all,
  70. of the locale-specific information in resource bundles.
  71. savedInstandeState
  72. The savedInstanceState is a reference to a Bundle object that is passed into the onCreate method of every Android Activity.
  73. Activities have the ability, under special circumstances,
  74. to restore themselves to a previous state using the data stored in this bundle.
  75. If there is no available instance data, the savedInstanceState will be null. For example,
  76. 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.
  77. private
  78. The private keyword is an access modifier used for attributes,
  79. methods and constructors,
  80. making them only accessible within the declared class.
  81. super
  82. super referes to the parent class and use the construktor from parent class
  83. \end{document}