Flashcards
ITECH200 - Mobile Revision

Cards in this deck (36)
- 1HistoryPDA - Personal Digital Assistant
1992 - IBM started prototypes for a PDA
Simon Personal communicator released by IBM in 1994
Could send and receive fax and emails
Android began in 2003
2005 Google took over android
2007 - Google froms open handset alliance
Oct 2008 - HTC Dream was the first phone running android
First iphone was in 2007 - 2Mobile Phone Generations- 1G – Analogue Radio Techniques
- 2G – Digital Encryption for voice calls, SMS, Picture Message, MMS
- 2.5G – Higher Data Rates
- 3G – Much higher data speeds, Acceptable internet speeds – 3G led to internet over wireless
- 4G – Designed to run an Internet Protocol, Packet Switching, What is used currently most of Australia is covered by it – 1GBs - 3App Dev Lifecycle (IDDS) :o Inception – Idea is formed, Work is planned
o Design – A solution is proposed
o Development – Coding work is performed, Graphics are created
o Stabilization – Testing, Deployment and Maintenance - 4IPO:- Input – Information provided to the program from outside of the program, often gathered from the user
- Output – Information produced by the program for use outside of the program.
- Processing – Computer programs perform some sort of calculation faster than humans
- Coding – Coding is the process of converting an algorithm into computer code - 5AppInventor Break Down:- Event Driven programming – Appinventor
- A button clicked is an event
- Components
- Groups of blocks
- 3 Key Elements (IPO)
- Algorithms – Ordered sequence - 6Appinventor: Types of blocks:o Event Blocks
o Actions Blocks
o Get-Value blocks
o Literal blocks
o Text processing blocks - 7App Inventor Code:- Conditional code
- OR, AND, NOT
- IF statements
- Nested expressions
- Relations between numbers
- IF – THEN – ELSE
- Variables allow us to store data to remember
- NOT will give the opposite of answer
- OR – One of which needs to return true
- AND – Both need to return true - 8App Inventor Lists:- Lists
- Layout of components
- Work out values of lists
- Add items to list
- Insert list item – Pushes other items down
- Add items – Adds to the end of the list
- Index is where in the list
- Index length of list gets the final item in the list
- Parallel Lists – Multiple lists with index relating to each other
- Repetition
- Iteration – each time a repetition is called
- While-do – If true will perform command
- For-each – Number variable says how many times it will repeat
- Procedure – Group of our own code we can call upon later – Inputx on the cog for information provided can have unlimited variables
- If a notch on the left of it means it has a return value
- If only a dent at the bottom means no return value
- Notch on the right means input value
- Close screen – returns us to the previous screen
- Result is the previous screen sent value
- To select from a lists of lists, nest select list item on select list item with right index - 9Databases:- TinyDB
- A set of data about some single entity is called a record
- Predetermined fields
- When we have a collection of records, which all have the same consistent structure, then we have a database
- TinyWebDB – A cloud based database
- Files allow us to store files on the android device
- List of Lists – 1 way of storing a database system
- Persisting data means its able to remain after the app has closes - 10Mobile Applications Development Life Cycle:- Mobile Applications Development Life Cycle (MADLC)
- 4 Phases:
o Inception
Project ID – Problem
Project initiation – Formally begins
Planning – Project Structure
Requirements – May use, Use Case
o Design:
User Experience – Interactions from user, How fluid the app runs
UI – Visuals for user
Architecture - Structure
o Development:
Core Dev - Coding
UI Dev – Coding the display
Testing – Testing all the code and UI
o Stabilization:
Deployment – Releasing the app
Maintenance – Fixing bugs that leads to multiple versions - 11Design considerations:o Battery
o Connectivity
o Hardware Issues
o Screen Size / Orientation - 12Android:- Founded by Andy Rubin, Chris White
- In 2005 Android was acquired by google - 13API Levels:o API are java classes
o API level 22 – Android 5.1
o Levels 26 and 27 for Oreo 8
o 24 and 25 for Android 7
o Level 23 for android 6 - 14Android Versions :o First was cupcake
o Current is Oreo or Pie - 15KitKat Changes:o Printing over Wi-Fi
o NFC
o Reduction in power consumption
o Immersive mode
o Screen recording - 16Android Architecture LayersApplications
Android Framework
Native Libraries
Android Runtime
HAL
Linux Kernel - 17Android Architecture:o Applications
o Android Framework – Provided access to java classes
Activity Manager – Controls all aspects of the application lifecycle and activity stack
Resource Manager – Provides access to non-code embedded resources such as strings, color settings and UI layout
Notifications Manager
Telephony Manager – Voice calls
Location Manager – GPS
Package Manager
Window Manager – Controls a window which is a container for views
o Native Libraries
o Android Runtime
o HAL – Hardware Abstraction Layer
o Linux Kernel - 18Android System Libraries:o SQLite: Database engine for storage purposes
o OpenGL – Render 2D and 3D
o FreeType: Bitmap and vector based fonts
o WebKit: Used to display HTML
o Media Library – Handles multimedia
- Managers
- Android Dev (SDK)
o Tools for making android apps
o Debugger
o Libraries
o Emulator
o Sample code
o Tutorials
o Can be developed on many different OS
- IDE (Android Studio)
- Android Deployment - 19Dalvik Virtual Machine:o Before android 5
o DVM
o Register based
o Run classes compiled by java - 204 Main components:o Activities – Deal with the UI and handle the user interaction
o Services – Handle background processing
o Broadcast receivers – Handle communication between Android OS and applications
o Content Providers – Handle data and database management issues - 21Integrated Development Environments (IDEs)o Android Studio
o Use Java and XML - 22iOS History:o Released June 2007
o First smartphone
o First iPhone 126MB of memory
o Ran on 2G
o Second iPhone released in 2008 – With Dev kit - 23Darwino Basis of iOS
- XNU Kernel - 24Apple Architecture:- Cocoa Touch
- Media
- Core Services
- Core OS - 25o Cocoa Touch: Highest layer
Multitasking
Notifications
UIKit Framework – Main framework
MapKit Framework – Scrollable maps
MessageUI Framework – Emails or SMS
Notification Centre Framework
Address Book UI Framework
GameKit Framework - 26o Media Open GL ES Framework – Library for rendering 2D and 3D
GLKit Framework – More convenient for OpenGL
Core Graphics framework – low level 2D
Assets library framework: Access to videos and photos on device
MediaPlayer Framework – playing tracks and playlists
AV Foundation – Playing media other than sound - 27o Core Services In-App Purchases
iCloud
Core Foundations Framework – C-based
CFNetwork Framework – BSD Style sockets
Core Location framework – Location info
Core motion framework – motion based data
Core Telephony framework – Active calls
StoreKit Framework – Appstore
HealthKit Framework – Users personal health
HomeKit Framework – Controlling connected devices
PassKit Framework – Passbook - 28o Core OS Accelerate framework
Core Bluetooth Framework
Network Extension Framework
Generic Security Services
Security Framework
External Accessory framework
Local Authentication Framework
System – Kernel
o Kernel and Device Drivers – XNU Kernel - 29iCloud:o Cloud storage
o Launched in 2011
o ICloud key-Value storage – Kind of like TinyWebDB
o iCloud Document storage – Documents and file based
o CloudKit Storage – private app data - 30XCode:o Apples integrated developer environment
o Only can run on Apple computers
o Interface builder: Creation of the UI
o iOS Simulator – Run iOS apps on Mac
o Instruments is a tool used for profiling and analysis the performance of the app
- Web Apps – Runs off HTML
- Native apps – Is coded to run as a stand alone - 31iOS SDK:o Objectve C
o Swift – Replace Objective C
o Xcode
- iOS Simulator
- Playgrounds – Allow us in Xcode to interactively try code live - 32App life cycleo Not Running – Launch with options
o Inactive – Running but not open
o Active – App is active and timers will start
o Background – App will either go In the background or back to inactive
o Suspended - 33Security: Stakeholders:o Users – Personal data
o Manufacturers - Jailbreak
o Devs – Apps data
o Platform providers – Malicious dev
o Marketplate operators - Malware - 343 Principles:o Software isolation between apps and services
o App calls to services via IPC controlled with permissions
o Apps should be cryptographically signed - 354 Componentso Software development and Deployment – App ID, access controller
o Application Installation - Permission to install, Updates
o Runtime Protection – Permissions as its running
o Platform Management – Boot integrity
- Software Isolation – Each application should run in its own environment - 36Who's on here?

Information
- Description
- Flashcards on ITECH200 - Mobile Revision , created by Ash Z on 08/11/2018.
- Created by
- Ash Z
- Views
- 27
- Rating