SlideShare une entreprise Scribd logo
1  sur  31
Presentation by
Mrs.P.V.Kavitha
Assistant Professor (Sr.Gr)/ IT
SRI RAMAKRISHNA ENGINEERING COLLEGE
[Educational Service : SNR Sons Charitable Trust]
[Autonomous Institution, Accredited by NAAC with ‘A’ Grade]
[Approved by AICTE and Permanently Affiliated to Anna University, Chennai]
[ISO 9001:2015 Certified and all Eligible Programmes Accredited by NBA]
VATTAMALAIPALAYAM, N.G.G.O. COLONY POST, COIMBATORE – 641 022.
16IT2E43 – ANDROID APPLICATION DEVELOPMENT
OPEN ELECTIVE
Department of Information Technology
Syllabus
 Introduction to Mobile Application Development
 Mobility Landscape
 Mobile Platforms
 Mobile App development
 Overview of Android platform
 Setting up the Mobile App Development along with Emulator
 A case study on Mobile App Development
27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 2
MODULE 1 : GETTING STARTED WITH MOBILITY
Agenda
 Android Project App Structure
 Building My First App in Emulator
 Building My First App in Mobile Device
 Hands-on – Building My First App
 UI Resources – Layouts
27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 3
App Project Structure
27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 4
Exploring the folders and files in the Android
App
27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 5
Java Folder
◦ This folder contains the java source code (.java) files created during the
application development
◦ MainActivity.java will be created automatically
Exploring the folders and files in the Android
App
res(Resources) Folder
◦ It contains all non-code resources, such as bitmap images, UI
strings, XML layouts
27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 6
Exploring the folders and files in the Android
App
Drawable (res/drawable) Folder
It contains the different types of images as per the requirement of
application
Layout folder
It contains all XML layout files which we used to define the user
interface of our application
27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 7
Exploring the folders and files in the Android
App
Mipmap Folder (res/mipmap)
This folder contains app / launcher icons that are used to show on
the home screen
27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 8
Exploring the folders and files in the Android
App
Values Folder (res/values)
This folder contains various XML files, such as strings, colors, style
definitions and a static array of strings or integers
27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 9
Exploring the folders and files in the Android
App
Manifests Folder
This folder contains a manifest file
(AndroidManifest.xml) for our android
application.
This manifest file contains information
about the application such as android
version, access permissions, etc. of the
application and its components.
The manifest file will act as an
intermediate between android OS and
our application
27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 10
Exploring the folders and files in the Android
App
Gradle Scripts
In android, Gradle means automated
build system and by using this we can
define a build configuration that
applies to all modules in our
application
In Gradle build.gradle (Project),
and build.gradle (Module) files are
useful to build configurations that
apply to all our app modules or
specific to one app module
27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 11
Exploring the folders and files in the Android
App
Android Layout File
(activity_main.xml)
The UI of our application will be
designed in this file and it will
contain Design and Text modes.
27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 12
Exploring the folders and files in the Android
App
Android Main Activity File
(MainActivity.java)
The main activity file in the android
application is MainActivity.java and it exists
in the java folder
The MainActivity.java file contains the java
code to handle all the activities related to our
app.
27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 13
My First Android App in Emulator
27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 14
My First Android App in Emulator
27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 15
My First Android App in Emulator
27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 16
My First Android App in Emulator
27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 17
My First Android App in Emulator
27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 18
My First Android App in Emulator
27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 19
My First Android App in Emulator
27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 20
My First Android App in Emulator
27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 21
My First Android App in Emulator
27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 22
My First Android App in Emulator
27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 23
My First Android App in Emulator
27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 24
My First Android App in Mobile device
◦ Connect your Mobile device with Laptop using USB cable
◦ Perform the following steps to enable USB debugging in the Developer options window:
◦ Open the Settings app.
◦ If your device uses Android v8.0 or higher, select System. Otherwise, proceed to the next
step.
◦ Scroll to the bottom and select About phone.
◦ Scroll to the bottom and tap Build number seven times.
◦ Return to the previous screen, scroll to the bottom, and tap Developer options.
◦ In the Developer options window, scroll down to find and enable USB debugging.
◦ Run the app on your device as follows:
◦ In Android Studio, select your app from the run/debug configurations drop-down menu in
the toolbar.
◦ In the toolbar, select the device that you want to run your app on from the target device drop-
down menu.
27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 25
My First Android App in Mobile device
27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 26
UI Layouts
Commonly used Attributes of UI Layout:
android :id
This is the ID which uniquely identifies the layout
android : layout_width = match_parent
Adjusts the width of the layout to the mobile screen
android: layout_height = match_parent
Adjusts the height of the layout to the mobile screen
android:gravity
This specifies how an object should position its content, on both the X and Y axes.
Possible values are top, bottom, left, right, center, center_vertical, center_horizontal etc.
android:orientation
This specifies the direction of arrangement and you will use "horizontal" for a row,
"vertical" for a column. The default is horizontal
27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 27
UI Controls/Components/Widgets
27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 28
• Input controls are the interactive components in app's user interface
• Android provides a wide variety of controls such as buttons, text fields, edit text,
check box, radio button, toggle buttons, and many more
Some of the UI controls are:
UI Controls/Components/Widgets
TextView : This control is used to display text to the user
EditText : This control is used to get the input from the user
Button : A push-button that can be pressed, or clicked, by the user to perform an action
RadioButton: The RadioButton has two states: either checked or unchecked.
CheckBox: An on/off switch that can be toggled by the user. You should use check box
when presenting users with a group of selectable options that are not mutually exclusive.
ToggleButton: An on/off button with a light indicator
RadioGroup : A RadioGroup is used to group together one or more RadioButtons
ListView: It contains the group of items and displays in a scrollable list
27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 29
Event Handling model
Event Handling Model
Events are a useful way to collect data about a user's interaction with interactive
components of applications
27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 30
ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA
27-03-2023 31

Contenu connexe

Tendances

Software Architecture: Design Decisions
Software Architecture: Design DecisionsSoftware Architecture: Design Decisions
Software Architecture: Design DecisionsHenry Muccini
 
Agile Testing and Test Automation
Agile Testing and Test AutomationAgile Testing and Test Automation
Agile Testing and Test AutomationNaveen Kumar Singh
 
Introduction to Android and Android Studio
Introduction to Android and Android StudioIntroduction to Android and Android Studio
Introduction to Android and Android StudioSuyash Srijan
 
Incremental model (software engineering)
Incremental model (software engineering)Incremental model (software engineering)
Incremental model (software engineering)MuhammadTalha436
 
Android app development
Android app developmentAndroid app development
Android app developmentTanmoy Roy
 
Ch 6 development plan and quality plan
Ch 6 development plan and quality planCh 6 development plan and quality plan
Ch 6 development plan and quality planKittitouch Suteeca
 
Mobile Application Testing
Mobile Application TestingMobile Application Testing
Mobile Application TestingSWAAM Tech
 
Usability engineering Usability testing
Usability engineering Usability testingUsability engineering Usability testing
Usability engineering Usability testingREHMAT ULLAH
 
Test Driven Development (TDD) Preso 360|Flex 2010
Test Driven Development (TDD) Preso 360|Flex 2010Test Driven Development (TDD) Preso 360|Flex 2010
Test Driven Development (TDD) Preso 360|Flex 2010guest5639fa9
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to androidzeelpatel0504
 
Introduction To Mobile Application Development
Introduction To Mobile Application DevelopmentIntroduction To Mobile Application Development
Introduction To Mobile Application DevelopmentSyed Absar
 

Tendances (20)

Software Architecture: Design Decisions
Software Architecture: Design DecisionsSoftware Architecture: Design Decisions
Software Architecture: Design Decisions
 
Agile Testing and Test Automation
Agile Testing and Test AutomationAgile Testing and Test Automation
Agile Testing and Test Automation
 
Mobile Application Development - Guide 2020
Mobile Application Development - Guide 2020Mobile Application Development - Guide 2020
Mobile Application Development - Guide 2020
 
Sw quality metrics
Sw quality metricsSw quality metrics
Sw quality metrics
 
Introduction to Android and Android Studio
Introduction to Android and Android StudioIntroduction to Android and Android Studio
Introduction to Android and Android Studio
 
Incremental model (software engineering)
Incremental model (software engineering)Incremental model (software engineering)
Incremental model (software engineering)
 
Testing & Quality Assurance
Testing & Quality AssuranceTesting & Quality Assurance
Testing & Quality Assurance
 
Android app development
Android app developmentAndroid app development
Android app development
 
Ch 6 development plan and quality plan
Ch 6 development plan and quality planCh 6 development plan and quality plan
Ch 6 development plan and quality plan
 
Mobile Application Testing
Mobile Application TestingMobile Application Testing
Mobile Application Testing
 
Android
AndroidAndroid
Android
 
User interface design
User interface designUser interface design
User interface design
 
Android Report
Android ReportAndroid Report
Android Report
 
Ch 2 what is software quality
Ch 2 what is software qualityCh 2 what is software quality
Ch 2 what is software quality
 
Basics in software testing
Basics in software testingBasics in software testing
Basics in software testing
 
Usability engineering Usability testing
Usability engineering Usability testingUsability engineering Usability testing
Usability engineering Usability testing
 
Test Driven Development (TDD) Preso 360|Flex 2010
Test Driven Development (TDD) Preso 360|Flex 2010Test Driven Development (TDD) Preso 360|Flex 2010
Test Driven Development (TDD) Preso 360|Flex 2010
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
 
Android Platform Architecture
Android Platform ArchitectureAndroid Platform Architecture
Android Platform Architecture
 
Introduction To Mobile Application Development
Introduction To Mobile Application DevelopmentIntroduction To Mobile Application Development
Introduction To Mobile Application Development
 

Similaire à Android - Day3.pptx

Jaipur Bus Finder - An Android-based Application
Jaipur Bus Finder - An Android-based ApplicationJaipur Bus Finder - An Android-based Application
Jaipur Bus Finder - An Android-based ApplicationAI Publications
 
Jaipur Bus Finder - An Android-based Application
Jaipur Bus Finder - An Android-based ApplicationJaipur Bus Finder - An Android-based Application
Jaipur Bus Finder - An Android-based ApplicationAI Publications
 
DEVELOPING CUSTOM APPS USING DYNAMIC XML PARSING
DEVELOPING CUSTOM APPS USING DYNAMIC XML PARSINGDEVELOPING CUSTOM APPS USING DYNAMIC XML PARSING
DEVELOPING CUSTOM APPS USING DYNAMIC XML PARSINGJournal For Research
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to androidjavalabsf
 
Sample_report_for_MINI_PROJECT.docx (1).pdf
Sample_report_for_MINI_PROJECT.docx (1).pdfSample_report_for_MINI_PROJECT.docx (1).pdf
Sample_report_for_MINI_PROJECT.docx (1).pdfEkagraGupta1
 
Compose camp 4.pptx
Compose camp 4.pptxCompose camp 4.pptx
Compose camp 4.pptxbcedsc
 
Android Development : (Android Studio, PHP, XML, MySQL)
Android Development : (Android Studio, PHP, XML, MySQL)Android Development : (Android Studio, PHP, XML, MySQL)
Android Development : (Android Studio, PHP, XML, MySQL)Kavya Barnadhya Hazarika
 
Mobile Application Development
Mobile Application DevelopmentMobile Application Development
Mobile Application DevelopmentAbelRobel
 
B041130610
B041130610B041130610
B041130610IOSR-JEN
 
Mobile application development process
Mobile application development processMobile application development process
Mobile application development processTalentSmart1
 
Introduction to Android development - Presentation
Introduction to Android development - PresentationIntroduction to Android development - Presentation
Introduction to Android development - PresentationAtul Panjwani
 
demystifying_the_architectures_of_a_mobile_app_development.pdf
demystifying_the_architectures_of_a_mobile_app_development.pdfdemystifying_the_architectures_of_a_mobile_app_development.pdf
demystifying_the_architectures_of_a_mobile_app_development.pdfsarah david
 
Basic android development
Basic android developmentBasic android development
Basic android developmentUpanya Singh
 
Basic android development
Basic android developmentBasic android development
Basic android developmentUpanya Singh
 
mobile application development -unit-3-
mobile application development  -unit-3-mobile application development  -unit-3-
mobile application development -unit-3-TejamFandat
 

Similaire à Android - Day3.pptx (20)

Jaipur Bus Finder - An Android-based Application
Jaipur Bus Finder - An Android-based ApplicationJaipur Bus Finder - An Android-based Application
Jaipur Bus Finder - An Android-based Application
 
Jaipur Bus Finder - An Android-based Application
Jaipur Bus Finder - An Android-based ApplicationJaipur Bus Finder - An Android-based Application
Jaipur Bus Finder - An Android-based Application
 
DEVELOPING CUSTOM APPS USING DYNAMIC XML PARSING
DEVELOPING CUSTOM APPS USING DYNAMIC XML PARSINGDEVELOPING CUSTOM APPS USING DYNAMIC XML PARSING
DEVELOPING CUSTOM APPS USING DYNAMIC XML PARSING
 
Notes Unit3.pptx
Notes Unit3.pptxNotes Unit3.pptx
Notes Unit3.pptx
 
Android ui with xml
Android ui with xmlAndroid ui with xml
Android ui with xml
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
 
Sample_report_for_MINI_PROJECT.docx (1).pdf
Sample_report_for_MINI_PROJECT.docx (1).pdfSample_report_for_MINI_PROJECT.docx (1).pdf
Sample_report_for_MINI_PROJECT.docx (1).pdf
 
Android app development
Android app developmentAndroid app development
Android app development
 
Compose camp 4.pptx
Compose camp 4.pptxCompose camp 4.pptx
Compose camp 4.pptx
 
Neha
NehaNeha
Neha
 
Android Development : (Android Studio, PHP, XML, MySQL)
Android Development : (Android Studio, PHP, XML, MySQL)Android Development : (Android Studio, PHP, XML, MySQL)
Android Development : (Android Studio, PHP, XML, MySQL)
 
Mobile Application Development
Mobile Application DevelopmentMobile Application Development
Mobile Application Development
 
B041130610
B041130610B041130610
B041130610
 
Mobile application development process
Mobile application development processMobile application development process
Mobile application development process
 
SmartVision Android App
SmartVision Android AppSmartVision Android App
SmartVision Android App
 
Introduction to Android development - Presentation
Introduction to Android development - PresentationIntroduction to Android development - Presentation
Introduction to Android development - Presentation
 
demystifying_the_architectures_of_a_mobile_app_development.pdf
demystifying_the_architectures_of_a_mobile_app_development.pdfdemystifying_the_architectures_of_a_mobile_app_development.pdf
demystifying_the_architectures_of_a_mobile_app_development.pdf
 
Basic android development
Basic android developmentBasic android development
Basic android development
 
Basic android development
Basic android developmentBasic android development
Basic android development
 
mobile application development -unit-3-
mobile application development  -unit-3-mobile application development  -unit-3-
mobile application development -unit-3-
 

Dernier

Film show production powerpoint for site
Film show production powerpoint for siteFilm show production powerpoint for site
Film show production powerpoint for siteAshtonCains
 
Call Girls In Noida Mall Of Noida O9654467111 Escorts Serviec
Call Girls In Noida Mall Of Noida O9654467111 Escorts ServiecCall Girls In Noida Mall Of Noida O9654467111 Escorts Serviec
Call Girls In Noida Mall Of Noida O9654467111 Escorts ServiecSapana Sha
 
Interpreting the brief for the media IDY
Interpreting the brief for the media IDYInterpreting the brief for the media IDY
Interpreting the brief for the media IDYgalaxypingy
 
Your LinkedIn Makeover: Sociocosmos Presence Package
Your LinkedIn Makeover: Sociocosmos Presence PackageYour LinkedIn Makeover: Sociocosmos Presence Package
Your LinkedIn Makeover: Sociocosmos Presence PackageSocioCosmos
 
GREAT OPORTUNITY Russian Call Girls Kirti Nagar 9711199012 Independent Escort...
GREAT OPORTUNITY Russian Call Girls Kirti Nagar 9711199012 Independent Escort...GREAT OPORTUNITY Russian Call Girls Kirti Nagar 9711199012 Independent Escort...
GREAT OPORTUNITY Russian Call Girls Kirti Nagar 9711199012 Independent Escort...Mona Rathore
 
Night 7k Call Girls Atta Market Escorts Call Me: 8448380779
Night 7k Call Girls Atta Market Escorts Call Me: 8448380779Night 7k Call Girls Atta Market Escorts Call Me: 8448380779
Night 7k Call Girls Atta Market Escorts Call Me: 8448380779Delhi Call girls
 
Stunning ➥8448380779▻ Call Girls In Paharganj Delhi NCR
Stunning ➥8448380779▻ Call Girls In Paharganj Delhi NCRStunning ➥8448380779▻ Call Girls In Paharganj Delhi NCR
Stunning ➥8448380779▻ Call Girls In Paharganj Delhi NCRDelhi Call girls
 
Codes and Conventions of Artists' Websites
Codes and Conventions of Artists' WebsitesCodes and Conventions of Artists' Websites
Codes and Conventions of Artists' WebsitesLukeNash7
 
This is a Powerpoint about research into the codes and conventions of a film ...
This is a Powerpoint about research into the codes and conventions of a film ...This is a Powerpoint about research into the codes and conventions of a film ...
This is a Powerpoint about research into the codes and conventions of a film ...samuelcoulson30
 
CASH PAYMENT ON GIRL HAND TO HAND HOUSEWIFE
CASH PAYMENT ON GIRL HAND TO HAND HOUSEWIFECASH PAYMENT ON GIRL HAND TO HAND HOUSEWIFE
CASH PAYMENT ON GIRL HAND TO HAND HOUSEWIFECall girl Jaipur
 
Night 7k Call Girls Pari Chowk Escorts Call Me: 8448380779
Night 7k Call Girls Pari Chowk Escorts Call Me: 8448380779Night 7k Call Girls Pari Chowk Escorts Call Me: 8448380779
Night 7k Call Girls Pari Chowk Escorts Call Me: 8448380779Delhi Call girls
 
Call^ Girls Delhi Independent girls Chanakyapuri 9711199012 Call Me
Call^ Girls Delhi Independent girls Chanakyapuri 9711199012 Call MeCall^ Girls Delhi Independent girls Chanakyapuri 9711199012 Call Me
Call^ Girls Delhi Independent girls Chanakyapuri 9711199012 Call MeMs Riya
 
CALL ON ➥8923113531 🔝Call Girls Takrohi Lucknow best Female service 👖
CALL ON ➥8923113531 🔝Call Girls Takrohi Lucknow best Female service  👖CALL ON ➥8923113531 🔝Call Girls Takrohi Lucknow best Female service  👖
CALL ON ➥8923113531 🔝Call Girls Takrohi Lucknow best Female service 👖anilsa9823
 
CALL ON ➥8923113531 🔝Call Girls Ashiyana Colony Lucknow best sexual service O...
CALL ON ➥8923113531 🔝Call Girls Ashiyana Colony Lucknow best sexual service O...CALL ON ➥8923113531 🔝Call Girls Ashiyana Colony Lucknow best sexual service O...
CALL ON ➥8923113531 🔝Call Girls Ashiyana Colony Lucknow best sexual service O...anilsa9823
 
SELECTING A SOCIAL MEDIA MARKETING COMPANY
SELECTING A SOCIAL MEDIA MARKETING COMPANYSELECTING A SOCIAL MEDIA MARKETING COMPANY
SELECTING A SOCIAL MEDIA MARKETING COMPANYdizinfo
 
Film show investigation powerpoint for the site
Film show investigation powerpoint for the siteFilm show investigation powerpoint for the site
Film show investigation powerpoint for the siteAshtonCains
 

Dernier (20)

Film show production powerpoint for site
Film show production powerpoint for siteFilm show production powerpoint for site
Film show production powerpoint for site
 
Call Girls In Noida Mall Of Noida O9654467111 Escorts Serviec
Call Girls In Noida Mall Of Noida O9654467111 Escorts ServiecCall Girls In Noida Mall Of Noida O9654467111 Escorts Serviec
Call Girls In Noida Mall Of Noida O9654467111 Escorts Serviec
 
Interpreting the brief for the media IDY
Interpreting the brief for the media IDYInterpreting the brief for the media IDY
Interpreting the brief for the media IDY
 
Your LinkedIn Makeover: Sociocosmos Presence Package
Your LinkedIn Makeover: Sociocosmos Presence PackageYour LinkedIn Makeover: Sociocosmos Presence Package
Your LinkedIn Makeover: Sociocosmos Presence Package
 
GREAT OPORTUNITY Russian Call Girls Kirti Nagar 9711199012 Independent Escort...
GREAT OPORTUNITY Russian Call Girls Kirti Nagar 9711199012 Independent Escort...GREAT OPORTUNITY Russian Call Girls Kirti Nagar 9711199012 Independent Escort...
GREAT OPORTUNITY Russian Call Girls Kirti Nagar 9711199012 Independent Escort...
 
Russian Call Girls Rohini Sector 35 💓 Delhi 9999965857 @Sabina Modi VVIP MODE...
Russian Call Girls Rohini Sector 35 💓 Delhi 9999965857 @Sabina Modi VVIP MODE...Russian Call Girls Rohini Sector 35 💓 Delhi 9999965857 @Sabina Modi VVIP MODE...
Russian Call Girls Rohini Sector 35 💓 Delhi 9999965857 @Sabina Modi VVIP MODE...
 
Night 7k Call Girls Atta Market Escorts Call Me: 8448380779
Night 7k Call Girls Atta Market Escorts Call Me: 8448380779Night 7k Call Girls Atta Market Escorts Call Me: 8448380779
Night 7k Call Girls Atta Market Escorts Call Me: 8448380779
 
Stunning ➥8448380779▻ Call Girls In Paharganj Delhi NCR
Stunning ➥8448380779▻ Call Girls In Paharganj Delhi NCRStunning ➥8448380779▻ Call Girls In Paharganj Delhi NCR
Stunning ➥8448380779▻ Call Girls In Paharganj Delhi NCR
 
Bicycle Safety in Focus: Preventing Fatalities and Seeking Justice
Bicycle Safety in Focus: Preventing Fatalities and Seeking JusticeBicycle Safety in Focus: Preventing Fatalities and Seeking Justice
Bicycle Safety in Focus: Preventing Fatalities and Seeking Justice
 
Codes and Conventions of Artists' Websites
Codes and Conventions of Artists' WebsitesCodes and Conventions of Artists' Websites
Codes and Conventions of Artists' Websites
 
Russian Call Girls Rohini Sector 37 💓 Delhi 9999965857 @Sabina Modi VVIP MODE...
Russian Call Girls Rohini Sector 37 💓 Delhi 9999965857 @Sabina Modi VVIP MODE...Russian Call Girls Rohini Sector 37 💓 Delhi 9999965857 @Sabina Modi VVIP MODE...
Russian Call Girls Rohini Sector 37 💓 Delhi 9999965857 @Sabina Modi VVIP MODE...
 
This is a Powerpoint about research into the codes and conventions of a film ...
This is a Powerpoint about research into the codes and conventions of a film ...This is a Powerpoint about research into the codes and conventions of a film ...
This is a Powerpoint about research into the codes and conventions of a film ...
 
CASH PAYMENT ON GIRL HAND TO HAND HOUSEWIFE
CASH PAYMENT ON GIRL HAND TO HAND HOUSEWIFECASH PAYMENT ON GIRL HAND TO HAND HOUSEWIFE
CASH PAYMENT ON GIRL HAND TO HAND HOUSEWIFE
 
Night 7k Call Girls Pari Chowk Escorts Call Me: 8448380779
Night 7k Call Girls Pari Chowk Escorts Call Me: 8448380779Night 7k Call Girls Pari Chowk Escorts Call Me: 8448380779
Night 7k Call Girls Pari Chowk Escorts Call Me: 8448380779
 
Call^ Girls Delhi Independent girls Chanakyapuri 9711199012 Call Me
Call^ Girls Delhi Independent girls Chanakyapuri 9711199012 Call MeCall^ Girls Delhi Independent girls Chanakyapuri 9711199012 Call Me
Call^ Girls Delhi Independent girls Chanakyapuri 9711199012 Call Me
 
CALL ON ➥8923113531 🔝Call Girls Takrohi Lucknow best Female service 👖
CALL ON ➥8923113531 🔝Call Girls Takrohi Lucknow best Female service  👖CALL ON ➥8923113531 🔝Call Girls Takrohi Lucknow best Female service  👖
CALL ON ➥8923113531 🔝Call Girls Takrohi Lucknow best Female service 👖
 
CALL ON ➥8923113531 🔝Call Girls Ashiyana Colony Lucknow best sexual service O...
CALL ON ➥8923113531 🔝Call Girls Ashiyana Colony Lucknow best sexual service O...CALL ON ➥8923113531 🔝Call Girls Ashiyana Colony Lucknow best sexual service O...
CALL ON ➥8923113531 🔝Call Girls Ashiyana Colony Lucknow best sexual service O...
 
Vip Call Girls Tilak Nagar ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Tilak Nagar ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Tilak Nagar ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Tilak Nagar ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
SELECTING A SOCIAL MEDIA MARKETING COMPANY
SELECTING A SOCIAL MEDIA MARKETING COMPANYSELECTING A SOCIAL MEDIA MARKETING COMPANY
SELECTING A SOCIAL MEDIA MARKETING COMPANY
 
Film show investigation powerpoint for the site
Film show investigation powerpoint for the siteFilm show investigation powerpoint for the site
Film show investigation powerpoint for the site
 

Android - Day3.pptx

  • 1. Presentation by Mrs.P.V.Kavitha Assistant Professor (Sr.Gr)/ IT SRI RAMAKRISHNA ENGINEERING COLLEGE [Educational Service : SNR Sons Charitable Trust] [Autonomous Institution, Accredited by NAAC with ‘A’ Grade] [Approved by AICTE and Permanently Affiliated to Anna University, Chennai] [ISO 9001:2015 Certified and all Eligible Programmes Accredited by NBA] VATTAMALAIPALAYAM, N.G.G.O. COLONY POST, COIMBATORE – 641 022. 16IT2E43 – ANDROID APPLICATION DEVELOPMENT OPEN ELECTIVE Department of Information Technology
  • 2. Syllabus  Introduction to Mobile Application Development  Mobility Landscape  Mobile Platforms  Mobile App development  Overview of Android platform  Setting up the Mobile App Development along with Emulator  A case study on Mobile App Development 27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 2 MODULE 1 : GETTING STARTED WITH MOBILITY
  • 3. Agenda  Android Project App Structure  Building My First App in Emulator  Building My First App in Mobile Device  Hands-on – Building My First App  UI Resources – Layouts 27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 3
  • 4. App Project Structure 27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 4
  • 5. Exploring the folders and files in the Android App 27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 5 Java Folder ◦ This folder contains the java source code (.java) files created during the application development ◦ MainActivity.java will be created automatically
  • 6. Exploring the folders and files in the Android App res(Resources) Folder ◦ It contains all non-code resources, such as bitmap images, UI strings, XML layouts 27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 6
  • 7. Exploring the folders and files in the Android App Drawable (res/drawable) Folder It contains the different types of images as per the requirement of application Layout folder It contains all XML layout files which we used to define the user interface of our application 27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 7
  • 8. Exploring the folders and files in the Android App Mipmap Folder (res/mipmap) This folder contains app / launcher icons that are used to show on the home screen 27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 8
  • 9. Exploring the folders and files in the Android App Values Folder (res/values) This folder contains various XML files, such as strings, colors, style definitions and a static array of strings or integers 27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 9
  • 10. Exploring the folders and files in the Android App Manifests Folder This folder contains a manifest file (AndroidManifest.xml) for our android application. This manifest file contains information about the application such as android version, access permissions, etc. of the application and its components. The manifest file will act as an intermediate between android OS and our application 27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 10
  • 11. Exploring the folders and files in the Android App Gradle Scripts In android, Gradle means automated build system and by using this we can define a build configuration that applies to all modules in our application In Gradle build.gradle (Project), and build.gradle (Module) files are useful to build configurations that apply to all our app modules or specific to one app module 27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 11
  • 12. Exploring the folders and files in the Android App Android Layout File (activity_main.xml) The UI of our application will be designed in this file and it will contain Design and Text modes. 27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 12
  • 13. Exploring the folders and files in the Android App Android Main Activity File (MainActivity.java) The main activity file in the android application is MainActivity.java and it exists in the java folder The MainActivity.java file contains the java code to handle all the activities related to our app. 27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 13
  • 14. My First Android App in Emulator 27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 14
  • 15. My First Android App in Emulator 27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 15
  • 16. My First Android App in Emulator 27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 16
  • 17. My First Android App in Emulator 27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 17
  • 18. My First Android App in Emulator 27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 18
  • 19. My First Android App in Emulator 27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 19
  • 20. My First Android App in Emulator 27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 20
  • 21. My First Android App in Emulator 27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 21
  • 22. My First Android App in Emulator 27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 22
  • 23. My First Android App in Emulator 27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 23
  • 24. My First Android App in Emulator 27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 24
  • 25. My First Android App in Mobile device ◦ Connect your Mobile device with Laptop using USB cable ◦ Perform the following steps to enable USB debugging in the Developer options window: ◦ Open the Settings app. ◦ If your device uses Android v8.0 or higher, select System. Otherwise, proceed to the next step. ◦ Scroll to the bottom and select About phone. ◦ Scroll to the bottom and tap Build number seven times. ◦ Return to the previous screen, scroll to the bottom, and tap Developer options. ◦ In the Developer options window, scroll down to find and enable USB debugging. ◦ Run the app on your device as follows: ◦ In Android Studio, select your app from the run/debug configurations drop-down menu in the toolbar. ◦ In the toolbar, select the device that you want to run your app on from the target device drop- down menu. 27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 25
  • 26. My First Android App in Mobile device 27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 26
  • 27. UI Layouts Commonly used Attributes of UI Layout: android :id This is the ID which uniquely identifies the layout android : layout_width = match_parent Adjusts the width of the layout to the mobile screen android: layout_height = match_parent Adjusts the height of the layout to the mobile screen android:gravity This specifies how an object should position its content, on both the X and Y axes. Possible values are top, bottom, left, right, center, center_vertical, center_horizontal etc. android:orientation This specifies the direction of arrangement and you will use "horizontal" for a row, "vertical" for a column. The default is horizontal 27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 27
  • 28. UI Controls/Components/Widgets 27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 28 • Input controls are the interactive components in app's user interface • Android provides a wide variety of controls such as buttons, text fields, edit text, check box, radio button, toggle buttons, and many more Some of the UI controls are:
  • 29. UI Controls/Components/Widgets TextView : This control is used to display text to the user EditText : This control is used to get the input from the user Button : A push-button that can be pressed, or clicked, by the user to perform an action RadioButton: The RadioButton has two states: either checked or unchecked. CheckBox: An on/off switch that can be toggled by the user. You should use check box when presenting users with a group of selectable options that are not mutually exclusive. ToggleButton: An on/off button with a light indicator RadioGroup : A RadioGroup is used to group together one or more RadioButtons ListView: It contains the group of items and displays in a scrollable list 27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 29
  • 30. Event Handling model Event Handling Model Events are a useful way to collect data about a user's interaction with interactive components of applications 27-03-2023 ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 30
  • 31. ANDROID APPLICATION DEVELOPMENT - P.V.KAVITHA 27-03-2023 31