dictionary.tex 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  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. final
  84. A final viriable is not cheable, a final method can't be overriden, a final class can't be extended,
  85. a final variable has to be Initialized in the constructor.
  86. static
  87. A static method can be accessed without creating an object of the class first
  88. this
  89. The this keyword refers to the current object in a method or constructor
  90. synchronized
  91. Java provides a way of creating threads and synchronizing their task by using synchronized blocks. Synchronized blocks in Java are marked with the synchronized keyword.
  92. A synchronized block in Java is synchronized on some object.
  93. All synchronized blocks synchronized on the same object can only have one thread executing inside them at a time.
  94. All other threads attempting to enter the synchronized block are blocked until the thread inside the synchronized block exits the block.
  95. volatile
  96. Volatile keyword is used to modify the value of a variable by different threads. It is also used to make classes thread safe.
  97. It means that multiple threads can use a method and instance of the classes at the same time without any problem.
  98. instanceof
  99. checks if a variable is type of the following, it returns boolean
  100. System.gc()
  101. The java.lang.System.gc() method runs the garbage collector.
  102. Calling this suggests that the Java Virtual Machine expend effort
  103. toward recycling unused objects in order to make the memory they currently occupy available for quick reuse.
  104. threads
  105. Threads allows a program to operate more efficiently by doing multiple things at the same time.
  106. one-to-one
  107. A one-to-one relationship between two entities is a relationship where each instance of the parent entity corresponds to exactly one instance of the child entity, and vice-versa.
  108. Relation between Message and Attachment
  109. one-to-many
  110. A one-to-many relationship between two entities is a relationship where each instance of the parent entity corresponds to zero or more instances of the child entity,
  111. but each instance of the child entity can only correspond to exactly one instance of the parent entity.
  112. Maybe needed for Inbox.
  113. many-to-many
  114. A many-to-many relationship between two entities is a relationship where each instance of the parent entity corresponds to zero or more instances of the child entity, and vice-versa.
  115. implement
  116. The implements keyword is used to implement an interface.
  117. Intent
  118. An intent is an abstract description of an operation to be performed. It can be used with startActivity to launch an Activity, broadcastIntent to send it to any interested BroadcastReceiver components, and Context.startService(Intent) or Context.bindService(Intent, ServiceConnection, int) to communicate with a background Service.
  119. invoke
  120. Returns the result of dispatching the method represented by this object on obj with parameters args.
  121. obj - the object the underlying method is invoked from
  122. args - the arguments used for the method call
  123. \end{document}