SlideShare a Scribd company logo
1 of 39
Introduction
Hardware
Who we are?
• Course
– Alexandru Radovici
• Lab
– Ioana Culic
– Alexandru Radovici
2
Outline
• Kotlin
• Android Framework
– Activities
– Services
– Network Services
• React Native
3
Rules
• Exam
– 50% exam
– 50% project
• Lab presence
– minimum 5 to enter the exam
– use a camera
4
Mobile device
• Portable device
– Small size
– Simple tasks
• Replacement for
– Agenda
– Notes
– Remote control
• Entertainment
– Games
5
Do you know them?
6
Mobile devices
iPhone & iPad
• iOS
• Objective-C
• Swift
Android
• Linux
• Java
• Kotlin
• C/C++
7
These used to be Mobile devices
Windows Phone
• C#
• C/C++
Ubuntu
• C/C++
• HTML 5
• Qt
SmartPhone
• Symbian
• C++
• Java MIDP
8
These used to be Mobile devices
Pocket PC
• Windows Mobile
• C++, C#
Blackberry
• BlackberryOS
• Blackberry 10
• C/C++
• HTML 5
Telefoane Obisnuite
• Nokia OS
• Ericsson OS
• Java MIDP
9
Main Components
• Microprocessor
– RISC
– ARM (Advanced RISC Machine)
• RAM Memory
– SDRAM, DDRAM (DDR4 sometimes)
• ROM (usually another partition)
– Stores the OS
• Screen
– Static
– Touch
• Keyboard
• Radio (emitter/receptor)
– Phone
– WiFi
– Bluetooth
• External connectors
– USB, serial etc.
10
Secondary Components
• Storage device
– SSD (Solid State Drive)
– Memory card (SD, Flash etc.)
– Hard Disk
• Classic iPod
• Sensors
– GSP/GLONASS
– Accelerometer
– Photo Camera
• Multimedia Coprocessor
– Codec Audio
– Codec Video
11
Development platforms
Raspberry Pi
$35
BeagleBone Black
$45
12
ZeroPhone
13
https://www.crowdsupply.com/arsenijs/zerophone
$50
Microprocessor
• RISC
– Reduced Instruction Set
Computing
– ARM (Advanced RISC Machine)
– Simple instructions
• Might not have floating point
– High clock speed
– Reduced power consumption
• Scales speed
– Examples
• Samsung ARM
• Qualcomm
• Apple A4 – A14
14
Microprocessor parameters
• Clock speed (MHz)
– Not the only relevant
• Cache Memory
– Processing performance
• Power consumption
– System’s autonomy
• Instruction set
• Coprocessors
– Audio
– Video
– Phone
15
RAM Memory
• SDRAM / DDRAM
– Even DDR4
• Limited
– 512 MB – 8 GB
16
ROM (OS partition)
• Pocket PC
• Read only space
– Initial OS image
– Persistent after hard reset
• May be written
– Update
– OS modifications
17
Screen
• Important
• Usage
– Display
– User interaction
• Limited size
• Several resolutions
– Independent from the
screen size
– 320 x 240 (QVGA)
– 640 x 480 (VGA)
– 320 x 480 (HVGA)
18
Screen Resolutions
19
Touch Screen
Resistive Capacitive
20
Resistive Display
• Two layers
• Requires pressing
• Advantages
– Exact touch
• Stylus
– Low power
• Disadvantages
– Strong touch
– Sensible of the
environment
21
Capacitive Display
• An insulator layer
– Glass / plastic
• Does not require a touch
• Advantages
– Thin touch
– Resistant of the
environment
• Disadvantages
– Inexact touch
– Higher power
22
Keyboard
• Phone
– Numbers only
– 3 letters/ key
• QWERTY
– Complete keyboard
– With numbers
• A few functional buttons
– Home, back, call, hang-up etc.
• No buttons
– Full virtual keyboard
• Any of the above
• Software design problems
23
QWERTY
24
QWERTY and virtual keyboard
25
Phone keyboard and QWERTY
26
A few functional buttons
27
No buttons
28
Radio
• Phone
– GSM / CDMA / UMTS
– GPRS / EDGE / 3G / 4G
– Up to la 25 Km
• WiFi
– Wireless
– 2.4 GHz
• Bluetooth
– Small networks
– Short distance data
exchange
29
WiFi
• Implemented in OSI
– Standard
– TCP / IP most used
protocol
• Up to 300 m
• Speeds
– 11 Mbs (802.11b)
– 54 Mbs (802.11g)
– 300 Mbs (802.11n)
30
Bluetooth
• Viking king Harald
Bluetooth
– United Norway and
Denmark
– Very communicative
• Uses non-standard
protocols
– Intercommunication
problems
– Problems when devices are
from different
manufacturers
• Speeds
– Up to 721 Kbs (1.2)
– Up to 3.2 Mbs (2.0)
– Up to 24 MB Mbs (3.0)
Class
Max
allowd
power
(mW)
Max
allowed
power
(dBm)
Range
(aprox)
Class 1 100 mW 20 dBm
~100
meters
Class 2 2.5 mW 4 dBm
~10
meters
Class 3 1 mW 0 dBm ~1 meters
31
Bluetooth 4
• Smart
• LE
• Sensors
• Standard
• Different stack from
3.0
32
Storage devices
• Solid State Drive (SSD)
– Fast
– Inefficient when deleting
• A page at a time
– Limited number of writes
• Memory card
– High capacity (tens of GB)
– Removable
• Hard Disk
– Slow
– High power
– Motion sensitive
33
SSD vs. Hard Disk
34
Storage space
• Unlimited
– Tens of GB
– Kind of cheap
• High speed
– SSD especially
35
Sensors
• GPS / GLONASS
– Assisted GPS (AGPS)
• Accelerometer
• Photo camera
• All use the battery
– Use with carefully
36
Conclusions
• Mobile devices
– Similar in computing power with computers
• Processors
– RISC
– Arm
• Display
– Small sizes
– Touch capacitive / resistive
• Storage devices
– High capacity
– No moving parts
• Interaction
– Keyboard
– Screen
• Limited resources
• Sensors
37
Keywords
• Mobile device
• Smart Phone
• Pocket PC / PDA
• Blackberry
• Windows Mobile
• Windows Phone
• Android
• iOS
• Java / Kotlin
• Objective-C / Swift
• Keyboard
– Phone
– Virtual
– QWERTY
– Functional buttons
• ARM
• RISC
• Clock speed
• Power consumption
• Coprocessors
• Solid State Drive (SSD)
• WiFi
• Bluetooth
• GPS / GLONASS / AGPS
• Touch screen
– Resistive
– Capacitive
• Resolutions
– QVGA
– HVGA
– VGA
38
Questions
39

More Related Content

Similar to MDAD 1 - Introduction

13 computer hardware
13 computer hardware13 computer hardware
13 computer hardware
sheeandeesuu
 

Similar to MDAD 1 - Introduction (20)

21PSP13
21PSP1321PSP13
21PSP13
 
Chapter Three
Chapter ThreeChapter Three
Chapter Three
 
13 computer hardware
13 computer hardware13 computer hardware
13 computer hardware
 
Sundance Profile 2014
Sundance Profile 2014Sundance Profile 2014
Sundance Profile 2014
 
hard.ppt
hard.ppthard.ppt
hard.ppt
 
hard.ppt
hard.ppthard.ppt
hard.ppt
 
hardware.ppt
hardware.ppthardware.ppt
hardware.ppt
 
hard (1).ppt
hard (1).ppthard (1).ppt
hard (1).ppt
 
hard.ppt
hard.ppthard.ppt
hard.ppt
 
hard.ppt
hard.ppthard.ppt
hard.ppt
 
hard.ppt
hard.ppthard.ppt
hard.ppt
 
hard.ppt
hard.ppthard.ppt
hard.ppt
 
Chips&toys
Chips&toysChips&toys
Chips&toys
 
Infrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platformsInfrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platforms
 
Linux para iniciantes
Linux para iniciantesLinux para iniciantes
Linux para iniciantes
 
Moore's law
Moore's lawMoore's law
Moore's law
 
NXP i.MX6 Multi Media Processor & Peripherals
NXP i.MX6 Multi Media Processor & PeripheralsNXP i.MX6 Multi Media Processor & Peripherals
NXP i.MX6 Multi Media Processor & Peripherals
 
GFGC CHIKKABASUR ( OUTPUT DEVICES ON COMPUTER )
GFGC CHIKKABASUR ( OUTPUT DEVICES ON COMPUTER )GFGC CHIKKABASUR ( OUTPUT DEVICES ON COMPUTER )
GFGC CHIKKABASUR ( OUTPUT DEVICES ON COMPUTER )
 
ITFT_Peripheral devices
ITFT_Peripheral devices ITFT_Peripheral devices
ITFT_Peripheral devices
 
Chap3 Device Technology
Chap3 Device TechnologyChap3 Device Technology
Chap3 Device Technology
 

More from Alexandru Radovici

More from Alexandru Radovici (20)

SdE2 - Pilot Tock
SdE2 - Pilot TockSdE2 - Pilot Tock
SdE2 - Pilot Tock
 
SdE2 - Systèmes embarquées
SdE2 - Systèmes embarquéesSdE2 - Systèmes embarquées
SdE2 - Systèmes embarquées
 
SdE2 - Planification, IPC
SdE2 - Planification, IPCSdE2 - Planification, IPC
SdE2 - Planification, IPC
 
ALF1 - Introduction
ALF1 - IntroductionALF1 - Introduction
ALF1 - Introduction
 
SdE2 - Introduction
SdE2 - IntroductionSdE2 - Introduction
SdE2 - Introduction
 
MDAD 6 - AIDL and Services
MDAD 6 - AIDL and ServicesMDAD 6 - AIDL and Services
MDAD 6 - AIDL and Services
 
MDAD 5 - Threads
MDAD 5 - ThreadsMDAD 5 - Threads
MDAD 5 - Threads
 
MDAD 4 - Lists, adapters and recycling
MDAD 4 - Lists, adapters and recyclingMDAD 4 - Lists, adapters and recycling
MDAD 4 - Lists, adapters and recycling
 
MDAD 3 - Basics of UI Applications
MDAD 3 - Basics of UI ApplicationsMDAD 3 - Basics of UI Applications
MDAD 3 - Basics of UI Applications
 
MDAD 2 - Introduction to the Android Framework
MDAD 2 - Introduction to the Android FrameworkMDAD 2 - Introduction to the Android Framework
MDAD 2 - Introduction to the Android Framework
 
MDAD 0 - Introduction
MDAD 0 - IntroductionMDAD 0 - Introduction
MDAD 0 - Introduction
 
SdE 11 - Reseau
SdE 11 - ReseauSdE 11 - Reseau
SdE 11 - Reseau
 
SdE 10 - Threads
SdE 10 - ThreadsSdE 10 - Threads
SdE 10 - Threads
 
SdE 8 - Synchronisation de execution
SdE 8 - Synchronisation de executionSdE 8 - Synchronisation de execution
SdE 8 - Synchronisation de execution
 
SdE 8 - Memoire Virtuelle
SdE 8 - Memoire VirtuelleSdE 8 - Memoire Virtuelle
SdE 8 - Memoire Virtuelle
 
SdE 7 - Gestion de la Mémoire
SdE 7 - Gestion de la MémoireSdE 7 - Gestion de la Mémoire
SdE 7 - Gestion de la Mémoire
 
SdE 6 - Planification
SdE 6 - PlanificationSdE 6 - Planification
SdE 6 - Planification
 
SdE 5 - Planification
SdE 5 - PlanificationSdE 5 - Planification
SdE 5 - Planification
 
ALF 6 - Parser
ALF 6 - ParserALF 6 - Parser
ALF 6 - Parser
 
ALF 5 - Parser
ALF 5 - ParserALF 5 - Parser
ALF 5 - Parser
 

Recently uploaded

SPLICE Working Group: Reusable Code Examples
SPLICE Working Group:Reusable Code ExamplesSPLICE Working Group:Reusable Code Examples
SPLICE Working Group: Reusable Code Examples
Peter Brusilovsky
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
中 央社
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
AnaAcapella
 

Recently uploaded (20)

The Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDFThe Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDF
 
Supporting Newcomer Multilingual Learners
Supporting Newcomer  Multilingual LearnersSupporting Newcomer  Multilingual Learners
Supporting Newcomer Multilingual Learners
 
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
 
SPLICE Working Group: Reusable Code Examples
SPLICE Working Group:Reusable Code ExamplesSPLICE Working Group:Reusable Code Examples
SPLICE Working Group: Reusable Code Examples
 
Graduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxGraduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptx
 
Book Review of Run For Your Life Powerpoint
Book Review of Run For Your Life PowerpointBook Review of Run For Your Life Powerpoint
Book Review of Run For Your Life Powerpoint
 
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptxAnalyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
 
Mattingly "AI and Prompt Design: LLMs with NER"
Mattingly "AI and Prompt Design: LLMs with NER"Mattingly "AI and Prompt Design: LLMs with NER"
Mattingly "AI and Prompt Design: LLMs with NER"
 
male presentation...pdf.................
male presentation...pdf.................male presentation...pdf.................
male presentation...pdf.................
 
VAMOS CUIDAR DO NOSSO PLANETA! .
VAMOS CUIDAR DO NOSSO PLANETA!                    .VAMOS CUIDAR DO NOSSO PLANETA!                    .
VAMOS CUIDAR DO NOSSO PLANETA! .
 
Including Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdfIncluding Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdf
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
 
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
 
How To Create Editable Tree View in Odoo 17
How To Create Editable Tree View in Odoo 17How To Create Editable Tree View in Odoo 17
How To Create Editable Tree View in Odoo 17
 
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjjStl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
 
Basic Civil Engineering notes on Transportation Engineering & Modes of Transport
Basic Civil Engineering notes on Transportation Engineering & Modes of TransportBasic Civil Engineering notes on Transportation Engineering & Modes of Transport
Basic Civil Engineering notes on Transportation Engineering & Modes of Transport
 
8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.ppt
 

MDAD 1 - Introduction

  • 2. Who we are? • Course – Alexandru Radovici • Lab – Ioana Culic – Alexandru Radovici 2
  • 3. Outline • Kotlin • Android Framework – Activities – Services – Network Services • React Native 3
  • 4. Rules • Exam – 50% exam – 50% project • Lab presence – minimum 5 to enter the exam – use a camera 4
  • 5. Mobile device • Portable device – Small size – Simple tasks • Replacement for – Agenda – Notes – Remote control • Entertainment – Games 5
  • 6. Do you know them? 6
  • 7. Mobile devices iPhone & iPad • iOS • Objective-C • Swift Android • Linux • Java • Kotlin • C/C++ 7
  • 8. These used to be Mobile devices Windows Phone • C# • C/C++ Ubuntu • C/C++ • HTML 5 • Qt SmartPhone • Symbian • C++ • Java MIDP 8
  • 9. These used to be Mobile devices Pocket PC • Windows Mobile • C++, C# Blackberry • BlackberryOS • Blackberry 10 • C/C++ • HTML 5 Telefoane Obisnuite • Nokia OS • Ericsson OS • Java MIDP 9
  • 10. Main Components • Microprocessor – RISC – ARM (Advanced RISC Machine) • RAM Memory – SDRAM, DDRAM (DDR4 sometimes) • ROM (usually another partition) – Stores the OS • Screen – Static – Touch • Keyboard • Radio (emitter/receptor) – Phone – WiFi – Bluetooth • External connectors – USB, serial etc. 10
  • 11. Secondary Components • Storage device – SSD (Solid State Drive) – Memory card (SD, Flash etc.) – Hard Disk • Classic iPod • Sensors – GSP/GLONASS – Accelerometer – Photo Camera • Multimedia Coprocessor – Codec Audio – Codec Video 11
  • 14. Microprocessor • RISC – Reduced Instruction Set Computing – ARM (Advanced RISC Machine) – Simple instructions • Might not have floating point – High clock speed – Reduced power consumption • Scales speed – Examples • Samsung ARM • Qualcomm • Apple A4 – A14 14
  • 15. Microprocessor parameters • Clock speed (MHz) – Not the only relevant • Cache Memory – Processing performance • Power consumption – System’s autonomy • Instruction set • Coprocessors – Audio – Video – Phone 15
  • 16. RAM Memory • SDRAM / DDRAM – Even DDR4 • Limited – 512 MB – 8 GB 16
  • 17. ROM (OS partition) • Pocket PC • Read only space – Initial OS image – Persistent after hard reset • May be written – Update – OS modifications 17
  • 18. Screen • Important • Usage – Display – User interaction • Limited size • Several resolutions – Independent from the screen size – 320 x 240 (QVGA) – 640 x 480 (VGA) – 320 x 480 (HVGA) 18
  • 21. Resistive Display • Two layers • Requires pressing • Advantages – Exact touch • Stylus – Low power • Disadvantages – Strong touch – Sensible of the environment 21
  • 22. Capacitive Display • An insulator layer – Glass / plastic • Does not require a touch • Advantages – Thin touch – Resistant of the environment • Disadvantages – Inexact touch – Higher power 22
  • 23. Keyboard • Phone – Numbers only – 3 letters/ key • QWERTY – Complete keyboard – With numbers • A few functional buttons – Home, back, call, hang-up etc. • No buttons – Full virtual keyboard • Any of the above • Software design problems 23
  • 25. QWERTY and virtual keyboard 25
  • 26. Phone keyboard and QWERTY 26
  • 27. A few functional buttons 27
  • 29. Radio • Phone – GSM / CDMA / UMTS – GPRS / EDGE / 3G / 4G – Up to la 25 Km • WiFi – Wireless – 2.4 GHz • Bluetooth – Small networks – Short distance data exchange 29
  • 30. WiFi • Implemented in OSI – Standard – TCP / IP most used protocol • Up to 300 m • Speeds – 11 Mbs (802.11b) – 54 Mbs (802.11g) – 300 Mbs (802.11n) 30
  • 31. Bluetooth • Viking king Harald Bluetooth – United Norway and Denmark – Very communicative • Uses non-standard protocols – Intercommunication problems – Problems when devices are from different manufacturers • Speeds – Up to 721 Kbs (1.2) – Up to 3.2 Mbs (2.0) – Up to 24 MB Mbs (3.0) Class Max allowd power (mW) Max allowed power (dBm) Range (aprox) Class 1 100 mW 20 dBm ~100 meters Class 2 2.5 mW 4 dBm ~10 meters Class 3 1 mW 0 dBm ~1 meters 31
  • 32. Bluetooth 4 • Smart • LE • Sensors • Standard • Different stack from 3.0 32
  • 33. Storage devices • Solid State Drive (SSD) – Fast – Inefficient when deleting • A page at a time – Limited number of writes • Memory card – High capacity (tens of GB) – Removable • Hard Disk – Slow – High power – Motion sensitive 33
  • 34. SSD vs. Hard Disk 34
  • 35. Storage space • Unlimited – Tens of GB – Kind of cheap • High speed – SSD especially 35
  • 36. Sensors • GPS / GLONASS – Assisted GPS (AGPS) • Accelerometer • Photo camera • All use the battery – Use with carefully 36
  • 37. Conclusions • Mobile devices – Similar in computing power with computers • Processors – RISC – Arm • Display – Small sizes – Touch capacitive / resistive • Storage devices – High capacity – No moving parts • Interaction – Keyboard – Screen • Limited resources • Sensors 37
  • 38. Keywords • Mobile device • Smart Phone • Pocket PC / PDA • Blackberry • Windows Mobile • Windows Phone • Android • iOS • Java / Kotlin • Objective-C / Swift • Keyboard – Phone – Virtual – QWERTY – Functional buttons • ARM • RISC • Clock speed • Power consumption • Coprocessors • Solid State Drive (SSD) • WiFi • Bluetooth • GPS / GLONASS / AGPS • Touch screen – Resistive – Capacitive • Resolutions – QVGA – HVGA – VGA 38