androids Flashcards
what is the linux kernel used for
core OS services, multi threading, memory management
what libary does android runtime use
Java libary
How do android apps run their process
they use the dalvik virtual machine that executes files in the dalvik executable (.dex). Optimised for low memory footprint
Library use:C/C++
exposed through android application framework
Library use:System C
tuned for imbedded linux based devices
Library use:LibWebCore
Web browser engine which powers android browser and embedded web view
Library use:3d libraries
hardware 3d acceleration
What is application framework and what is it used for
Provides access to device hardware, location information, background services(alarms etc). Designed for component reuse and interplay between apps
Views?
used to build apps, eg lists grids text boxes, buttons
content providers
enable apps to interchange info between each other
resource manager
provides access to non code resources such as localised strings , images and layout files
activity manager
manages app lifecycle and navigation
how are applications bundled
in .apk files which are used to distribute and install apps on mobile devices
Activities
Represents a single screen with user interfance, in short it performs activities on the screen
what are the states of an activity after onCreate()
onStart() and then onResume()