SlideShare a Scribd company logo
Android Application 
Development
Overview 
 What is Android? 
 Why teach Android? 
 What do you need in order to teach Android? 
 Hello, Android 
 Basic Android graphics 
 Lunch 
 Part 2: More Android!
What is Android?
What is Android? 
An open source Linux-based operating system 
intended for mobile computing platforms 
 Includes a Java API for developing applications 
 It is not a device or product
Synapseindia android apps application
Why teach Android?
NYC High School Girls Build Android Apps
Engaging Students with Android 
 Android has a lot of “buzz” now 
– Newness 
– Coolness 
– Googleness 
 UI and graphics made simple(r) 
 Advanced Java skills
What Skills Will Students Learn? 
 Reinforce the basics: OOP, decomposition, etc. 
 Separation of UI design and functionality 
 XML and resource files 
 Events and Listeners 
 Callback methods 
 Threads
Android vs. iPhone 
 Java vs. Objective-C 
 Direct install vs. Marketplace vs. App Store 
 Open source?
What do you need in order 
to teach Android?
What Should Students Already Know? 
 Java! 
– inheritance, method overriding 
– interfaces, casting 
– exceptions 
– debugging 
– reading API documentation 
 Eclipse 
– easy to pick up quickly, though
Do I Need Phones? 
 The emulator that is part of the Android toolset for 
Eclipse is quite good (though a bit slow) 
 You may be able to get free “developer phones” 
from Google
Online Resources 
 developer.android.com 
 code.google.com/p/apps-for-android/ 
 stackoverflow.com 
 videos from Google I/O conferences
“Hello, Android”
Creating Your First(?) Android App 
1. Set up your development environment 
1. Create a new Android project in Eclipse 
1. Run it in the emulator 
1. Hilarity ensues
1. Set Up Your Android Environment 
 http://developer.android.com/sdk 
 Install Eclipse 
 Install Android SDK (Android libraries) 
 Install ADT plugin (Android development tools) 
 Create AVD (Android virtual device) 
 We’ve already done this for you!!
2. Create an Android Project in Eclipse 
 File → New → Project 
 Select “Android Project” 
 Fill in Project details...
Name that appears 
on device 
Directory 
name 
Class to 
automatically 
create 
Java package 
Android 
version
3. Run the Android Application 
 Run → Run (or click the “Run” button) 
 Select “Android Application” 
 The emulator may take a few minutes to start, so 
be patient! 
 You don't need to restart the emulator when you 
have a new version of your application
Synapseindia android apps application
Source 
code 
Auto-generated 
code 
UI 
layout 
String 
constants 
Configuration
HelloAndroid.java 
1 public class HelloAndroid extends Activity { 
2 /** Called when the activity is first created. */ 
3 @Override 
4 public void onCreate(Bundle savedInstanceState) 
5 { 
6 super.onCreate(savedInstanceState); 
7 setContentView(R.layout.main); 
8 } 
9 }
main.xml 
1 <?xml version="1.0" encoding="utf-8"?> 
2 <LinearLayout 
3 xmlns:android="http://schemas.android.com/apk/res/android" 
4 android:orientation="vertical" 
5 android:layout_width="fill_parent" 
6 android:layout_height="fill_parent" 
7 > 
8 <TextView 
9 android:layout_width="fill_parent" 
10 android:layout_height="wrap_content" 
11 android:text="@string/hello " 
12 /> 
13 </LinearLayout>
strings.xml 
1 <?xml version="1.0" encoding="utf-8"?> 
2 <resources> 
3 <string name="hello">Hello World, HelloAndroid! 
4 </string> 
5 <string name="app_name">Hello, Android</string> 
6 </resources>
AndroidManifest.xml 
1 <?xml version="1.0" encoding="utf-8"?> 
2 <manifest 
3 xmlns:android="http://schemas.android.com/apk/res/android" 
4 package="edu.upenn.cis542" 
5 android:versionCode="1" 
6 android:versionName="1.0"> 
7 <application android:icon="@drawable/icon" 
8 android:label="@string/app_name"> 
9 <activity android:name=".HelloAndroid" 
10 android:label="@string/app_name"> 
11 <intent-filter> 
12 <action 
13 android:name="android.intent.action.MAIN" /> 
14 <category 
15 android:name="android.intent.category.LAUNCHER"/> 
16 </intent-filter> 
17 </activity> 
18 </application> 
19 </manifest>

More Related Content

What's hot (20)

PPTX
Experience The Best Android Programming Training Here | LW India
VishakhaTalmale
 
PDF
Android study jams
GDSCIIITR
 
PPTX
Android development training
maheswarimahi18
 
PPTX
Android game ppt
AbinashranaSingh
 
PPTX
Android study jams 1
NancyMariaAS
 
PPTX
App inventor
Marco Forte
 
PPTX
Fire up your mobile app!
Suganthi Giridharan
 
PPTX
Anroid Tutorial Beginner level By SAMRAT TAYADE
Samrat Tayade
 
PPT
Mobile app development sylhet it academy
Sylhet IT Academy
 
PPTX
Selenium web driver_2.0_presentation
sayhi2sudarshan
 
PPTX
Lecture #1 Creating your first android project
Vitali Pekelis
 
PPTX
Flutter dhaval solanki
Dhaval Solanki
 
PPTX
Simple Android Project (SAP)... A Test Application
Aritra Mukherjee
 
PPTX
Mobility testing
Precise Testing Solution
 
PDF
Gitansh_Gupta_Resume
Gitansh Gupta
 
PPTX
iOS & Android Application Development - Pee Dee User Group Meeting
Jim Tochterman
 
PPT
BCS Selenium Workshop
Colin McDonald
 
PDF
Debugging and Tuning Mobile Web Sites with Modern Web Browsers
Troy Miles
 
PDF
不能承受的感動 - iOS App實機測試
彼得潘 Pan
 
PPTX
App inventor workshop [App Academy]
Kristian Langborg-Hansen
 
Experience The Best Android Programming Training Here | LW India
VishakhaTalmale
 
Android study jams
GDSCIIITR
 
Android development training
maheswarimahi18
 
Android game ppt
AbinashranaSingh
 
Android study jams 1
NancyMariaAS
 
App inventor
Marco Forte
 
Fire up your mobile app!
Suganthi Giridharan
 
Anroid Tutorial Beginner level By SAMRAT TAYADE
Samrat Tayade
 
Mobile app development sylhet it academy
Sylhet IT Academy
 
Selenium web driver_2.0_presentation
sayhi2sudarshan
 
Lecture #1 Creating your first android project
Vitali Pekelis
 
Flutter dhaval solanki
Dhaval Solanki
 
Simple Android Project (SAP)... A Test Application
Aritra Mukherjee
 
Mobility testing
Precise Testing Solution
 
Gitansh_Gupta_Resume
Gitansh Gupta
 
iOS & Android Application Development - Pee Dee User Group Meeting
Jim Tochterman
 
BCS Selenium Workshop
Colin McDonald
 
Debugging and Tuning Mobile Web Sites with Modern Web Browsers
Troy Miles
 
不能承受的感動 - iOS App實機測試
彼得潘 Pan
 
App inventor workshop [App Academy]
Kristian Langborg-Hansen
 

Viewers also liked (16)

PPTX
E-Portfolio ICT
John Oliver
 
PDF
2014.01.28 SSCGTHV INFORMATIVO - REUNIÓN SALA ACTOS TRABAJADORES - RRHH
SSCGTHV VILADECANS
 
PPTX
Quantifying Landscape Changes through Land Cover Transition Potential Analysi...
Alexander Mkrtchian
 
PPTX
Like vs-as
Dario Amancha
 
PPT
Fiestas patronales
Isabel Cevallos
 
PDF
Jim Longo - Festival of NewMR - 2010
Ray Poynter
 
PPTX
Presentación1
antoni9512
 
PPTX
WTGW Finals
Shriram Ks
 
PDF
Betty Adamou - Festival of NewMR - 2010
Ray Poynter
 
DOCX
Laporan pelaksanaan kuliah kerja nyata unj
Detya Indrawan
 
PPTX
Elegant consumers & active creators. Learning and teaching Conf 2017
missvagrant
 
PPT
El metabolisme repas
Anna Giro
 
PPTX
WHATS THE GOOD WORD Finals
Shriram Ks
 
PDF
Kk g sd tinggi kk g prof penerapan nilai, norma, moral pancasila- peddggk pe...
mulok pagentan
 
PPT
La sinapsi i les neurones
Anna Giro
 
DOC
Filipino noli-me-tangere kab1-64
Eemlliuq Agalalan
 
E-Portfolio ICT
John Oliver
 
2014.01.28 SSCGTHV INFORMATIVO - REUNIÓN SALA ACTOS TRABAJADORES - RRHH
SSCGTHV VILADECANS
 
Quantifying Landscape Changes through Land Cover Transition Potential Analysi...
Alexander Mkrtchian
 
Like vs-as
Dario Amancha
 
Fiestas patronales
Isabel Cevallos
 
Jim Longo - Festival of NewMR - 2010
Ray Poynter
 
Presentación1
antoni9512
 
WTGW Finals
Shriram Ks
 
Betty Adamou - Festival of NewMR - 2010
Ray Poynter
 
Laporan pelaksanaan kuliah kerja nyata unj
Detya Indrawan
 
Elegant consumers & active creators. Learning and teaching Conf 2017
missvagrant
 
El metabolisme repas
Anna Giro
 
WHATS THE GOOD WORD Finals
Shriram Ks
 
Kk g sd tinggi kk g prof penerapan nilai, norma, moral pancasila- peddggk pe...
mulok pagentan
 
La sinapsi i les neurones
Anna Giro
 
Filipino noli-me-tangere kab1-64
Eemlliuq Agalalan
 
Ad

Similar to Synapseindia android apps application (20)

PPT
androidPramming.ppt
BijayKc16
 
PPT
Android Application Development Using Java
amaankhan
 
PDF
Android application development
slidesuren
 
PPTX
Android
Nirav Ranpara
 
PPTX
Android Basic
Nirav Ranpara
 
PPT
android Programming with detail slide an
HAIDRIVE
 
PDF
Homework seriesandroidworkshop JUly 12th
Rishi Kumar
 
PDF
Android studio
Andri Yabu
 
PPTX
Android
BVP GTUG
 
PPTX
Getting started with android development
FatimaYousif11
 
PPTX
Android hello world application tutorial #1
Yasmine Sherif EL-Adly
 
PPTX
Android app development ppt
saitej15
 
PPT
Synapseindia android apps intro to android development
Synapseindiappsdevelopment
 
PDF
Androidoscon20080721 1216843094441821-9
Gustavo Fuentes Zurita
 
PDF
Androidoscon20080721 1216843094441821-9
Gustavo Fuentes Zurita
 
PPTX
Seminar on android app development
AbhishekKumar4779
 
PPTX
Getting started with android programming
PERKYTORIALS
 
PPT
Day: 2 Environment Setup for Android Application Development
Ahsanul Karim
 
PPT
Pertemuan 3 pm
obanganggara
 
PPTX
Android software development – the first few hours
sjmarsh
 
androidPramming.ppt
BijayKc16
 
Android Application Development Using Java
amaankhan
 
Android application development
slidesuren
 
Android
Nirav Ranpara
 
Android Basic
Nirav Ranpara
 
android Programming with detail slide an
HAIDRIVE
 
Homework seriesandroidworkshop JUly 12th
Rishi Kumar
 
Android studio
Andri Yabu
 
Android
BVP GTUG
 
Getting started with android development
FatimaYousif11
 
Android hello world application tutorial #1
Yasmine Sherif EL-Adly
 
Android app development ppt
saitej15
 
Synapseindia android apps intro to android development
Synapseindiappsdevelopment
 
Androidoscon20080721 1216843094441821-9
Gustavo Fuentes Zurita
 
Androidoscon20080721 1216843094441821-9
Gustavo Fuentes Zurita
 
Seminar on android app development
AbhishekKumar4779
 
Getting started with android programming
PERKYTORIALS
 
Day: 2 Environment Setup for Android Application Development
Ahsanul Karim
 
Pertemuan 3 pm
obanganggara
 
Android software development – the first few hours
sjmarsh
 
Ad

More from Synapseindiappsdevelopment (20)

PPTX
Synapse india elance top in demand in it skills
Synapseindiappsdevelopment
 
PPT
SynapseIndia dotnet web development architecture module
Synapseindiappsdevelopment
 
PPT
SynapseIndia dotnet module development part 1
Synapseindiappsdevelopment
 
PPT
SynapseIndia dotnet framework library
Synapseindiappsdevelopment
 
PPT
SynapseIndia dotnet development platform overview
Synapseindiappsdevelopment
 
PPT
SynapseIndia dotnet development framework
Synapseindiappsdevelopment
 
PPT
SynapseIndia dotnet web applications development
Synapseindiappsdevelopment
 
PPT
SynapseIndia dotnet website security development
Synapseindiappsdevelopment
 
PPT
SynapseIndia mobile build apps management
Synapseindiappsdevelopment
 
PPT
SynapseIndia mobile apps deployment framework internal architecture
Synapseindiappsdevelopment
 
PPT
SynapseIndia java and .net development
Synapseindiappsdevelopment
 
PPT
SynapseIndia dotnet development panel control
Synapseindiappsdevelopment
 
PPT
SynapseIndia dotnet development ajax client library
Synapseindiappsdevelopment
 
PPT
SynapseIndia php web development
Synapseindiappsdevelopment
 
PPT
SynapseIndia mobile apps architecture
Synapseindiappsdevelopment
 
PPT
SynapseIndia mobile apps deployment framework architecture
Synapseindiappsdevelopment
 
PPT
SynapseIndia mobile apps
Synapseindiappsdevelopment
 
PPT
SynapseIndia dotnet development
Synapseindiappsdevelopment
 
PPT
SynapseIndia dotnet client library Development
Synapseindiappsdevelopment
 
PPT
SynapseIndia creating asp controls programatically development
Synapseindiappsdevelopment
 
Synapse india elance top in demand in it skills
Synapseindiappsdevelopment
 
SynapseIndia dotnet web development architecture module
Synapseindiappsdevelopment
 
SynapseIndia dotnet module development part 1
Synapseindiappsdevelopment
 
SynapseIndia dotnet framework library
Synapseindiappsdevelopment
 
SynapseIndia dotnet development platform overview
Synapseindiappsdevelopment
 
SynapseIndia dotnet development framework
Synapseindiappsdevelopment
 
SynapseIndia dotnet web applications development
Synapseindiappsdevelopment
 
SynapseIndia dotnet website security development
Synapseindiappsdevelopment
 
SynapseIndia mobile build apps management
Synapseindiappsdevelopment
 
SynapseIndia mobile apps deployment framework internal architecture
Synapseindiappsdevelopment
 
SynapseIndia java and .net development
Synapseindiappsdevelopment
 
SynapseIndia dotnet development panel control
Synapseindiappsdevelopment
 
SynapseIndia dotnet development ajax client library
Synapseindiappsdevelopment
 
SynapseIndia php web development
Synapseindiappsdevelopment
 
SynapseIndia mobile apps architecture
Synapseindiappsdevelopment
 
SynapseIndia mobile apps deployment framework architecture
Synapseindiappsdevelopment
 
SynapseIndia mobile apps
Synapseindiappsdevelopment
 
SynapseIndia dotnet development
Synapseindiappsdevelopment
 
SynapseIndia dotnet client library Development
Synapseindiappsdevelopment
 
SynapseIndia creating asp controls programatically development
Synapseindiappsdevelopment
 

Recently uploaded (20)

PDF
UiPath vs Other Automation Tools Meeting Presentation.pdf
Tracy Dixon
 
PPTX
Building a Production-Ready Barts Health Secure Data Environment Tooling, Acc...
Barts Health
 
PPTX
✨Unleashing Collaboration: Salesforce Channels & Community Power in Patna!✨
SanjeetMishra29
 
PDF
Human-centred design in online workplace learning and relationship to engagem...
Tracy Tang
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PDF
TrustArc Webinar - Data Privacy Trends 2025: Mid-Year Insights & Program Stra...
TrustArc
 
PDF
Market Wrap for 18th July 2025 by CIFDAQ
CIFDAQ
 
PDF
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
PDF
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
PDF
Are there government-backed agri-software initiatives in Limerick.pdf
giselawagner2
 
PDF
Rethinking Security Operations - SOC Evolution Journey.pdf
Haris Chughtai
 
PPTX
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
PDF
NewMind AI Journal - Weekly Chronicles - July'25 Week II
NewMind AI
 
PPTX
Building and Operating a Private Cloud with CloudStack and LINBIT CloudStack ...
ShapeBlue
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PDF
Ampere Offers Energy-Efficient Future For AI And Cloud
ShapeBlue
 
PPTX
The Yotta x CloudStack Advantage: Scalable, India-First Cloud
ShapeBlue
 
PDF
Women in Automation Presents: Reinventing Yourself — Bold Career Pivots That ...
DianaGray10
 
PDF
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
PPTX
Extensions Framework (XaaS) - Enabling Orchestrate Anything
ShapeBlue
 
UiPath vs Other Automation Tools Meeting Presentation.pdf
Tracy Dixon
 
Building a Production-Ready Barts Health Secure Data Environment Tooling, Acc...
Barts Health
 
✨Unleashing Collaboration: Salesforce Channels & Community Power in Patna!✨
SanjeetMishra29
 
Human-centred design in online workplace learning and relationship to engagem...
Tracy Tang
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
TrustArc Webinar - Data Privacy Trends 2025: Mid-Year Insights & Program Stra...
TrustArc
 
Market Wrap for 18th July 2025 by CIFDAQ
CIFDAQ
 
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
Are there government-backed agri-software initiatives in Limerick.pdf
giselawagner2
 
Rethinking Security Operations - SOC Evolution Journey.pdf
Haris Chughtai
 
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
NewMind AI Journal - Weekly Chronicles - July'25 Week II
NewMind AI
 
Building and Operating a Private Cloud with CloudStack and LINBIT CloudStack ...
ShapeBlue
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
Ampere Offers Energy-Efficient Future For AI And Cloud
ShapeBlue
 
The Yotta x CloudStack Advantage: Scalable, India-First Cloud
ShapeBlue
 
Women in Automation Presents: Reinventing Yourself — Bold Career Pivots That ...
DianaGray10
 
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
Extensions Framework (XaaS) - Enabling Orchestrate Anything
ShapeBlue
 

Synapseindia android apps application

  • 2. Overview  What is Android?  Why teach Android?  What do you need in order to teach Android?  Hello, Android  Basic Android graphics  Lunch  Part 2: More Android!
  • 4. What is Android? An open source Linux-based operating system intended for mobile computing platforms  Includes a Java API for developing applications  It is not a device or product
  • 7. NYC High School Girls Build Android Apps
  • 8. Engaging Students with Android  Android has a lot of “buzz” now – Newness – Coolness – Googleness  UI and graphics made simple(r)  Advanced Java skills
  • 9. What Skills Will Students Learn?  Reinforce the basics: OOP, decomposition, etc.  Separation of UI design and functionality  XML and resource files  Events and Listeners  Callback methods  Threads
  • 10. Android vs. iPhone  Java vs. Objective-C  Direct install vs. Marketplace vs. App Store  Open source?
  • 11. What do you need in order to teach Android?
  • 12. What Should Students Already Know?  Java! – inheritance, method overriding – interfaces, casting – exceptions – debugging – reading API documentation  Eclipse – easy to pick up quickly, though
  • 13. Do I Need Phones?  The emulator that is part of the Android toolset for Eclipse is quite good (though a bit slow)  You may be able to get free “developer phones” from Google
  • 14. Online Resources  developer.android.com  code.google.com/p/apps-for-android/  stackoverflow.com  videos from Google I/O conferences
  • 16. Creating Your First(?) Android App 1. Set up your development environment 1. Create a new Android project in Eclipse 1. Run it in the emulator 1. Hilarity ensues
  • 17. 1. Set Up Your Android Environment  http://developer.android.com/sdk  Install Eclipse  Install Android SDK (Android libraries)  Install ADT plugin (Android development tools)  Create AVD (Android virtual device)  We’ve already done this for you!!
  • 18. 2. Create an Android Project in Eclipse  File → New → Project  Select “Android Project”  Fill in Project details...
  • 19. Name that appears on device Directory name Class to automatically create Java package Android version
  • 20. 3. Run the Android Application  Run → Run (or click the “Run” button)  Select “Android Application”  The emulator may take a few minutes to start, so be patient!  You don't need to restart the emulator when you have a new version of your application
  • 22. Source code Auto-generated code UI layout String constants Configuration
  • 23. HelloAndroid.java 1 public class HelloAndroid extends Activity { 2 /** Called when the activity is first created. */ 3 @Override 4 public void onCreate(Bundle savedInstanceState) 5 { 6 super.onCreate(savedInstanceState); 7 setContentView(R.layout.main); 8 } 9 }
  • 24. main.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout 3 xmlns:android="http://schemas.android.com/apk/res/android" 4 android:orientation="vertical" 5 android:layout_width="fill_parent" 6 android:layout_height="fill_parent" 7 > 8 <TextView 9 android:layout_width="fill_parent" 10 android:layout_height="wrap_content" 11 android:text="@string/hello " 12 /> 13 </LinearLayout>
  • 25. strings.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <resources> 3 <string name="hello">Hello World, HelloAndroid! 4 </string> 5 <string name="app_name">Hello, Android</string> 6 </resources>
  • 26. AndroidManifest.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <manifest 3 xmlns:android="http://schemas.android.com/apk/res/android" 4 package="edu.upenn.cis542" 5 android:versionCode="1" 6 android:versionName="1.0"> 7 <application android:icon="@drawable/icon" 8 android:label="@string/app_name"> 9 <activity android:name=".HelloAndroid" 10 android:label="@string/app_name"> 11 <intent-filter> 12 <action 13 android:name="android.intent.action.MAIN" /> 14 <category 15 android:name="android.intent.category.LAUNCHER"/> 16 </intent-filter> 17 </activity> 18 </application> 19 </manifest>