Friday, 13 May 2016

Which Method is called when the user leaves the Activity ?

onPause
What does .apk extension stand for ?

Application Package kit
To log messages from your app to LogCat you should use ?

android.util.Log
The root element of AndroidManifest.xml is ?

manifest
Stores Private Primitive data in key-value pairs ?

Shared Preferences
Difference between Versioncode and Versionname ?

android:versionCode
An internal version number. This number is used only to determine whether one version is more recent than another, with higher numbers indicating more recent versions. This is not the version number shown to users; that number is set by the versionName attribute. The value must be set as an integer, such as "100". You can define it however you want, as long as each successive version has a higher number. [...]


android:versionName

The version number shown to users. This attribute can be set as a raw string or as a reference to a string resource. The string has no other purpose than to be displayed to users. The versionCode attribute holds the significant version number used internally.
Fragment Life Cycle ?

onAttach()
onCreate()
onCreateView()
onActivityCreated()
onStart()
onResume()
onPaused()
onStop()
onDestroyView()
onDestroy()
onDetach()