SlideShare ist ein Scribd-Unternehmen logo
1 von 19
Downloaden Sie, um offline zu lesen
Sessão Técnica Portugal GTUG
        Como fazer boas aplicações para Android

Diogo Júnio - @drjunior
Bernardo Pina - @bioblink
Manuel Silva - @manuelvsc
What’s a GTUG?

   GTUG stand for Google Technology Users Group

   GTUGs are user groups for people who are
    interested in Google's developer technology
What is Android?



   Is a mobile operating system
   Run on the Linux kernel
   Developed by Google and the Open Handset Alliance
    (a consortium of 48 hardware, software, and telecom companies )
   Was announced publicly on 5 November 2007
   First mobile device, the G1, was announced on
    September 2008
What is Android?




   An open source, open platform for mobile development
   All the SDK, API and platfrom source is available
   No licensing, no app review
   Replace any system app with your own
Programming Android Applications




    Written in Java
    Run in Dalvik Virtual Machine (optimized for mobile devices)
    Uses its own bytecode, not Java Bytecode
Resources –Hardware Dependent




   GSM
   Bluetooth, 3G, WIFI
   Touchscreen, keypad, Trackball
   Camera, GPS, Compass and Accelerometer
   NFC…
Resources –Hardware Independent




    Integrated Browser based on WebKit Engine
    Graphics 2d and 3d optimized(OpenGL ES 1.0)
    SQLite to save structured data
    Multimedia support
    (MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, GIF)
What is an application ? (1/2)




    Application package file : myapplication.apk
    Composed by one or more activities
    AndroidManifest.xml
    Activities
     - A single screen in your application
    Views
    - Object who know how to draw itself on the screen
    - ListView, MapView, WebView, TextView, EditText…
What is an application ? (2/2)


    Layouts
       - Views Containers
       - RelativeLayout, Linearlayout, FrameLayout…
    Permissions
    - Low level access to features(GSM, Internet, GPS, SMS…)
    - Declared by the developer
    - User prompt on the market at installation
    Services
    - Background services
    Notifications
    - Receive and react to broadcasted events
How to code ?



   Java SDK
   Android SDK
     - Android Emulator – Linux, Windows , Mac
     - Command Line Tools
     - adb - Android Debug Bridge
   Eclipse
   Eclipse Plugin - ADT
Tools
   ADT
   Android Emulator
   Android Virtual Device
   Hierarchy Viewer
   Layoutopt
   Draw 9-Patch
   Dalvik debug Monitor Service
   Android Debug Bridge
   Android Asset Packaging Tool
   Android interface definition language
   Sqlite3
   Traceview
   Mksdcard
   Dx
   Ui/Aplication Exerciser Monkey
   Android
   zipalign
Documentation/Help

        Android Developers website
   http://developer.android.com


        Android Developers Google Group
   http://groups.google.com/group/android-developers


        Twitter
   http://twitter.com/androiddev


        AndroidpPT– Android programming section
       http://www.androidpt.com/index.php?option=com_kunena&func=listcat&catid=40
&Itemid=31
User Interface Guidelines
  Icon Design Guidelines
   - The Icon Guidelines describe each kind of icon in detail, with
 specifications for the size, color, shading, and other details for making
 all your icons fit in the Android system.


  Activity and Task Design Guidelines
   - These guidelines describe how activities work, illustrates them
 with examples, and describes important underlying principles and
 mechanisms, such as multitasking, activity reuse, intents, the activity
 stack, and tasks. It covers this all from a high-level design perspective.


  Menu Design Guidelines
   - These guidelines describe the difference between Options and
 Context menus, how to arrange menu items, when to put commands
 on-screen, and other details about menu design.
http://developer.android.com/guide/practices/ui_guidelines/index.htm
l
Android App Developers GUI Kits,
       Icons, Fonts and Tools




http://speckyboy.com/2010/05/10/android-app-developers-gui-kits-icons-fonts-and-tools/
UI Prototyping Stencils




 Android Asset Studio
     http://j.mp/androidassetstudio


 Android Icon Templates
http://developer.android.com/guide/practices/ui_guidelines/icon_design.html#templatespack
Best practices for UI features and
           behavior patterns




http://android-developers.blogspot.com/2010/05/twitter-for-android-closer-look-at.html
Dashboard




 Dashboard
 - The dashboard pattern serves as a home orientation activity for your users.
 - It is meant to include the categories or features of your application.
Actionbar




 ActionBar
  - The Action bar gives your users onscreen access to the most frequently
      used actions in your application.
 - It works with the Dashboard, as the upper left portion of the Action bar
      is where we recommend you place a quick link back to the dashboard
      or other app home screen.
Time to code!!!

Weitere ähnliche Inhalte

Was ist angesagt?

Android architecture and Additional Components
Android architecture and Additional ComponentsAndroid architecture and Additional Components
Android architecture and Additional ComponentsSoftNutx
 
Android studio 2.2 Tips and Tricks
Android studio 2.2 Tips and TricksAndroid studio 2.2 Tips and Tricks
Android studio 2.2 Tips and TricksUptech
 
Android introduction
Android introductionAndroid introduction
Android introductionReena Nachare
 
Android Training in Panchkula
Android Training in PanchkulaAndroid Training in Panchkula
Android Training in Panchkulasahilmann88
 
Android Workshop Day 1 Part 2
Android Workshop Day 1 Part 2Android Workshop Day 1 Part 2
Android Workshop Day 1 Part 2Ahsanul Karim
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to androidzeelpatel0504
 
Custom Android App Development – Web Animation India
Custom Android App Development – Web Animation IndiaCustom Android App Development – Web Animation India
Custom Android App Development – Web Animation IndiaMarion Welch
 
Android summer training report
Android summer training reportAndroid summer training report
Android summer training reportShashendra Singh
 
Introduction to Android development - Presentation Report
Introduction to Android development - Presentation ReportIntroduction to Android development - Presentation Report
Introduction to Android development - Presentation ReportAtul Panjwani
 
All about Android app development -Texavi presentation
All about Android app development -Texavi presentationAll about Android app development -Texavi presentation
All about Android app development -Texavi presentationTexavi Innovative Solutions
 
Android by Ravindra J.Mandale
Android by Ravindra J.MandaleAndroid by Ravindra J.Mandale
Android by Ravindra J.MandaleRavindra Mandale
 
Using the Presentation API and external screens on Android
Using the Presentation API and external screens on AndroidUsing the Presentation API and external screens on Android
Using the Presentation API and external screens on AndroidXavier Hallade
 
Android Apps Development Basic
Android Apps Development BasicAndroid Apps Development Basic
Android Apps Development BasicMonir Zzaman
 
Introduction to Android Programming by Dr.M.Pyingkodi-kongu engineering c...
Introduction to  Android   Programming by  Dr.M.Pyingkodi-kongu engineering c...Introduction to  Android   Programming by  Dr.M.Pyingkodi-kongu engineering c...
Introduction to Android Programming by Dr.M.Pyingkodi-kongu engineering c...pyingkodi maran
 

Was ist angesagt? (20)

Android architecture and Additional Components
Android architecture and Additional ComponentsAndroid architecture and Additional Components
Android architecture and Additional Components
 
Android studio 2.2 Tips and Tricks
Android studio 2.2 Tips and TricksAndroid studio 2.2 Tips and Tricks
Android studio 2.2 Tips and Tricks
 
Android introduction
Android introductionAndroid introduction
Android introduction
 
Android studio ppt
Android studio pptAndroid studio ppt
Android studio ppt
 
Android ppt
Android pptAndroid ppt
Android ppt
 
Android Training in Panchkula
Android Training in PanchkulaAndroid Training in Panchkula
Android Training in Panchkula
 
Android basics
Android basicsAndroid basics
Android basics
 
Android Workshop Day 1 Part 2
Android Workshop Day 1 Part 2Android Workshop Day 1 Part 2
Android Workshop Day 1 Part 2
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
 
Android intro
Android introAndroid intro
Android intro
 
Custom Android App Development – Web Animation India
Custom Android App Development – Web Animation IndiaCustom Android App Development – Web Animation India
Custom Android App Development – Web Animation India
 
Android summer training report
Android summer training reportAndroid summer training report
Android summer training report
 
Introduction to Android development - Presentation Report
Introduction to Android development - Presentation ReportIntroduction to Android development - Presentation Report
Introduction to Android development - Presentation Report
 
All about Android app development -Texavi presentation
All about Android app development -Texavi presentationAll about Android app development -Texavi presentation
All about Android app development -Texavi presentation
 
Android Basics
Android BasicsAndroid Basics
Android Basics
 
Android by Ravindra J.Mandale
Android by Ravindra J.MandaleAndroid by Ravindra J.Mandale
Android by Ravindra J.Mandale
 
Using the Presentation API and external screens on Android
Using the Presentation API and external screens on AndroidUsing the Presentation API and external screens on Android
Using the Presentation API and external screens on Android
 
Android Apps Development Basic
Android Apps Development BasicAndroid Apps Development Basic
Android Apps Development Basic
 
Android UI Design Tips
Android UI Design TipsAndroid UI Design Tips
Android UI Design Tips
 
Introduction to Android Programming by Dr.M.Pyingkodi-kongu engineering c...
Introduction to  Android   Programming by  Dr.M.Pyingkodi-kongu engineering c...Introduction to  Android   Programming by  Dr.M.Pyingkodi-kongu engineering c...
Introduction to Android Programming by Dr.M.Pyingkodi-kongu engineering c...
 

Ähnlich wie PT GTUG 1st Technical Tession - Android

Introduction to Android
Introduction to AndroidIntroduction to Android
Introduction to AndroidJindal Gohil
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to androidJindal Gohil
 
Unit 1-android-and-its-tools-ass
Unit 1-android-and-its-tools-assUnit 1-android-and-its-tools-ass
Unit 1-android-and-its-tools-assARVIND SARDAR
 
Seminar on android app development
Seminar on android app developmentSeminar on android app development
Seminar on android app developmentAbhishekKumar4779
 
Ch1 hello, android
Ch1 hello, androidCh1 hello, android
Ch1 hello, androidJehad2012
 
Android Programming made easy
Android Programming made easyAndroid Programming made easy
Android Programming made easyLars Vogel
 
Android seminar-presentation
Android seminar-presentationAndroid seminar-presentation
Android seminar-presentationconnectshilpa
 
OS in mobile devices [Android]
OS in mobile devices [Android]OS in mobile devices [Android]
OS in mobile devices [Android]Yatharth Aggarwal
 
Mobile application development
Mobile application developmentMobile application development
Mobile application developmentumesh patil
 
Introduction to android mobile app development.pptx
Introduction to android mobile app development.pptxIntroduction to android mobile app development.pptx
Introduction to android mobile app development.pptxridzah12
 
Mobile Application Development-Lecture 03 & 04.pdf
Mobile Application Development-Lecture 03 & 04.pdfMobile Application Development-Lecture 03 & 04.pdf
Mobile Application Development-Lecture 03 & 04.pdfAbdullahMunir32
 
Technology and Android.pptx
Technology and Android.pptxTechnology and Android.pptx
Technology and Android.pptxmuthulakshmi cse
 
Android : Architecture & Components
Android : Architecture & ComponentsAndroid : Architecture & Components
Android : Architecture & ComponentsAkash Bisariya
 

Ähnlich wie PT GTUG 1st Technical Tession - Android (20)

Android Anatomy
Android  AnatomyAndroid  Anatomy
Android Anatomy
 
Introduction to Android
Introduction to AndroidIntroduction to Android
Introduction to Android
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
 
Unit 1-android-and-its-tools-ass
Unit 1-android-and-its-tools-assUnit 1-android-and-its-tools-ass
Unit 1-android-and-its-tools-ass
 
Seminar on android app development
Seminar on android app developmentSeminar on android app development
Seminar on android app development
 
PPT Companion to Android
PPT Companion to AndroidPPT Companion to Android
PPT Companion to Android
 
Android
AndroidAndroid
Android
 
Andriod
Andriod Andriod
Andriod
 
Codebits Talk
Codebits TalkCodebits Talk
Codebits Talk
 
Ch1 hello, android
Ch1 hello, androidCh1 hello, android
Ch1 hello, android
 
Android Programming made easy
Android Programming made easyAndroid Programming made easy
Android Programming made easy
 
Android seminar-presentation
Android seminar-presentationAndroid seminar-presentation
Android seminar-presentation
 
Android architecture
Android architectureAndroid architecture
Android architecture
 
OS in mobile devices [Android]
OS in mobile devices [Android]OS in mobile devices [Android]
OS in mobile devices [Android]
 
Mobile application development
Mobile application developmentMobile application development
Mobile application development
 
Introduction to android mobile app development.pptx
Introduction to android mobile app development.pptxIntroduction to android mobile app development.pptx
Introduction to android mobile app development.pptx
 
Mobile Application development
Mobile Application developmentMobile Application development
Mobile Application development
 
Mobile Application Development-Lecture 03 & 04.pdf
Mobile Application Development-Lecture 03 & 04.pdfMobile Application Development-Lecture 03 & 04.pdf
Mobile Application Development-Lecture 03 & 04.pdf
 
Technology and Android.pptx
Technology and Android.pptxTechnology and Android.pptx
Technology and Android.pptx
 
Android : Architecture & Components
Android : Architecture & ComponentsAndroid : Architecture & Components
Android : Architecture & Components
 

Kürzlich hochgeladen

Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfErwinPantujan2
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
Millenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptxMillenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptxJanEmmanBrigoli
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSMae Pangan
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptxmary850239
 
TEACHER REFLECTION FORM (NEW SET........).docx
TEACHER REFLECTION FORM (NEW SET........).docxTEACHER REFLECTION FORM (NEW SET........).docx
TEACHER REFLECTION FORM (NEW SET........).docxruthvilladarez
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
Presentation Activity 2. Unit 3 transv.pptx
Presentation Activity 2. Unit 3 transv.pptxPresentation Activity 2. Unit 3 transv.pptx
Presentation Activity 2. Unit 3 transv.pptxRosabel UA
 
EMBODO Lesson Plan Grade 9 Law of Sines.docx
EMBODO Lesson Plan Grade 9 Law of Sines.docxEMBODO Lesson Plan Grade 9 Law of Sines.docx
EMBODO Lesson Plan Grade 9 Law of Sines.docxElton John Embodo
 
Integumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptIntegumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptshraddhaparab530
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptxiammrhaywood
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxVanesaIglesias10
 

Kürzlich hochgeladen (20)

Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
Millenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptxMillenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptx
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHS
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx
 
TEACHER REFLECTION FORM (NEW SET........).docx
TEACHER REFLECTION FORM (NEW SET........).docxTEACHER REFLECTION FORM (NEW SET........).docx
TEACHER REFLECTION FORM (NEW SET........).docx
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
Presentation Activity 2. Unit 3 transv.pptx
Presentation Activity 2. Unit 3 transv.pptxPresentation Activity 2. Unit 3 transv.pptx
Presentation Activity 2. Unit 3 transv.pptx
 
EMBODO Lesson Plan Grade 9 Law of Sines.docx
EMBODO Lesson Plan Grade 9 Law of Sines.docxEMBODO Lesson Plan Grade 9 Law of Sines.docx
EMBODO Lesson Plan Grade 9 Law of Sines.docx
 
Integumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptIntegumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.ppt
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptx
 

PT GTUG 1st Technical Tession - Android

  • 1. Sessão Técnica Portugal GTUG Como fazer boas aplicações para Android Diogo Júnio - @drjunior Bernardo Pina - @bioblink Manuel Silva - @manuelvsc
  • 2. What’s a GTUG?  GTUG stand for Google Technology Users Group  GTUGs are user groups for people who are interested in Google's developer technology
  • 3. What is Android?  Is a mobile operating system  Run on the Linux kernel  Developed by Google and the Open Handset Alliance (a consortium of 48 hardware, software, and telecom companies )  Was announced publicly on 5 November 2007  First mobile device, the G1, was announced on September 2008
  • 4. What is Android?  An open source, open platform for mobile development  All the SDK, API and platfrom source is available  No licensing, no app review  Replace any system app with your own
  • 5. Programming Android Applications  Written in Java  Run in Dalvik Virtual Machine (optimized for mobile devices)  Uses its own bytecode, not Java Bytecode
  • 6. Resources –Hardware Dependent  GSM  Bluetooth, 3G, WIFI  Touchscreen, keypad, Trackball  Camera, GPS, Compass and Accelerometer  NFC…
  • 7. Resources –Hardware Independent  Integrated Browser based on WebKit Engine  Graphics 2d and 3d optimized(OpenGL ES 1.0)  SQLite to save structured data  Multimedia support (MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, GIF)
  • 8. What is an application ? (1/2)  Application package file : myapplication.apk  Composed by one or more activities  AndroidManifest.xml  Activities - A single screen in your application  Views - Object who know how to draw itself on the screen - ListView, MapView, WebView, TextView, EditText…
  • 9. What is an application ? (2/2)  Layouts - Views Containers - RelativeLayout, Linearlayout, FrameLayout…  Permissions - Low level access to features(GSM, Internet, GPS, SMS…) - Declared by the developer - User prompt on the market at installation  Services - Background services  Notifications - Receive and react to broadcasted events
  • 10. How to code ?  Java SDK  Android SDK - Android Emulator – Linux, Windows , Mac - Command Line Tools - adb - Android Debug Bridge  Eclipse  Eclipse Plugin - ADT
  • 11. Tools  ADT  Android Emulator  Android Virtual Device  Hierarchy Viewer  Layoutopt  Draw 9-Patch  Dalvik debug Monitor Service  Android Debug Bridge  Android Asset Packaging Tool  Android interface definition language  Sqlite3  Traceview  Mksdcard  Dx  Ui/Aplication Exerciser Monkey  Android  zipalign
  • 12. Documentation/Help Android Developers website http://developer.android.com Android Developers Google Group http://groups.google.com/group/android-developers Twitter http://twitter.com/androiddev AndroidpPT– Android programming section http://www.androidpt.com/index.php?option=com_kunena&func=listcat&catid=40 &Itemid=31
  • 13. User Interface Guidelines  Icon Design Guidelines - The Icon Guidelines describe each kind of icon in detail, with specifications for the size, color, shading, and other details for making all your icons fit in the Android system.  Activity and Task Design Guidelines - These guidelines describe how activities work, illustrates them with examples, and describes important underlying principles and mechanisms, such as multitasking, activity reuse, intents, the activity stack, and tasks. It covers this all from a high-level design perspective.  Menu Design Guidelines - These guidelines describe the difference between Options and Context menus, how to arrange menu items, when to put commands on-screen, and other details about menu design. http://developer.android.com/guide/practices/ui_guidelines/index.htm l
  • 14. Android App Developers GUI Kits, Icons, Fonts and Tools http://speckyboy.com/2010/05/10/android-app-developers-gui-kits-icons-fonts-and-tools/
  • 15. UI Prototyping Stencils  Android Asset Studio http://j.mp/androidassetstudio  Android Icon Templates http://developer.android.com/guide/practices/ui_guidelines/icon_design.html#templatespack
  • 16. Best practices for UI features and behavior patterns http://android-developers.blogspot.com/2010/05/twitter-for-android-closer-look-at.html
  • 17. Dashboard  Dashboard - The dashboard pattern serves as a home orientation activity for your users. - It is meant to include the categories or features of your application.
  • 18. Actionbar  ActionBar - The Action bar gives your users onscreen access to the most frequently used actions in your application. - It works with the Dashboard, as the upper left portion of the Action bar is where we recommend you place a quick link back to the dashboard or other app home screen.