SlideShare a Scribd company logo
Mobile Application
Development
with ANDROID
Agenda
• Mobile Application Development (MAD)
• Intro to Android platform
• Platform architecture
• Application Framework & API
• Application building blocks
• Development tools
• Hello Android
• Porting application to Mobile
Few reasons to go MAD. . .
• Smart Phones
– Internet access anywhere
– Social networking
– GPS and Google Maps
• Millions of mobile users
• Open standards
Introduction to Android
• Open software platform for mobile
development
• A complete stack – OS, Middleware,
Applications
• An Open Handset Alliance (OHA) project
• Powered by Linux operating system
• Fast application development in Java
• Open source under the Apache 2 license
Mobile application development
Android APIs
❑ android.util
❑ android.os
❑ android.graphics
❑ android.text
❑ android.database
❑ android.content
❑ android.view
❑ android.widget
❑ com.google.android.maps
android.app
❑ android.telephony
❑ android.webkit
Application building blocks
• Activity
• IntentReceiver
• Service
• ContentProvider
Activities
• Typically correspond to one UI screen
• But, they can:
– Be faceless
– Be in a floating window
– Return a value
– Activity refers to (J)Frame in Swing
Intents
• Think of Intents as a verb and object; a
description of what you want done
– E.g. VIEW, CALL, PLAY etc..
• System matches Intent with Activity that
can best provide the service
• Activities and IntentReceivers describe
what Intents they can service
Intent Recievers
• Components that respond to broadcast
‘Intents’
• Way to respond to external notification or
alarms
• Apps can invent and broadcast their own
Intent
Services
• Faceless components that run in the
background
– E.g. music player, network download etc…
ContentProviders
• Enables sharing of data across
applications
– E.g. address book, photo gallery
• Provides uniform APIs for:
– querying
– delete, update and insert.
• Content is represented by URI and MIME
type
Android User Interfaces
Hierarchy of Screen ElementsDifferent Layouts
▪Linear Layout
▪Absolute Layout
▪Table Layout
Comparing Android UI Elements to
Swing UI Elements
Comparing Android UI Elements to Swing UI Elements
❑Activities in Android refers almost to a (J)Frame in Swing.
❑Views in Android refers to (J)Components in Swing.
❑TextViews in Android refers to a (J)Labels in Swing.
❑EditTexts in Android refers to a (J)TextFields in Swing.
❑Buttons in Android refers to a (J)Buttons in Swing.
AndroidManfest.xml
<manifest>
This is the root node of each AndroisManifest.xml. It contains the package-
attribute, which points to any package in out Activity. Other Activities-path
will base relative to its value.
<application>
Root element containing declarations of the application-level components
contained in the package. This element can also include global and/or default
attributes for the application, such as a label, icon,theme, required permission,
etc.Quantity: 0 or 1.
<activity>
An Activity is the primary thing for an application to interact with the user. The initial
screen the user sees when launching an application is an activity, and most other
screens they use will be implemented as separate activities declared with additional
activity tags.
<intent-filter>
Declares what kind of Intents a component supports. In addition to the
various kinds of values that can be specified under this element, attributes
can be given here to supply a unique label, icon, and other information for
the action being described.
<action>
An action-type that the component supports. Example:
.
<category>
A category-type that the component supports. Example:
Some other Tags Available……
<meta-data>
<receiver>
<service>
<provider>
Application Development Steps
• Download and Install the Android SDK and
Test the Emulator.
• Installing JDK and JRE(1.5 or above)
• Install Eclipse.
• Install ADT plugin for Eclipse
Creating HelloWorld
Application
Application development contd.,
New > Project…
➢Select Android project in wizard menu
Application development contd.,
Application development contd.,
Main Activity>>
Main.xml>>
Application development contd.,
AndroidManifest.xml>>
Application development contd.,
>>Running Your First Application
Application development contd.,
Output in the emulator
Application development contd.,
Uis using Java way
Porting Applications to
Mobile
• Resource files are bundled to .apk file
archive
• Bundled by aapt tool
• One .apk file archive is a Single
application
Interesting things to do
• Android is open source
• Opportunities for researchers
• Get the source, compile and update the
device image
Thank You
Queries

More Related Content

PPTX
Introduction to Network and System Administration
PPTX
Mobile Application Development Process
PDF
Introduction to Mobile Application Development
PPTX
Mobile Application Development: Hybrid, Native and Mobile Web Apps
DOCX
NE7012- SOCIAL NETWORK ANALYSIS
PPTX
Introduction to Android and Android Studio
PPTX
OOP Introduction with java programming language
PPTX
Mining Data Streams
Introduction to Network and System Administration
Mobile Application Development Process
Introduction to Mobile Application Development
Mobile Application Development: Hybrid, Native and Mobile Web Apps
NE7012- SOCIAL NETWORK ANALYSIS
Introduction to Android and Android Studio
OOP Introduction with java programming language
Mining Data Streams

What's hot (20)

PPT
Android - Android Intent Types
PPTX
Introduction To Mobile Application Development
PDF
Introduction to Android Development
PPTX
Basic android-ppt
PPT
android activity
PPTX
Mobile Application Development Services-MobileApptelligence
PDF
Android fundamentals and tutorial for beginners
PDF
Android: Intent, Intent Filter, Broadcast Receivers
PDF
Intents in Android
PPT
Introduction to Android
PPTX
Android ppt
PPTX
Role of java in android app development
PPT
Android ppt
PPTX
Android application development ppt
PPT
Android Application Development Using Java
PPTX
Android User Interface
PPTX
Introduction to java
PDF
Android media
PPT
Data Storage In Android
PPTX
Flutter Intro
Android - Android Intent Types
Introduction To Mobile Application Development
Introduction to Android Development
Basic android-ppt
android activity
Mobile Application Development Services-MobileApptelligence
Android fundamentals and tutorial for beginners
Android: Intent, Intent Filter, Broadcast Receivers
Intents in Android
Introduction to Android
Android ppt
Role of java in android app development
Android ppt
Android application development ppt
Android Application Development Using Java
Android User Interface
Introduction to java
Android media
Data Storage In Android
Flutter Intro
Ad

Similar to Mobile application development (20)

PPT
Mobile Application Development With Android
ODP
Java Meetup - 12-03-15 - Android Development Workshop
PPTX
Introduction to Android Development
PPTX
Getting started with android programming
PDF
Android Development Tutorial
PPTX
Intro to android (gdays)
PPT
Unit I- ANDROID OVERVIEW.ppt
PDF
Android development first steps
PDF
Android application development
PDF
Os eclipse-androidwidget-pdf
PPTX
01. Introduction to Android_lecture1.pptx
PPT
Introduction to Android Development
PPTX
Seminar on android app development
PPTX
Introduction to android mobile app development.pptx
PDF
Android dev o_auth
PPTX
Google Developer Group(GDG) DevFest Event 2012 Android talk
PPTX
Chapter 1- Mobile Application Development Introduction-java.pptx
PPT
Lecture 1 Android Application Development.ppt
PPT
Part 2 android application development 101
PDF
Android App Development Overview- HKInfoway Technologies.pdf
Mobile Application Development With Android
Java Meetup - 12-03-15 - Android Development Workshop
Introduction to Android Development
Getting started with android programming
Android Development Tutorial
Intro to android (gdays)
Unit I- ANDROID OVERVIEW.ppt
Android development first steps
Android application development
Os eclipse-androidwidget-pdf
01. Introduction to Android_lecture1.pptx
Introduction to Android Development
Seminar on android app development
Introduction to android mobile app development.pptx
Android dev o_auth
Google Developer Group(GDG) DevFest Event 2012 Android talk
Chapter 1- Mobile Application Development Introduction-java.pptx
Lecture 1 Android Application Development.ppt
Part 2 android application development 101
Android App Development Overview- HKInfoway Technologies.pdf
Ad

More from umesh patil (20)

PPTX
Ccna security
PPTX
Array in c language
PPTX
Array in c language
PPTX
Jquery Preparation
PPTX
Cloud computing
PPT
Static and dynamic polymorphism
PPTX
Introduction to asp .net
PPTX
C language
PPTX
Html and css presentation
PPTX
Html Presentation
PPTX
Cloud computing
PPT
Oops and c fundamentals
PPT
Java script
PPTX
Function in c program
PPTX
css and wordpress
PPTX
css and wordpress
PPTX
Php vs asp
PPTX
Ccna security
PPT
Cloud computing
PPTX
Cloud computing
Ccna security
Array in c language
Array in c language
Jquery Preparation
Cloud computing
Static and dynamic polymorphism
Introduction to asp .net
C language
Html and css presentation
Html Presentation
Cloud computing
Oops and c fundamentals
Java script
Function in c program
css and wordpress
css and wordpress
Php vs asp
Ccna security
Cloud computing
Cloud computing

Recently uploaded (20)

PPTX
OOP with Java - Java Introduction (Basics)
PPTX
Lesson 3_Tessellation.pptx finite Mathematics
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
bas. eng. economics group 4 presentation 1.pptx
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PDF
Well-logging-methods_new................
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PDF
Digital Logic Computer Design lecture notes
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPTX
Internet of Things (IOT) - A guide to understanding
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
Geodesy 1.pptx...............................................
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
OOP with Java - Java Introduction (Basics)
Lesson 3_Tessellation.pptx finite Mathematics
Embodied AI: Ushering in the Next Era of Intelligent Systems
bas. eng. economics group 4 presentation 1.pptx
Operating System & Kernel Study Guide-1 - converted.pdf
Well-logging-methods_new................
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
Digital Logic Computer Design lecture notes
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Model Code of Practice - Construction Work - 21102022 .pdf
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
Internet of Things (IOT) - A guide to understanding
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Geodesy 1.pptx...............................................
Foundation to blockchain - A guide to Blockchain Tech
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk

Mobile application development

  • 2. Agenda • Mobile Application Development (MAD) • Intro to Android platform • Platform architecture • Application Framework & API • Application building blocks • Development tools • Hello Android • Porting application to Mobile
  • 3. Few reasons to go MAD. . . • Smart Phones – Internet access anywhere – Social networking – GPS and Google Maps • Millions of mobile users • Open standards
  • 4. Introduction to Android • Open software platform for mobile development • A complete stack – OS, Middleware, Applications • An Open Handset Alliance (OHA) project • Powered by Linux operating system • Fast application development in Java • Open source under the Apache 2 license
  • 6. Android APIs ❑ android.util ❑ android.os ❑ android.graphics ❑ android.text ❑ android.database ❑ android.content ❑ android.view ❑ android.widget ❑ com.google.android.maps android.app ❑ android.telephony ❑ android.webkit
  • 7. Application building blocks • Activity • IntentReceiver • Service • ContentProvider
  • 8. Activities • Typically correspond to one UI screen • But, they can: – Be faceless – Be in a floating window – Return a value – Activity refers to (J)Frame in Swing
  • 9. Intents • Think of Intents as a verb and object; a description of what you want done – E.g. VIEW, CALL, PLAY etc.. • System matches Intent with Activity that can best provide the service • Activities and IntentReceivers describe what Intents they can service
  • 10. Intent Recievers • Components that respond to broadcast ‘Intents’ • Way to respond to external notification or alarms • Apps can invent and broadcast their own Intent
  • 11. Services • Faceless components that run in the background – E.g. music player, network download etc…
  • 12. ContentProviders • Enables sharing of data across applications – E.g. address book, photo gallery • Provides uniform APIs for: – querying – delete, update and insert. • Content is represented by URI and MIME type
  • 13. Android User Interfaces Hierarchy of Screen ElementsDifferent Layouts ▪Linear Layout ▪Absolute Layout ▪Table Layout
  • 14. Comparing Android UI Elements to Swing UI Elements Comparing Android UI Elements to Swing UI Elements ❑Activities in Android refers almost to a (J)Frame in Swing. ❑Views in Android refers to (J)Components in Swing. ❑TextViews in Android refers to a (J)Labels in Swing. ❑EditTexts in Android refers to a (J)TextFields in Swing. ❑Buttons in Android refers to a (J)Buttons in Swing.
  • 15. AndroidManfest.xml <manifest> This is the root node of each AndroisManifest.xml. It contains the package- attribute, which points to any package in out Activity. Other Activities-path will base relative to its value.
  • 16. <application> Root element containing declarations of the application-level components contained in the package. This element can also include global and/or default attributes for the application, such as a label, icon,theme, required permission, etc.Quantity: 0 or 1. <activity> An Activity is the primary thing for an application to interact with the user. The initial screen the user sees when launching an application is an activity, and most other screens they use will be implemented as separate activities declared with additional activity tags. <intent-filter> Declares what kind of Intents a component supports. In addition to the various kinds of values that can be specified under this element, attributes can be given here to supply a unique label, icon, and other information for the action being described.
  • 17. <action> An action-type that the component supports. Example: . <category> A category-type that the component supports. Example: Some other Tags Available…… <meta-data> <receiver> <service> <provider>
  • 18. Application Development Steps • Download and Install the Android SDK and Test the Emulator. • Installing JDK and JRE(1.5 or above) • Install Eclipse. • Install ADT plugin for Eclipse Creating HelloWorld Application
  • 19. Application development contd., New > Project… ➢Select Android project in wizard menu
  • 21. Application development contd., Main Activity>> Main.xml>>
  • 26. Porting Applications to Mobile • Resource files are bundled to .apk file archive • Bundled by aapt tool • One .apk file archive is a Single application
  • 27. Interesting things to do • Android is open source • Opportunities for researchers • Get the source, compile and update the device image