04 - Mobile Development Flashcards
(28 cards)
Android uses _______ for:
1. Security
2. Memory Management
3. Process Management
4. Network Stack
5. Driver Model
Linux Kernel Drivers
interface for the Android framework to communicate with device hardware
Hardware Abstraction Layer
libraries that provide core functionalities for various Android components such as graphics, sound, and security
Native C/C++ Libraries
takes Java bytecode compiled into Dalvik Executable format and translates it into native machine code that can be directly executed by the device’s processor
Android Runtime
Dalvik VM vs ART in terms of:
compilation
performance
storage
battery
Compilation
Dalvik: Just-in-Time
ART: Ahead-of-Time
Performance
Dalvik: Slower performance
ART: Faster performance
Storage
Dalvik: more suitable for limited storage
ART: requires more storage
Battery
Dalvik: uses more battery
ART: improved battery utilization
high-level API available to app developers
Java API Framework
where your app, that you developed, will reside
application layer
iOS uses ___ for :
1. Security
2. Memory Management
3. Process Management
4. Network Stack
5. Driver Model
Core OS
abstracts the complexities of the underlying Core OS, making it easier for developers to build applications
Core Services
provides the frameworkds and technologies necessary for applications to work with audio, video, graphics, and animations
Media
layer that developers use to create the interactive and visually appealing aspects of iOS apps
Cocoa Touch
layer that directly interacts with the user
main application layer for iOS
Cocoa Touch
function passed as an argument to another function
callback
makes the activity visible to the user as the app prepares for the activity to enter the foreground and become interactive
onStart()
state in which the app interacts with the user
app stays in this state until something happens to take focus away from the app
onResume()
system calls this method as the first indication that the user is leaving your activity
onPause()
your activity is no longer visible to the user
onStop()
called after onStop() when the current activity is being re displayed to the user
onRestart()
called before the activity is destroyed
onDestroy()
types of mobile apps (4)
- Native Apps
- Hybrid Apps
- Cross-Platform Apps
- Progressive Web Apps
applications developed for a particular platform or device
native apps
apps built using web technologies and wrapped in a native container
hybrid apps
relatively easy and quick to develop
can access some device features through plugins
performance can be a concern
hybrid apps
closest tier to native development
provides own components
cross-platform apps