SlideShare a Scribd company logo
1 of 22
ANDROID APP
DEVELOPMENT
WHAT WE WILL LEARN TODAY
What is Android
Android platform overview
Android app fundamentals
What is Android studio
Design using android studio
What we will learn today
 What is android
 Android platform overview
 Android application
 Android app overview
 Android app fundamentals
 App design
 Android studio
What is Android
Android is the world’s most popular and domi nant mobile operating system. It is based on
Linux kernel 3.4/3.10 ( depending on device) and is open-source (with proprietary bits).
It runs on a wide variety of hardware, including smartphones, smart watches, cars,
televisions, digital cameras, game consoles and more. It was founded by Andy Rubin and
three others in October 2003 and got acquired by Google in August 2005.
ANDROID STUDIO
After many releases of ADT plugin for Eclipse, Google decided to build its own IDE for
Android Application Development. In December, 2014 Google released its first stable
build of Android Studio v1.0
From the date of its stable release, Android Studio
has been the official development tool that
supports all Android SDKs for android application
development.
FEATURES OF ANDROID STUDIO
GRADLE
Gradle is a build system, which is responsible for
code compilation, testing, deployment and
conversion of the code into .dex files and hence
running the app on the device.
As Android Studio comes with Gradle system pre-
installed, there is no need to install additional
runtime softwares to build our project. Whenever
you click on Run button in android studio, a gradle
task automatically triggers and starts building the
project and after gradle completes its task, app
starts running in AVD or in the connected device.
API Integration
In Android Studio, various APIs are already configured that can be directly used in
application development. Additional APIs can also be integrated in the Android Studio (see
image below). To add or remove one/more libraries you can click on the Green + and
Red – button on right side of it.
Dynamic Layout View
Layout editor allows drag and drop functionality to build user interface same as Eclipse.
Additionally it also provides with a preview of the UI while you edit the XML.
Build in Samples
Developers get readymade code samples available which can be used directly
for practicing and app development.
Version Control
Android Studio has Github and Bitbucket already integrated in it. So your code can
directly be pushed to online repositories like Github or BitBucket through Android Studio.
Cloud Integration and Firebase
With the Google App Engine you can connect to the different Google Cloud services
with minimum effort straight from the Android Studio. And by using the Firebase
Assistant you can easily connect to Firebase to use its quick Authentication,
Notification and other features.
Documentation View
For every suggested class, interface or code, you can refer its documentation to
get more help in a separate popup window in the code editor itself.
Views
View is the basic building block of UI(User Interface) in android. View refers to the
android.view.View class, which is the super class for all the GUI components like
TextView, ImageView, Button etc.
Commonly used android views
1. TextView
2. EditText
3. Button
4. ImageView
5. ImageButton
6. CheckBox
7. RadioButton
8. ListView
9. GridView
10.Toast
Layouts
Android Layouts are used to arrange the views on the device's screen.
ViewGroup is the base class for all the layouts and view containers.
The ViewGroup is the base class for Layouts in android, like LinearLayout, RelativeLayout,
FrameLayout etc.
Commonly used layouts
1. LineraLayout
2. RelativeLayout
3. Web View
4. TabularLayout
5. ListView
6. GridView
Activity
Activity is nothing but a java class in Android which has some pre-defined functions which
are triggered at different App states, which we can override to perform anything we want.
Activity class provides us with empty functions allowing us to be the controller of everything.
There can be multiple Activities in Android, but there can be only one Main Activity. For
example, In Java programming (or programming languages like C or C++), the execution of
the program always begin with main() method. Similarly, when the user presses the App
icon, the Main Activity is called and the execution starts from the onCreate() method of the
Activity class.
Intents
An Intent is a messaging object that you can use to request an action from an app
component. An Intent is basically an intention to do an action. It's a way to communicate
between Android components to request an action from a component, by different
components.
It's like a message that Android listens for and then react accordingly by identifying and
invoking the app's appropriate component (like an Activity, Service, Content Provider, etc.).
It can be within that same app or some other app as well.
ADVANTAGES
Faster deployment of fresh builds
More accurate programming
Faster programming and Testing
Inclusive app development
Better app indexing
Disadvantages
Gradle building is slow
Parsing is slow
It causes sync error
It wasn’t built from scratch
Gradle sync failed : broken pipe
Conclusion
References
https://developer.ibm.com/articles/os-android-devel/
https://www.studytonight.com/android
https://developer.android.com/studio
QUERIES??
Android

More Related Content

What's hot

Useful android developer tools to get associated with
Useful android developer tools to get associated with Useful android developer tools to get associated with
Useful android developer tools to get associated with iMOBDEV Technologies Pvt. Ltd.
 
Android studio 4.0 new features preview
Android studio 4.0 new features previewAndroid studio 4.0 new features preview
Android studio 4.0 new features previewConcetto Labs
 
Day: 2 Environment Setup for Android Application Development
Day: 2 Environment Setup for Android Application DevelopmentDay: 2 Environment Setup for Android Application Development
Day: 2 Environment Setup for Android Application DevelopmentAhsanul Karim
 
Android development session 5 - Debug android studio
Android development   session 5 - Debug android studioAndroid development   session 5 - Debug android studio
Android development session 5 - Debug android studioFarabi Technology Middle East
 
Google flutter app development
Google flutter app developmentGoogle flutter app development
Google flutter app developmentMarie Weaver
 
Questions About Android Application Development
Questions About Android Application DevelopmentQuestions About Android Application Development
Questions About Android Application DevelopmentAdeel Rasheed
 
Flutter technology Based on Web Development
Flutter technology Based on Web Development Flutter technology Based on Web Development
Flutter technology Based on Web Development divyawani2
 
Android Development Training
Android Development TrainingAndroid Development Training
Android Development Trainingchandutata
 
Flutter single codebase to build your dream application for i os and android
Flutter single codebase to build your dream application for i os and android Flutter single codebase to build your dream application for i os and android
Flutter single codebase to build your dream application for i os and android Heli Thakkar
 
Creating the first app with android studio
Creating the first app with android studioCreating the first app with android studio
Creating the first app with android studioParinita03
 
Ui layout (incomplete)
Ui layout (incomplete)Ui layout (incomplete)
Ui layout (incomplete)Ahsanul Karim
 
Day1 before getting_started
Day1 before getting_startedDay1 before getting_started
Day1 before getting_startedAhsanul Karim
 
Android Studio Overview
Android Studio OverviewAndroid Studio Overview
Android Studio OverviewSalim Hosen
 
Day 2 android internals a quick overview
Day 2 android internals a quick overviewDay 2 android internals a quick overview
Day 2 android internals a quick overviewAhsanul Karim
 
Mobile Programming - 1 Introduction
Mobile Programming - 1 IntroductionMobile Programming - 1 Introduction
Mobile Programming - 1 IntroductionAndiNurkholis1
 

What's hot (20)

Useful android developer tools to get associated with
Useful android developer tools to get associated with Useful android developer tools to get associated with
Useful android developer tools to get associated with
 
Android studio 4.0 new features preview
Android studio 4.0 new features previewAndroid studio 4.0 new features preview
Android studio 4.0 new features preview
 
Day: 2 Environment Setup for Android Application Development
Day: 2 Environment Setup for Android Application DevelopmentDay: 2 Environment Setup for Android Application Development
Day: 2 Environment Setup for Android Application Development
 
Android development session 5 - Debug android studio
Android development   session 5 - Debug android studioAndroid development   session 5 - Debug android studio
Android development session 5 - Debug android studio
 
Google flutter app development
Google flutter app developmentGoogle flutter app development
Google flutter app development
 
Questions About Android Application Development
Questions About Android Application DevelopmentQuestions About Android Application Development
Questions About Android Application Development
 
Flutter technology Based on Web Development
Flutter technology Based on Web Development Flutter technology Based on Web Development
Flutter technology Based on Web Development
 
Android
AndroidAndroid
Android
 
Android Development Training
Android Development TrainingAndroid Development Training
Android Development Training
 
Flutter single codebase to build your dream application for i os and android
Flutter single codebase to build your dream application for i os and android Flutter single codebase to build your dream application for i os and android
Flutter single codebase to build your dream application for i os and android
 
Creating the first app with android studio
Creating the first app with android studioCreating the first app with android studio
Creating the first app with android studio
 
Ui layout (incomplete)
Ui layout (incomplete)Ui layout (incomplete)
Ui layout (incomplete)
 
Day1 before getting_started
Day1 before getting_startedDay1 before getting_started
Day1 before getting_started
 
Android Studio Overview
Android Studio OverviewAndroid Studio Overview
Android Studio Overview
 
Day 2 android internals a quick overview
Day 2 android internals a quick overviewDay 2 android internals a quick overview
Day 2 android internals a quick overview
 
Flutter
FlutterFlutter
Flutter
 
Flutter vs not flutter
Flutter vs not flutterFlutter vs not flutter
Flutter vs not flutter
 
Android session 1
Android session 1Android session 1
Android session 1
 
Mobile Programming - 1 Introduction
Mobile Programming - 1 IntroductionMobile Programming - 1 Introduction
Mobile Programming - 1 Introduction
 
Android 1.8 sensor
Android 1.8 sensorAndroid 1.8 sensor
Android 1.8 sensor
 

Similar to Android

Best Frameworks for Android App Development in 2022.pdf
Best Frameworks for Android App Development in 2022.pdfBest Frameworks for Android App Development in 2022.pdf
Best Frameworks for Android App Development in 2022.pdfMarie Weaver
 
Synopsis on android application
Synopsis on android applicationSynopsis on android application
Synopsis on android applicationJawed akhtar
 
Android apps development
Android apps developmentAndroid apps development
Android apps developmentRaman Pandey
 
Os eclipse-androidwidget-pdf
Os eclipse-androidwidget-pdfOs eclipse-androidwidget-pdf
Os eclipse-androidwidget-pdfweerabahu
 
Android app development ppt
Android app development pptAndroid app development ppt
Android app development pptsaitej15
 
Android development-tutorial
Android development-tutorialAndroid development-tutorial
Android development-tutorialnirajsimulanis
 
Which android app development tools deserve your attention this year
Which android app development tools deserve your attention this year  Which android app development tools deserve your attention this year
Which android app development tools deserve your attention this year Moon Technolabs Pvt. Ltd.
 
Android app development.pdf
Android app development.pdfAndroid app development.pdf
Android app development.pdfAbanti Aazmin
 
Technology and Android.pptx
Technology and Android.pptxTechnology and Android.pptx
Technology and Android.pptxmuthulakshmi cse
 
Latest Android App Development Tools 2019
Latest Android App Development Tools 2019Latest Android App Development Tools 2019
Latest Android App Development Tools 2019Elijahj Williams
 
AN IDE FOR ANDROID MOBILE PHONES WITH EXTENDED FUNCTIONALITIES USING BEST DEV...
AN IDE FOR ANDROID MOBILE PHONES WITH EXTENDED FUNCTIONALITIES USING BEST DEV...AN IDE FOR ANDROID MOBILE PHONES WITH EXTENDED FUNCTIONALITIES USING BEST DEV...
AN IDE FOR ANDROID MOBILE PHONES WITH EXTENDED FUNCTIONALITIES USING BEST DEV...IJCNCJournal
 
report A K Maurya.pdf
report A K Maurya.pdfreport A K Maurya.pdf
report A K Maurya.pdfSonu62614
 
Introduction to Android Development
Introduction to Android DevelopmentIntroduction to Android Development
Introduction to Android DevelopmentProf. Erwin Globio
 
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
 

Similar to Android (20)

Best Frameworks for Android App Development in 2022.pdf
Best Frameworks for Android App Development in 2022.pdfBest Frameworks for Android App Development in 2022.pdf
Best Frameworks for Android App Development in 2022.pdf
 
Synopsis on android application
Synopsis on android applicationSynopsis on android application
Synopsis on android application
 
Android dev o_auth
Android dev o_authAndroid dev o_auth
Android dev o_auth
 
Android Basic- CMC
Android Basic- CMCAndroid Basic- CMC
Android Basic- CMC
 
Android apps development
Android apps developmentAndroid apps development
Android apps development
 
Os eclipse-androidwidget-pdf
Os eclipse-androidwidget-pdfOs eclipse-androidwidget-pdf
Os eclipse-androidwidget-pdf
 
Android app development ppt
Android app development pptAndroid app development ppt
Android app development ppt
 
Android development-tutorial
Android development-tutorialAndroid development-tutorial
Android development-tutorial
 
Android app development
Android app developmentAndroid app development
Android app development
 
Android app development Beginners Guide
Android app development Beginners GuideAndroid app development Beginners Guide
Android app development Beginners Guide
 
Which android app development tools deserve your attention this year
Which android app development tools deserve your attention this year  Which android app development tools deserve your attention this year
Which android app development tools deserve your attention this year
 
Android app development.pdf
Android app development.pdfAndroid app development.pdf
Android app development.pdf
 
Technology and Android.pptx
Technology and Android.pptxTechnology and Android.pptx
Technology and Android.pptx
 
Latest Android App Development Tools 2019
Latest Android App Development Tools 2019Latest Android App Development Tools 2019
Latest Android App Development Tools 2019
 
Android Introduction
Android IntroductionAndroid Introduction
Android Introduction
 
AN IDE FOR ANDROID MOBILE PHONES WITH EXTENDED FUNCTIONALITIES USING BEST DEV...
AN IDE FOR ANDROID MOBILE PHONES WITH EXTENDED FUNCTIONALITIES USING BEST DEV...AN IDE FOR ANDROID MOBILE PHONES WITH EXTENDED FUNCTIONALITIES USING BEST DEV...
AN IDE FOR ANDROID MOBILE PHONES WITH EXTENDED FUNCTIONALITIES USING BEST DEV...
 
report A K Maurya.pdf
report A K Maurya.pdfreport A K Maurya.pdf
report A K Maurya.pdf
 
Getting started with android studio
Getting started with android studioGetting started with android studio
Getting started with android studio
 
Introduction to Android Development
Introduction to Android DevelopmentIntroduction to Android Development
Introduction to Android Development
 
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
 

Recently uploaded

Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Andreas Granig
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based projectAnoyGreter
 
software engineering Chapter 5 System modeling.pptx
software engineering Chapter 5 System modeling.pptxsoftware engineering Chapter 5 System modeling.pptx
software engineering Chapter 5 System modeling.pptxnada99848
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureDinusha Kumarasiri
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfPower Karaoke
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfAlina Yurenko
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaHanief Utama
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 

Recently uploaded (20)

Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based project
 
software engineering Chapter 5 System modeling.pptx
software engineering Chapter 5 System modeling.pptxsoftware engineering Chapter 5 System modeling.pptx
software engineering Chapter 5 System modeling.pptx
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdf
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort ServiceHot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 

Android

  • 2. WHAT WE WILL LEARN TODAY What is Android Android platform overview Android app fundamentals What is Android studio Design using android studio What we will learn today  What is android  Android platform overview  Android application  Android app overview  Android app fundamentals  App design  Android studio
  • 3. What is Android Android is the world’s most popular and domi nant mobile operating system. It is based on Linux kernel 3.4/3.10 ( depending on device) and is open-source (with proprietary bits). It runs on a wide variety of hardware, including smartphones, smart watches, cars, televisions, digital cameras, game consoles and more. It was founded by Andy Rubin and three others in October 2003 and got acquired by Google in August 2005.
  • 4. ANDROID STUDIO After many releases of ADT plugin for Eclipse, Google decided to build its own IDE for Android Application Development. In December, 2014 Google released its first stable build of Android Studio v1.0 From the date of its stable release, Android Studio has been the official development tool that supports all Android SDKs for android application development.
  • 5. FEATURES OF ANDROID STUDIO GRADLE Gradle is a build system, which is responsible for code compilation, testing, deployment and conversion of the code into .dex files and hence running the app on the device. As Android Studio comes with Gradle system pre- installed, there is no need to install additional runtime softwares to build our project. Whenever you click on Run button in android studio, a gradle task automatically triggers and starts building the project and after gradle completes its task, app starts running in AVD or in the connected device.
  • 6. API Integration In Android Studio, various APIs are already configured that can be directly used in application development. Additional APIs can also be integrated in the Android Studio (see image below). To add or remove one/more libraries you can click on the Green + and Red – button on right side of it.
  • 7. Dynamic Layout View Layout editor allows drag and drop functionality to build user interface same as Eclipse. Additionally it also provides with a preview of the UI while you edit the XML.
  • 8. Build in Samples Developers get readymade code samples available which can be used directly for practicing and app development.
  • 9. Version Control Android Studio has Github and Bitbucket already integrated in it. So your code can directly be pushed to online repositories like Github or BitBucket through Android Studio. Cloud Integration and Firebase With the Google App Engine you can connect to the different Google Cloud services with minimum effort straight from the Android Studio. And by using the Firebase Assistant you can easily connect to Firebase to use its quick Authentication, Notification and other features. Documentation View For every suggested class, interface or code, you can refer its documentation to get more help in a separate popup window in the code editor itself.
  • 10. Views View is the basic building block of UI(User Interface) in android. View refers to the android.view.View class, which is the super class for all the GUI components like TextView, ImageView, Button etc. Commonly used android views 1. TextView 2. EditText 3. Button 4. ImageView 5. ImageButton 6. CheckBox 7. RadioButton 8. ListView 9. GridView 10.Toast
  • 11.
  • 12. Layouts Android Layouts are used to arrange the views on the device's screen. ViewGroup is the base class for all the layouts and view containers. The ViewGroup is the base class for Layouts in android, like LinearLayout, RelativeLayout, FrameLayout etc. Commonly used layouts 1. LineraLayout 2. RelativeLayout 3. Web View 4. TabularLayout 5. ListView 6. GridView
  • 13. Activity Activity is nothing but a java class in Android which has some pre-defined functions which are triggered at different App states, which we can override to perform anything we want. Activity class provides us with empty functions allowing us to be the controller of everything. There can be multiple Activities in Android, but there can be only one Main Activity. For example, In Java programming (or programming languages like C or C++), the execution of the program always begin with main() method. Similarly, when the user presses the App icon, the Main Activity is called and the execution starts from the onCreate() method of the Activity class.
  • 14.
  • 15. Intents An Intent is a messaging object that you can use to request an action from an app component. An Intent is basically an intention to do an action. It's a way to communicate between Android components to request an action from a component, by different components. It's like a message that Android listens for and then react accordingly by identifying and invoking the app's appropriate component (like an Activity, Service, Content Provider, etc.). It can be within that same app or some other app as well.
  • 16.
  • 17. ADVANTAGES Faster deployment of fresh builds More accurate programming Faster programming and Testing Inclusive app development Better app indexing
  • 18. Disadvantages Gradle building is slow Parsing is slow It causes sync error It wasn’t built from scratch Gradle sync failed : broken pipe