SlideShare a Scribd company logo
Mobile
Application
development
Unit 3
5 Skills
1. Problem Solving
2. Sharp Memory
3. Efficient Lazyness
4. Self Motivation and
Independence
5. Perseverance
2
3
1. Activity
2. Services
3. Broadcast Receivers
4. Content Provider
Components of Android Application
4
1. Entry point for interaction with the user.
2. Allows to load user interface for your application and visualize the layouts
3. App may have multiple screens meaning multiple activities
4. Starting activity is main activity
5.
Activity
5
1. Used for performing background and long running operations for application
2. It does not have any user interface
3. Example
1. Location Sharing
2. Backup
Services
6
1. Used to broadcast events of an application to another application
2. Apps can listen to system wide announcements
3. Broadcast can be delivered to app even when they are not running
4. Like Battery Low, Time, Screen has turned off etc.
5. Does not have user interface
Broadcast Reciever
7
Means of accessing the data
It manages shared set of app data at a storage location where others app can access it.
It allows to access and modify other app data
Content Provider
8
• Setup your workspace – Includes installation of Android Studio and creation of new project
• Write Your APP – Write your code, design UI and create resource for different devices
• Build and Run – Build your app and run it on Emulator or phone
• Debug, profile and test – Focus on eliminating bugs and optimizing app performance
• Publish – Release your signed app with proper versioning
Control Flow
9
• Open Android Studio
• Configure SDK
• Click on Start a New Android Studio Project
• Select Empty Activity
• Click Next
Developing your app
10
• Enter your project name in the Name Field
• Select location to save your project
• Select Java from Language Drop Down Menu
• Select minimum SDK to run your project
• Click Finish
Configuration for app
11
• Connect your device to the development machine via USB or WIFI
• Before connecting make sure that you have made proper setting to install app via USB
• Like enabling developer mode and enable USB Debugging
• Then you can run your app on your connected phone by selecting it from configuration
drop down menu
Run your app
12
• Layout/ View Group
• View
• Activities
• Fragments
• Notifications
UI Components
13
• Action Bar
• View Pager
• Swipe to Refresh
• Toast Messages
• Dialog Boxes
UI Components
14
• Menu
• Search
• Controlling System UI Visibility
UI Components
15
• Containers which are used for laying all other elements within them
• It contains set of rules to place the UI Elements
• These are used to define the visual structure of the UI
Layouts
16
Layout Attributes
id Layout_weight
Layout_width Layout_paddingLeft
Layout_height Layout_paddingTop
Layout_marginTop Layout_paddingBottom
Layout_marginBottom Layout_paddingRight
Layout_marginLeft Layout_gravity
Layout_marginRight orientation
17
• Linear Layout aligns all children in single direction i.e., horizontal or vertical
• Direction can be specified through orientation attribute
• It arranges all layout elements next to each other – element by element
Linear Layout
18
Linear Layout
19
• It aligns all children in relative position
• The position of each children can be specified relative to siblings or parent
Relative Layout
20
Layout Attributes
Layout_alignTop
Layout_toRightOf
Layout_centerHorizontal
Layout_centerInParent
Layout_centerVertical
21
Layout Attributes

More Related Content

What's hot

Android PPT Presentation 2018
Android PPT Presentation 2018Android PPT Presentation 2018
Android PPT Presentation 2018
Rao Purna
 
Android vs ios presentation detailed slides
Android vs ios presentation detailed slidesAndroid vs ios presentation detailed slides
Android vs ios presentation detailed slides
Muhammad Arslan Khan
 
Android ppt
Android pptAndroid ppt
Android ppt
srikanth982
 
Android application development ppt
Android application development pptAndroid application development ppt
Android application development ppt
Gautam Kumar
 
Mobile Application Development: Hybrid, Native and Mobile Web Apps
Mobile Application Development: Hybrid, Native and Mobile Web AppsMobile Application Development: Hybrid, Native and Mobile Web Apps
Mobile Application Development: Hybrid, Native and Mobile Web Apps
Paul Sons
 
Android ppt
Android pptAndroid ppt
Android ppt
Ansh Singh
 
Android Internship report presentation
Android Internship report presentationAndroid Internship report presentation
Android Internship report presentation
vinayh.vaghamshi _
 
Introduction to Android
Introduction to Android Introduction to Android
Introduction to Android
Ranjith Kumar
 
android architecture
android architectureandroid architecture
android architecture
Aashita Gupta
 
Automation using Appium
Automation using AppiumAutomation using Appium
Automation using Appium
Livares Technologies Pvt Ltd
 
IOS vs Android presentation by Saikrishna
IOS vs Android presentation by SaikrishnaIOS vs Android presentation by Saikrishna
IOS vs Android presentation by Saikrishna
Saikrishna Tanguturu
 
Broadcast receivers
Broadcast receiversBroadcast receivers
Broadcast receivers
maamir farooq
 
Introduction to Android development - Presentation
Introduction to Android development - PresentationIntroduction to Android development - Presentation
Introduction to Android development - Presentation
Atul Panjwani
 
Introduction to Android Development
Introduction to Android DevelopmentIntroduction to Android Development
Introduction to Android Development
Aly Abdelkareem
 
Android Architecture
Android ArchitectureAndroid Architecture
Android Architecture
deepakshare
 
Ii 1500-publishing your android application
Ii 1500-publishing your android applicationIi 1500-publishing your android application
Ii 1500-publishing your android application
Adrian Mikeliunas
 
Android Operating System
Android Operating SystemAndroid Operating System
Android Operating System
Prathamesh Bhosale
 
Android architecture
Android architectureAndroid architecture
Android architecture
Saurabh Kukreja
 
Presentation on android
Presentation on androidPresentation on android
Presentation on android
sonyhontok
 
Role of java in android app development
Role of java in android app developmentRole of java in android app development
Role of java in android app development
Rahul Rana
 

What's hot (20)

Android PPT Presentation 2018
Android PPT Presentation 2018Android PPT Presentation 2018
Android PPT Presentation 2018
 
Android vs ios presentation detailed slides
Android vs ios presentation detailed slidesAndroid vs ios presentation detailed slides
Android vs ios presentation detailed slides
 
Android ppt
Android pptAndroid ppt
Android ppt
 
Android application development ppt
Android application development pptAndroid application development ppt
Android application development ppt
 
Mobile Application Development: Hybrid, Native and Mobile Web Apps
Mobile Application Development: Hybrid, Native and Mobile Web AppsMobile Application Development: Hybrid, Native and Mobile Web Apps
Mobile Application Development: Hybrid, Native and Mobile Web Apps
 
Android ppt
Android pptAndroid ppt
Android ppt
 
Android Internship report presentation
Android Internship report presentationAndroid Internship report presentation
Android Internship report presentation
 
Introduction to Android
Introduction to Android Introduction to Android
Introduction to Android
 
android architecture
android architectureandroid architecture
android architecture
 
Automation using Appium
Automation using AppiumAutomation using Appium
Automation using Appium
 
IOS vs Android presentation by Saikrishna
IOS vs Android presentation by SaikrishnaIOS vs Android presentation by Saikrishna
IOS vs Android presentation by Saikrishna
 
Broadcast receivers
Broadcast receiversBroadcast receivers
Broadcast receivers
 
Introduction to Android development - Presentation
Introduction to Android development - PresentationIntroduction to Android development - Presentation
Introduction to Android development - Presentation
 
Introduction to Android Development
Introduction to Android DevelopmentIntroduction to Android Development
Introduction to Android Development
 
Android Architecture
Android ArchitectureAndroid Architecture
Android Architecture
 
Ii 1500-publishing your android application
Ii 1500-publishing your android applicationIi 1500-publishing your android application
Ii 1500-publishing your android application
 
Android Operating System
Android Operating SystemAndroid Operating System
Android Operating System
 
Android architecture
Android architectureAndroid architecture
Android architecture
 
Presentation on android
Presentation on androidPresentation on android
Presentation on android
 
Role of java in android app development
Role of java in android app developmentRole of java in android app development
Role of java in android app development
 

Similar to Mobile Applicaiton Development Unit 3.pdf

Notes Unit3.pptx
Notes Unit3.pptxNotes Unit3.pptx
Notes Unit3.pptx
MIT Autonomous Aurangabad
 
Android Application Development
Android Application DevelopmentAndroid Application Development
Android Application Development
Azfar Siddiqui
 
android development training in mumbai
android development training in mumbaiandroid development training in mumbai
android development training in mumbai
faizrashid1995
 
Android Architecture, Environment, and Components.pptx
Android Architecture, Environment, and Components.pptxAndroid Architecture, Environment, and Components.pptx
Android Architecture, Environment, and Components.pptx
HasanulFahmi2
 
Basic of Android App Development
Basic of Android App DevelopmentBasic of Android App Development
Basic of Android App Development
Abhijeet Gupta
 
Android Workshop Part 1
Android Workshop Part 1Android Workshop Part 1
Android Workshop Part 1
NAILBITER
 
Intro to android (gdays)
Intro to android (gdays)Intro to android (gdays)
Intro to android (gdays)
Omolara Adejuwon
 
Os eclipse-androidwidget-pdf
Os eclipse-androidwidget-pdfOs eclipse-androidwidget-pdf
Os eclipse-androidwidget-pdf
weerabahu
 
5 beginner android application development foundation
5 beginner android application development foundation5 beginner android application development foundation
5 beginner android application development foundation
Cbitss Technologies
 
Android Development Tutorial
Android Development TutorialAndroid Development Tutorial
Android Development Tutorial
Germán Bringas
 
OS in mobile devices [Android]
OS in mobile devices [Android]OS in mobile devices [Android]
OS in mobile devices [Android]
Yatharth Aggarwal
 
Android platform
Android platform Android platform
Android platform
Rashmi Warghade
 
Basics 4
Basics   4Basics   4
Basics 4
Michael Shrove
 
Mobile Application Development and Types(1)
Mobile Application Development and Types(1)Mobile Application Development and Types(1)
Mobile Application Development and Types(1)
IsraelSoga
 
Android Application Components
Android Application ComponentsAndroid Application Components
Android Application Components
JAINAM KAPADIYA
 
Internship Project Report
Internship Project ReportInternship Project Report
Internship Project Report
Rishabh Shukla
 
Android Application Development Using Java
Android Application Development Using JavaAndroid Application Development Using Java
Android Application Development Using Java
amaankhan
 
Android task manager project presentation
Android task manager project presentationAndroid task manager project presentation
Android task manager project presentation
Akhilesh Jaiswal
 
Android app fundamentals
Android app fundamentalsAndroid app fundamentals
Android app fundamentals
Amr Salman
 
Basics of Android
Basics of Android Basics of Android
Basics of Android
sabi_123
 

Similar to Mobile Applicaiton Development Unit 3.pdf (20)

Notes Unit3.pptx
Notes Unit3.pptxNotes Unit3.pptx
Notes Unit3.pptx
 
Android Application Development
Android Application DevelopmentAndroid Application Development
Android Application Development
 
android development training in mumbai
android development training in mumbaiandroid development training in mumbai
android development training in mumbai
 
Android Architecture, Environment, and Components.pptx
Android Architecture, Environment, and Components.pptxAndroid Architecture, Environment, and Components.pptx
Android Architecture, Environment, and Components.pptx
 
Basic of Android App Development
Basic of Android App DevelopmentBasic of Android App Development
Basic of Android App Development
 
Android Workshop Part 1
Android Workshop Part 1Android Workshop Part 1
Android Workshop Part 1
 
Intro to android (gdays)
Intro to android (gdays)Intro to android (gdays)
Intro to android (gdays)
 
Os eclipse-androidwidget-pdf
Os eclipse-androidwidget-pdfOs eclipse-androidwidget-pdf
Os eclipse-androidwidget-pdf
 
5 beginner android application development foundation
5 beginner android application development foundation5 beginner android application development foundation
5 beginner android application development foundation
 
Android Development Tutorial
Android Development TutorialAndroid Development Tutorial
Android Development Tutorial
 
OS in mobile devices [Android]
OS in mobile devices [Android]OS in mobile devices [Android]
OS in mobile devices [Android]
 
Android platform
Android platform Android platform
Android platform
 
Basics 4
Basics   4Basics   4
Basics 4
 
Mobile Application Development and Types(1)
Mobile Application Development and Types(1)Mobile Application Development and Types(1)
Mobile Application Development and Types(1)
 
Android Application Components
Android Application ComponentsAndroid Application Components
Android Application Components
 
Internship Project Report
Internship Project ReportInternship Project Report
Internship Project Report
 
Android Application Development Using Java
Android Application Development Using JavaAndroid Application Development Using Java
Android Application Development Using Java
 
Android task manager project presentation
Android task manager project presentationAndroid task manager project presentation
Android task manager project presentation
 
Android app fundamentals
Android app fundamentalsAndroid app fundamentals
Android app fundamentals
 
Basics of Android
Basics of Android Basics of Android
Basics of Android
 

Recently uploaded

Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
Katrina Pritchard
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
NgcHiNguyn25
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
paigestewart1632
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
Nguyen Thanh Tu Collection
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
TechSoup
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
Celine George
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
simonomuemu
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
National Information Standards Organization (NISO)
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
Celine George
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 

Recently uploaded (20)

Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 

Mobile Applicaiton Development Unit 3.pdf

  • 2. 5 Skills 1. Problem Solving 2. Sharp Memory 3. Efficient Lazyness 4. Self Motivation and Independence 5. Perseverance 2
  • 3. 3 1. Activity 2. Services 3. Broadcast Receivers 4. Content Provider Components of Android Application
  • 4. 4 1. Entry point for interaction with the user. 2. Allows to load user interface for your application and visualize the layouts 3. App may have multiple screens meaning multiple activities 4. Starting activity is main activity 5. Activity
  • 5. 5 1. Used for performing background and long running operations for application 2. It does not have any user interface 3. Example 1. Location Sharing 2. Backup Services
  • 6. 6 1. Used to broadcast events of an application to another application 2. Apps can listen to system wide announcements 3. Broadcast can be delivered to app even when they are not running 4. Like Battery Low, Time, Screen has turned off etc. 5. Does not have user interface Broadcast Reciever
  • 7. 7 Means of accessing the data It manages shared set of app data at a storage location where others app can access it. It allows to access and modify other app data Content Provider
  • 8. 8 • Setup your workspace – Includes installation of Android Studio and creation of new project • Write Your APP – Write your code, design UI and create resource for different devices • Build and Run – Build your app and run it on Emulator or phone • Debug, profile and test – Focus on eliminating bugs and optimizing app performance • Publish – Release your signed app with proper versioning Control Flow
  • 9. 9 • Open Android Studio • Configure SDK • Click on Start a New Android Studio Project • Select Empty Activity • Click Next Developing your app
  • 10. 10 • Enter your project name in the Name Field • Select location to save your project • Select Java from Language Drop Down Menu • Select minimum SDK to run your project • Click Finish Configuration for app
  • 11. 11 • Connect your device to the development machine via USB or WIFI • Before connecting make sure that you have made proper setting to install app via USB • Like enabling developer mode and enable USB Debugging • Then you can run your app on your connected phone by selecting it from configuration drop down menu Run your app
  • 12. 12 • Layout/ View Group • View • Activities • Fragments • Notifications UI Components
  • 13. 13 • Action Bar • View Pager • Swipe to Refresh • Toast Messages • Dialog Boxes UI Components
  • 14. 14 • Menu • Search • Controlling System UI Visibility UI Components
  • 15. 15 • Containers which are used for laying all other elements within them • It contains set of rules to place the UI Elements • These are used to define the visual structure of the UI Layouts
  • 16. 16 Layout Attributes id Layout_weight Layout_width Layout_paddingLeft Layout_height Layout_paddingTop Layout_marginTop Layout_paddingBottom Layout_marginBottom Layout_paddingRight Layout_marginLeft Layout_gravity Layout_marginRight orientation
  • 17. 17 • Linear Layout aligns all children in single direction i.e., horizontal or vertical • Direction can be specified through orientation attribute • It arranges all layout elements next to each other – element by element Linear Layout
  • 19. 19 • It aligns all children in relative position • The position of each children can be specified relative to siblings or parent Relative Layout