SlideShare a Scribd company logo
Learn android app_development(1)_intro
ADEL AL-JAFFAN
ENAS AL-SAEEK
Android Training Workshop 2014
What is Android ?
What is Android?
 Android is a “ open source ” software and
Google releases the code under the Apache
License. Android is a based on Linux the
operating system with a worldwide Smartphone during
the third quarter of 2013 with there were 11,869 different
models of Android device...
From entertainment and games, to organization and work based
solutions, there is a need for huge number of developers who
provide them. As per estimation this numbers is close to a few
millions.
Why Android?
 There's no other software quite like Android.
Google engineered Android, and Google’s own apps run best on it.
And with millions of apps, games, songs, and videos on Google Play,
Android is great for fun, and for getting things done.
Android devices come in all kinds of sizes, with all sorts of features,
and at all sorts of prices. Each version of Android is named after a dessert,
and the most recent version of Android is ”KitKAT “
With Android, you’re in control of your mobile experience .
ANDROID
• Adel Al-jaffan 4th year
• Network engineering
• F.I.T.E
• Syria - Damascus University
ANDROID HISTORY
Android Versions ?
Android Versions ?
 Alpha (1.0)
 Beta (1.1)
 Cupcake (1.5)
 Donut (1.6)
 Eclair (2.0–2.1)
 Froyo (2.2–2.2.3)
 Gingerbread (2.3–2.3.7)
 Honeycomb (3.0–3.2.6)
 Ice Cream Sandwich (4.0–4.0.4)
 Jelly Bean (4.1–4.3.1)
 KitKat (4.4–4.4.4)
 "L" release (developer preview)
Android is a Mobile Powerhouse
Android Technology Advantage
 Android is for Free Open Source
 Job Opportunities are more in Android compare to other technologies.
 Demand is more and supply is less.
 Android is a Google technology
 Large number of applications.
 Writing the applications in Android is very easy as it is based on JAVA
 Open for customization – Manufacturing
 Developers can earn money by uploading your Android-App into market.
 Application Store (Google Play , 1market , ……).
 Runs on more than millions of devices worldwide.
Learn android app_development(1)_intro
Android learning References
 developer.android.com
 www.androidHive.com
 “ Wrox ” , “ PRESS ” & “ for Dummies” Books Series .
 “ LYNDA “ & “ The New Boston ” Video Series .
 More , more ………
Android learning References
Android learning References
Android learning References
Learn android app_development(1)_intro
Requirements
1) JAVA Development Kit “JDK”
2) Android Developer Tools “ADT” Bundle
OR Android Studio
3) PC with good speed :D or s/w deivces
First touch
Learn android app_development(1)_intro
First project
1) Create Android project .
2) Create Specific Emulator
3) Fire your hands :D
Learn android app_development(1)_intro
Learn android app_development(1)_intro
Learn android app_development(1)_intro
Learn android app_development(1)_intro
Learn android app_development(1)_intro
Source code :
Activity.Xml :
Make your first Emulator :
Window  Android Virtual Device Manager
- customize your app with your smartphone !
- WAIT & RUN !!!
Make your first Emulator
 Buttons : ( activity_main.xml )
[ properties ]
id = "button1"
text = "Button"
layout_marginRight = "107dp"
layout_marginTop = "160dp"
width = "450dp"
height = "320dp"
Components :
Components :
 Buttons : (Events)
1- Create “Button” Variable and
Initialize It “pointed to specific button on layout ”
2- use it !
in 2 ways !!!!
A)
OnClickListener :
{
a- setOnClickListener (override View class)
}
Components :
 Buttons : (Events)
OnClickListener
final Button button = (Button) findViewById (R.id.button1);
button.setOnClickListener ( new View.OnClickListener( ) {
public void onClick(View v) {
// Perform action on click
}
});
Components :
Components : 1
 Buttons : ( not with OnClickListener )
2nd way :
< Button android : id="@+id/btn"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text= "Click here"
android:textSize= "30dip"
android:onClick = "MyClickMethod“
/>
Components : 2
 Buttons : ( not with OnClickListener )
2nd way :
Toast :
 toast provides simple feedback about an
operation in a small popup. It only fills the amount
of space required for the message and the
current activity remains visible and interactive.
For example, navigating away from an email
before you send it triggers a "Draft saved" toast to
let you know that you can continue editing later.
Toasts automatically disappear after a timeout.
Toast :
Toast provides simple feedback about an
operation in a small popup.
Toasts automatically disappear after a
timeout.
Toast :
int duration = Toast.LENGTH_SHORT ;
String text = “ hi hi ” ;
Toast toast = Toast.makeText( this, text , duration ) ;
toast.show();
final Button button = (Button) findViewById (R.id.button1);
button.setOnClickListener ( new View.OnClickListener( ) {
public void onClick(View v) {
Toast toast ;
toast = Toast.makeText( MainActivity.this, "text",Toast.LENGTH_LONG);
toast.show();
}
} ) ;
Components :
Toast :
What about customization Toat ?
- Making colorful text ?
- Changing position of toast ?
- ……. Etc ?
Components : 3 , 4
 textview : like label in c#
 Edittext : like TextBox in c#
Simple Calculator App :
A lot of Steps ! :D
Learn android app_development(1)_intro

More Related Content

PPTX
Android studio installation
PPTX
Android and Jelly Beans
PDF
Android Development: Build Android App from Scratch
PPTX
Android Development Training
PPTX
Why android is the most popular mobile operating system in the world(2)
PPTX
Android system operating system 1
PPTX
Android
PPTX
Android Operating system
Android studio installation
Android and Jelly Beans
Android Development: Build Android App from Scratch
Android Development Training
Why android is the most popular mobile operating system in the world(2)
Android system operating system 1
Android
Android Operating system

What's hot (20)

PPTX
Android operating system
PPTX
Introduction to Android Development
PPTX
Android ppt
PPTX
Android Study Jams - Induction
PDF
Reasons to Develop Your Next App in Android
PPTX
Android Training Institute - Dream Tech Labs
PPTX
Android studio installation
PPTX
Power point activity 2
PPTX
iOS vs Android History
PPT
Android as a technology
PPT
Day 3: Getting Active Through Activities
PPTX
The top tools for mobile game development
PDF
লেকচার ১ (ক)- শুরুর আগে:
PPTX
Android Training Ahmedabad , Android Project Training Ahmedabad, Android Live...
PDF
Training android
PDF
Android session 1
PDF
Android session 2
PDF
Android Minnebar
PDF
Android session 3
Android operating system
Introduction to Android Development
Android ppt
Android Study Jams - Induction
Reasons to Develop Your Next App in Android
Android Training Institute - Dream Tech Labs
Android studio installation
Power point activity 2
iOS vs Android History
Android as a technology
Day 3: Getting Active Through Activities
The top tools for mobile game development
লেকচার ১ (ক)- শুরুর আগে:
Android Training Ahmedabad , Android Project Training Ahmedabad, Android Live...
Training android
Android session 1
Android session 2
Android Minnebar
Android session 3
Ad

Viewers also liked (8)

PPT
Graphics, Threads and HTTPConnections in MIDLets
PDF
Java OO Revisited
KEY
Objects & OO Thinking for Java
PPTX
Java principles
PDF
Arabic Question Answering: Challenges, Tasks, Approaches, Test-sets, Tools, A...
PPTX
Coreference recognition in arabic
PPTX
Introduction to OO, Java and Eclipse/WebSphere
PPTX
Java 103 intro to java data structures
Graphics, Threads and HTTPConnections in MIDLets
Java OO Revisited
Objects & OO Thinking for Java
Java principles
Arabic Question Answering: Challenges, Tasks, Approaches, Test-sets, Tools, A...
Coreference recognition in arabic
Introduction to OO, Java and Eclipse/WebSphere
Java 103 intro to java data structures
Ad

Similar to Learn android app_development(1)_intro (20)

PPTX
Andriod apps
DOCX
Android Architecture and Working
PPTX
Android app development ppt
PPTX
Android deep dive
DOCX
Questions About Android Application Development
PDF
Android interview questions and answers
PDF
Android app development.pdf
PDF
Introduction to android
PPTX
Android by LAlitha
PDF
What's in an Android?
PDF
beginning-android-4-application-development-lee--annas-archive--libgenrs-nf-2...
PDF
presentation2-141101015616-conversion-gate01.pdf
PDF
Android Design Patterns in Mobile Application Development - Michalis Grigorop...
PPTX
Seminar on android app development
PDF
report A K Maurya.pdf
PPTX
Aptech Apps
PPTX
Android terminologies
PPTX
Android operating system
DOC
Android Operating System
PPTX
Latest Android App Development Tools 2019
Andriod apps
Android Architecture and Working
Android app development ppt
Android deep dive
Questions About Android Application Development
Android interview questions and answers
Android app development.pdf
Introduction to android
Android by LAlitha
What's in an Android?
beginning-android-4-application-development-lee--annas-archive--libgenrs-nf-2...
presentation2-141101015616-conversion-gate01.pdf
Android Design Patterns in Mobile Application Development - Michalis Grigorop...
Seminar on android app development
report A K Maurya.pdf
Aptech Apps
Android terminologies
Android operating system
Android Operating System
Latest Android App Development Tools 2019

Recently uploaded (20)

PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
Classroom Observation Tools for Teachers
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PPTX
Pharma ospi slides which help in ospi learning
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
Lesson notes of climatology university.
PDF
RMMM.pdf make it easy to upload and study
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
VCE English Exam - Section C Student Revision Booklet
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
O7-L3 Supply Chain Operations - ICLT Program
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
Supply Chain Operations Speaking Notes -ICLT Program
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Final Presentation General Medicine 03-08-2024.pptx
202450812 BayCHI UCSC-SV 20250812 v17.pptx
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Microbial diseases, their pathogenesis and prophylaxis
Classroom Observation Tools for Teachers
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
Pharma ospi slides which help in ospi learning
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Lesson notes of climatology university.
RMMM.pdf make it easy to upload and study
STATICS OF THE RIGID BODIES Hibbelers.pdf
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
VCE English Exam - Section C Student Revision Booklet
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
O7-L3 Supply Chain Operations - ICLT Program
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx

Learn android app_development(1)_intro

  • 2. ADEL AL-JAFFAN ENAS AL-SAEEK Android Training Workshop 2014
  • 4. What is Android?  Android is a “ open source ” software and Google releases the code under the Apache License. Android is a based on Linux the operating system with a worldwide Smartphone during the third quarter of 2013 with there were 11,869 different models of Android device... From entertainment and games, to organization and work based solutions, there is a need for huge number of developers who provide them. As per estimation this numbers is close to a few millions.
  • 5. Why Android?  There's no other software quite like Android. Google engineered Android, and Google’s own apps run best on it. And with millions of apps, games, songs, and videos on Google Play, Android is great for fun, and for getting things done. Android devices come in all kinds of sizes, with all sorts of features, and at all sorts of prices. Each version of Android is named after a dessert, and the most recent version of Android is ”KitKAT “ With Android, you’re in control of your mobile experience .
  • 6. ANDROID • Adel Al-jaffan 4th year • Network engineering • F.I.T.E • Syria - Damascus University ANDROID HISTORY
  • 8. Android Versions ?  Alpha (1.0)  Beta (1.1)  Cupcake (1.5)  Donut (1.6)  Eclair (2.0–2.1)  Froyo (2.2–2.2.3)  Gingerbread (2.3–2.3.7)  Honeycomb (3.0–3.2.6)  Ice Cream Sandwich (4.0–4.0.4)  Jelly Bean (4.1–4.3.1)  KitKat (4.4–4.4.4)  "L" release (developer preview)
  • 9. Android is a Mobile Powerhouse
  • 10. Android Technology Advantage  Android is for Free Open Source  Job Opportunities are more in Android compare to other technologies.  Demand is more and supply is less.  Android is a Google technology  Large number of applications.  Writing the applications in Android is very easy as it is based on JAVA  Open for customization – Manufacturing  Developers can earn money by uploading your Android-App into market.  Application Store (Google Play , 1market , ……).  Runs on more than millions of devices worldwide.
  • 12. Android learning References  developer.android.com  www.androidHive.com  “ Wrox ” , “ PRESS ” & “ for Dummies” Books Series .  “ LYNDA “ & “ The New Boston ” Video Series .  More , more ………
  • 17. Requirements 1) JAVA Development Kit “JDK” 2) Android Developer Tools “ADT” Bundle OR Android Studio 3) PC with good speed :D or s/w deivces
  • 20. First project 1) Create Android project . 2) Create Specific Emulator 3) Fire your hands :D
  • 27. Make your first Emulator : Window  Android Virtual Device Manager - customize your app with your smartphone ! - WAIT & RUN !!!
  • 28. Make your first Emulator
  • 29.  Buttons : ( activity_main.xml ) [ properties ] id = "button1" text = "Button" layout_marginRight = "107dp" layout_marginTop = "160dp" width = "450dp" height = "320dp" Components :
  • 30. Components :  Buttons : (Events) 1- Create “Button” Variable and Initialize It “pointed to specific button on layout ” 2- use it ! in 2 ways !!!! A) OnClickListener : { a- setOnClickListener (override View class) }
  • 31. Components :  Buttons : (Events) OnClickListener
  • 32. final Button button = (Button) findViewById (R.id.button1); button.setOnClickListener ( new View.OnClickListener( ) { public void onClick(View v) { // Perform action on click } }); Components :
  • 33. Components : 1  Buttons : ( not with OnClickListener ) 2nd way : < Button android : id="@+id/btn" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text= "Click here" android:textSize= "30dip" android:onClick = "MyClickMethod“ />
  • 34. Components : 2  Buttons : ( not with OnClickListener ) 2nd way :
  • 35. Toast :  toast provides simple feedback about an operation in a small popup. It only fills the amount of space required for the message and the current activity remains visible and interactive. For example, navigating away from an email before you send it triggers a "Draft saved" toast to let you know that you can continue editing later. Toasts automatically disappear after a timeout.
  • 36. Toast : Toast provides simple feedback about an operation in a small popup. Toasts automatically disappear after a timeout.
  • 37. Toast : int duration = Toast.LENGTH_SHORT ; String text = “ hi hi ” ; Toast toast = Toast.makeText( this, text , duration ) ; toast.show();
  • 38. final Button button = (Button) findViewById (R.id.button1); button.setOnClickListener ( new View.OnClickListener( ) { public void onClick(View v) { Toast toast ; toast = Toast.makeText( MainActivity.this, "text",Toast.LENGTH_LONG); toast.show(); } } ) ; Components :
  • 39. Toast : What about customization Toat ? - Making colorful text ? - Changing position of toast ? - ……. Etc ?
  • 40. Components : 3 , 4  textview : like label in c#  Edittext : like TextBox in c#
  • 41. Simple Calculator App : A lot of Steps ! :D

Editor's Notes

  • #41: tv.setBackgroundColor(Color.BLUE); Settextsize settextcolor