SlideShare a Scribd company logo
Mobile InnovationsProf. Erwin M. Globio, MSIT
APP–Market FitPLATFORM (Android, Bada, Java, Symbian, Maemo, Blackberry; phone exclusive or open)PHONE BRAND (Samsung, Nokia, Sony, LG, BB, ?)PHONE TYPE (Feature phone, Smartphone)TELCOPLANS (variability of cost structures: voice ; text; data per-kb, per-hr)USERS (who, using which phone, on which telco or plan?)
Criteria for Good AppsWell-defined target market; (link to intangible qualities)Functionality: runs successfully and with ease on Android mobile phones, does what it’s supposed to do; Uniqueness in its application; doing something out of the common Creativity in design and in the use of available technologies( UI, graphics, etc)Usefulness in addressing users’ needs and problems, with high potential for adoption by customers Usability, interface and navigation designed for ease and comfort of userPlatform and modular design.
Intangible Qualities of Good ProductsWhat is its magnet – why will it attract the user?What is its anchor – what will hold the user to it?Does it have a profit engine for the user – will it make the relationship pay?How is it spiced it up to make for a satisfying customer experience?
Business ModelsSale of appShare of telco billings (voice, text, data)Subscription (per-use, per month)% of salesSponsorship or ads(Paid web hosting – service provider or cloud)
Introduction to Android DevelopmentFull of potential to be utilized
Topics to be discussed...Introduction to the Android PlatformOverview of the Android SDK in EclipseWorking with the User InterfaceWorking with Data StorageSharing information between applicationsNetworkingAdvance phone featuresPublishing applicationsBest Practices
Topics to be discussed...Introduction to the Android PlatformOverview of the Android SDK in EclipseWorking with the User Interface
What is Android?Android is a software stack for mobile devices  that includes an operating system, middleware and key applications.
What are the features of Android?Application frameworkDalvik virtual machineIntegrated browserOptimized graphicsSQLiteMedia supportGSM TelephonyBluetooth, EDGE, 3G, and WiFiCamera, GPS, compass, and accelerometerRich development environment
Android Architecture
Working with Android Development Tools (ADT)The Android Development Tools (ADT) plugin for Eclipse adds powerful extensions to the Eclipse integrated development environment. It gives you access to other Android development tools from inside the Eclipse IDE. It provides a New Project Wizard It automates and simplifies the process of building your Android application. It provides an Android code editor that helps you write valid XML for your Android manifest and resource files. It will even export your project into a signed APK, which can be distributed to users.
Installing ADTTo install in Eclipse 3.5 (Galileo)Start Eclipse, then select Help> Install New SoftwareIn the Available Software dialog, click Add....In the Add Site dialog that appears, enter a name for the remote site (for example, "Android Plugin") in the "Name" field.Enter location https://dl-ssl.google.com/android/eclipse/Back in the Available Software view, you should now see "Developer Tools" added to the list. Select the checkbox next to Developer Tools, which will automatically select the nested tools Android DDMS and Android Development Tools. Click Next. In the resulting Install Details dialog, the Android DDMS and Android Development Tools features are listed. Click Nextto read and accept the license agreement and install any dependencies, then click Finish. Restart Eclipse.
What do you get?
Working with Eclipse (New Project)
Working with Eclipse (New Project)
Working with Eclipse (New AVD)
Application Fundamentals Applications are written using Java The Android Asset Packaging Tool generates apk (Android Package) files containing the code and any data and resources needed Each application runs in its own Linux process Each application has its own VM Each application has its own user id, permissions are set accordingly
Application Components A central feature of Android is that one application can make use of elements of other applications (provided those applications permit it) Android applications don't have a single entry point for everything in the application (no main() function, for example) They have essential components that the system can instantiate and run as needed
Application ComponentsActivities - An activity presents a visual user interface for one focused endeavor the user can undertake. Services - A service doesn't have a visual user interface, but rather runs in the background for an indefinite period of time. Broadcast Receivers - A broadcast receiver is a component that does nothing but receive and react to broadcast announcements Content Providers - A content provider makes a specific set of the application's data available to other applications. The data can be stored in the file system, in an SQLite database, or in any other manner that makes sense. Intent - An intent is an Intent object that holds the content of the message
Let’s create our first application
The Application Manifest
The Application Manifest
The Application Manifest
The Application Manifest
The Application Manifest
Looking at the project (Strings.xml)
Looking at the project Layout(main.xml)
Looking at the project (main.java)
Starting with an ActivityThe main starting point of most applicationsThere is no concept of “main” programEach activity can be executed or invoked at any timeOne application can have multiple “activities”An example of acrivity would be “Searching for an application in the store”An Activity can have several “Views” or “View Groups” to define its user inteface.
Activity Lifecycle
Activity Sourcepackage org.feueac.android;import android.app.Activity;import android.os.Bundle;publicclass Main extends Activity {	@Overridepublicvoid onCreate(Bundle savedInstanceState) {super.onCreate(savedInstanceState);        setContentView(R.layout.main);    }}
What is R.layout.main?<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"    android:orientation="vertical"    android:layout_width="fill_parent"    android:layout_height="fill_parent"    ><TextView      android:layout_width="fill_parent"    android:layout_height="wrap_content"    android:text="@string/hello"    /></LinearLayout>
Views in an ActivityThe user interface is built using View  and ViewGroup objectsBasic units of user interface expression on the Android platform View class serves as the base for subclasses ViewGroupclass serves as the base for subclasses called "layouts"
View HierarchyActivity must call the setContentView()
The different layoutsLinear LayoutRelative LayoutTable LayoutGrid ViewTab LayoutList View
Handling Events in an Activitypublic class main extends Activity implements OnClickListenerButton myButton = (Button) findViewById(R.id.hello_button);myButton.setOnClickListener(this);@Overridepublic void onClick(View v) {}

More Related Content

PPT
Mobile Application Development With Android
DOC
Resume jyoti gupta
PDF
Introduction to Android App Development
PDF
Why react native has become the winning choice for cross platform development
PDF
Os eclipse-androidwidget-pdf
PPTX
Android Studio Overview
PPT
Industrial Training in Android Application
PPTX
Android and android phones
Mobile Application Development With Android
Resume jyoti gupta
Introduction to Android App Development
Why react native has become the winning choice for cross platform development
Os eclipse-androidwidget-pdf
Android Studio Overview
Industrial Training in Android Application
Android and android phones

What's hot (19)

PDF
Why is flutter considered the best cross platform framework
PPSX
My android
DOCX
Questions About Android Application Development
PDF
Best Frameworks for Android App Development in 2022.pdf
PPTX
Android L
PPT
Top 13 Web Development Trends And Predictions For 2015
PPTX
Adding advanced Device Capabilities to Android
PPTX
Imaginea Introduction
PPTX
Flutter technology Based on Web Development
PPTX
Let the community do more than just Apps!
PPT
Sdk technology
PDF
Extending your apps to wearables - DroidCon Paris 2014
PPTX
Android Development Basics
PDF
Day 2 android internals a quick overview
PDF
Introduction to Android - Mobile Fest Singapore 2009
PDF
PT GTUG 1st Technical Tession - Android
PDF
What Is An SDK?
PPTX
Android ppt
PDF
Jaipur Bus Finder - An Android-based Application
Why is flutter considered the best cross platform framework
My android
Questions About Android Application Development
Best Frameworks for Android App Development in 2022.pdf
Android L
Top 13 Web Development Trends And Predictions For 2015
Adding advanced Device Capabilities to Android
Imaginea Introduction
Flutter technology Based on Web Development
Let the community do more than just Apps!
Sdk technology
Extending your apps to wearables - DroidCon Paris 2014
Android Development Basics
Day 2 android internals a quick overview
Introduction to Android - Mobile Fest Singapore 2009
PT GTUG 1st Technical Tession - Android
What Is An SDK?
Android ppt
Jaipur Bus Finder - An Android-based Application
Ad

Viewers also liked (20)

DOCX
Modul oop with java application mauludin
ZIP
The Game Of Life - Java‘s Siblings and Heirs are populating the Ecosystem
PDF
KC Java Android Talk (March 2011)
PPT
First Steps in Android
PPT
Gu iintro(java)
PPTX
GUI Programming with Java
PPTX
Eclipse vs Netbeans
PPT
Internet of Things
PPTX
Networking Trends
PDF
Google I/O 2013 報告会 Android Studio と Gradle
PDF
PSITE Letter for Prof Globio
PPTX
Solutions to Common Android Problems
PDF
Structured Query Language
PPTX
iOS Apps Development (SQLite Tutorial Part 2)
PPT
OOP in Java
PDF
Games and Java ME - Have fun and earn some money
KEY
Practical OOP In Java
PPT
java swing
PPTX
Ideas for Writing a Conclusion
KEY
Android Development: The Basics
Modul oop with java application mauludin
The Game Of Life - Java‘s Siblings and Heirs are populating the Ecosystem
KC Java Android Talk (March 2011)
First Steps in Android
Gu iintro(java)
GUI Programming with Java
Eclipse vs Netbeans
Internet of Things
Networking Trends
Google I/O 2013 報告会 Android Studio と Gradle
PSITE Letter for Prof Globio
Solutions to Common Android Problems
Structured Query Language
iOS Apps Development (SQLite Tutorial Part 2)
OOP in Java
Games and Java ME - Have fun and earn some money
Practical OOP In Java
java swing
Ideas for Writing a Conclusion
Android Development: The Basics
Ad

Similar to Introduction to Android Development (20)

PPT
Introduction to Android Development Latest
PPTX
Android terminologies
PPT
PPT Companion to Android
PPTX
Technology and Android.pptx
PPTX
Mobile application development
PPT
Android presentation
PPT
Getting Started with Android 1.5
ODP
Nativa Android Applications development
PDF
Android dev o_auth
PPT
Creating Great Apps with MOTODEV Studio for Android
PPTX
architecture of android.pptx
PPT
Android In A Nutshell
PPTX
Android platform
PPT
Sogeti - Android tech track presentation - 24 february 2011
PDF
Analysis Of The Original Version Of Java
PPT
Getting started with android dev and test perspective
PPTX
PPTX
Chapter 1- Mobile Application Development Introduction-java.pptx
PPTX
Getting started with android programming
PDF
Mobile Application Development-Lecture 03 & 04.pdf
Introduction to Android Development Latest
Android terminologies
PPT Companion to Android
Technology and Android.pptx
Mobile application development
Android presentation
Getting Started with Android 1.5
Nativa Android Applications development
Android dev o_auth
Creating Great Apps with MOTODEV Studio for Android
architecture of android.pptx
Android In A Nutshell
Android platform
Sogeti - Android tech track presentation - 24 february 2011
Analysis Of The Original Version Of Java
Getting started with android dev and test perspective
Chapter 1- Mobile Application Development Introduction-java.pptx
Getting started with android programming
Mobile Application Development-Lecture 03 & 04.pdf

More from Prof. Erwin Globio (20)

PPT
Embedded System Presentation
PDF
BSCS | BSIT Thesis Guidelines
PPTX
Sq lite presentation
PDF
Ethics for IT Professionals
PDF
Cisco Router Basic Configuration
PPTX
Introduction to iOS Apps Development
PPTX
Cloud Computing Latest
PPTX
iOS Apps Development (SQLite Tutorial Part 1)
PDF
A tutorial on C++ Programming
PDF
Overview of C Language
PDF
Introduction to Computer Programming
PPTX
Android Fragments
PDF
Android Development Tools and Installation
PDF
Java Collections Tutorials
PDF
Action Bar in Android
PDF
Resource Speaker
PDF
Guidelines to Qualitative Researches
PDF
Lecture on E-Presentation
PDF
Thesis Writing
PDF
Project Proposal Guidelines
Embedded System Presentation
BSCS | BSIT Thesis Guidelines
Sq lite presentation
Ethics for IT Professionals
Cisco Router Basic Configuration
Introduction to iOS Apps Development
Cloud Computing Latest
iOS Apps Development (SQLite Tutorial Part 1)
A tutorial on C++ Programming
Overview of C Language
Introduction to Computer Programming
Android Fragments
Android Development Tools and Installation
Java Collections Tutorials
Action Bar in Android
Resource Speaker
Guidelines to Qualitative Researches
Lecture on E-Presentation
Thesis Writing
Project Proposal Guidelines

Recently uploaded (20)

PDF
cuic standard and advanced reporting.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Big Data Technologies - Introduction.pptx
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
KodekX | Application Modernization Development
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PPTX
A Presentation on Artificial Intelligence
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Machine learning based COVID-19 study performance prediction
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Modernizing your data center with Dell and AMD
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
cuic standard and advanced reporting.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
Big Data Technologies - Introduction.pptx
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
KodekX | Application Modernization Development
MYSQL Presentation for SQL database connectivity
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
A Presentation on Artificial Intelligence
The AUB Centre for AI in Media Proposal.docx
Spectral efficient network and resource selection model in 5G networks
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Machine learning based COVID-19 study performance prediction
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Digital-Transformation-Roadmap-for-Companies.pptx
“AI and Expert System Decision Support & Business Intelligence Systems”
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
Modernizing your data center with Dell and AMD
20250228 LYD VKU AI Blended-Learning.pptx
Reach Out and Touch Someone: Haptics and Empathic Computing

Introduction to Android Development

  • 2. APP–Market FitPLATFORM (Android, Bada, Java, Symbian, Maemo, Blackberry; phone exclusive or open)PHONE BRAND (Samsung, Nokia, Sony, LG, BB, ?)PHONE TYPE (Feature phone, Smartphone)TELCOPLANS (variability of cost structures: voice ; text; data per-kb, per-hr)USERS (who, using which phone, on which telco or plan?)
  • 3. Criteria for Good AppsWell-defined target market; (link to intangible qualities)Functionality: runs successfully and with ease on Android mobile phones, does what it’s supposed to do; Uniqueness in its application; doing something out of the common Creativity in design and in the use of available technologies( UI, graphics, etc)Usefulness in addressing users’ needs and problems, with high potential for adoption by customers Usability, interface and navigation designed for ease and comfort of userPlatform and modular design.
  • 4. Intangible Qualities of Good ProductsWhat is its magnet – why will it attract the user?What is its anchor – what will hold the user to it?Does it have a profit engine for the user – will it make the relationship pay?How is it spiced it up to make for a satisfying customer experience?
  • 5. Business ModelsSale of appShare of telco billings (voice, text, data)Subscription (per-use, per month)% of salesSponsorship or ads(Paid web hosting – service provider or cloud)
  • 6. Introduction to Android DevelopmentFull of potential to be utilized
  • 7. Topics to be discussed...Introduction to the Android PlatformOverview of the Android SDK in EclipseWorking with the User InterfaceWorking with Data StorageSharing information between applicationsNetworkingAdvance phone featuresPublishing applicationsBest Practices
  • 8. Topics to be discussed...Introduction to the Android PlatformOverview of the Android SDK in EclipseWorking with the User Interface
  • 9. What is Android?Android is a software stack for mobile devices that includes an operating system, middleware and key applications.
  • 10. What are the features of Android?Application frameworkDalvik virtual machineIntegrated browserOptimized graphicsSQLiteMedia supportGSM TelephonyBluetooth, EDGE, 3G, and WiFiCamera, GPS, compass, and accelerometerRich development environment
  • 12. Working with Android Development Tools (ADT)The Android Development Tools (ADT) plugin for Eclipse adds powerful extensions to the Eclipse integrated development environment. It gives you access to other Android development tools from inside the Eclipse IDE. It provides a New Project Wizard It automates and simplifies the process of building your Android application. It provides an Android code editor that helps you write valid XML for your Android manifest and resource files. It will even export your project into a signed APK, which can be distributed to users.
  • 13. Installing ADTTo install in Eclipse 3.5 (Galileo)Start Eclipse, then select Help> Install New SoftwareIn the Available Software dialog, click Add....In the Add Site dialog that appears, enter a name for the remote site (for example, "Android Plugin") in the "Name" field.Enter location https://dl-ssl.google.com/android/eclipse/Back in the Available Software view, you should now see "Developer Tools" added to the list. Select the checkbox next to Developer Tools, which will automatically select the nested tools Android DDMS and Android Development Tools. Click Next. In the resulting Install Details dialog, the Android DDMS and Android Development Tools features are listed. Click Nextto read and accept the license agreement and install any dependencies, then click Finish. Restart Eclipse.
  • 14. What do you get?
  • 15. Working with Eclipse (New Project)
  • 16. Working with Eclipse (New Project)
  • 18. Application Fundamentals Applications are written using Java The Android Asset Packaging Tool generates apk (Android Package) files containing the code and any data and resources needed Each application runs in its own Linux process Each application has its own VM Each application has its own user id, permissions are set accordingly
  • 19. Application Components A central feature of Android is that one application can make use of elements of other applications (provided those applications permit it) Android applications don't have a single entry point for everything in the application (no main() function, for example) They have essential components that the system can instantiate and run as needed
  • 20. Application ComponentsActivities - An activity presents a visual user interface for one focused endeavor the user can undertake. Services - A service doesn't have a visual user interface, but rather runs in the background for an indefinite period of time. Broadcast Receivers - A broadcast receiver is a component that does nothing but receive and react to broadcast announcements Content Providers - A content provider makes a specific set of the application's data available to other applications. The data can be stored in the file system, in an SQLite database, or in any other manner that makes sense. Intent - An intent is an Intent object that holds the content of the message
  • 21. Let’s create our first application
  • 27. Looking at the project (Strings.xml)
  • 28. Looking at the project Layout(main.xml)
  • 29. Looking at the project (main.java)
  • 30. Starting with an ActivityThe main starting point of most applicationsThere is no concept of “main” programEach activity can be executed or invoked at any timeOne application can have multiple “activities”An example of acrivity would be “Searching for an application in the store”An Activity can have several “Views” or “View Groups” to define its user inteface.
  • 32. Activity Sourcepackage org.feueac.android;import android.app.Activity;import android.os.Bundle;publicclass Main extends Activity { @Overridepublicvoid onCreate(Bundle savedInstanceState) {super.onCreate(savedInstanceState); setContentView(R.layout.main); }}
  • 33. What is R.layout.main?<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" ><TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/hello" /></LinearLayout>
  • 34. Views in an ActivityThe user interface is built using View and ViewGroup objectsBasic units of user interface expression on the Android platform View class serves as the base for subclasses ViewGroupclass serves as the base for subclasses called "layouts"
  • 35. View HierarchyActivity must call the setContentView()
  • 36. The different layoutsLinear LayoutRelative LayoutTable LayoutGrid ViewTab LayoutList View
  • 37. Handling Events in an Activitypublic class main extends Activity implements OnClickListenerButton myButton = (Button) findViewById(R.id.hello_button);myButton.setOnClickListener(this);@Overridepublic void onClick(View v) {}