SlideShare a Scribd company logo
26 TH  & 27 TH  MARCH 2011@ KLS GIT, BELGAUM  ANDROID WORKSHOP
WHY TO CHOOSE MOBILES PLATFORM?
PLATFORMS AVAILABLE Android IPhone Blackberry Windows7 Symbian OS
SHARES COMAPRISION
TYPES AND FEATURES
WHY ANDROID? Android is open and available for all platform. Android scales to every device. It’s Supported by Dozens of Hardware Manufacturers. Third Party Development is Encouraged.
WHAT IS ANDROID? Android is an open-source software stack for mobile devices that includes an operating system, middleware and key applications. What it means ??
 
ADVANTAGES AND DISADVANTAGES ………… .. Throughout the workshop.
INSTALLATION –TOOLS REQUIRED Any OS Eclipse Galileo (or higher) ADT Pluggin Any android device (good to have one)
EMULATOR CREATION
HELLO PROGRAM
ACTIVITY?? An activity is a single, focused thing that the user can do. Almost all activities interact with the user, so the Activity class takes care of creating a window for you in which you can place your UI with  setContentView(View).
 
WHAT IS VIEW?? This class represents the basic building block for user interface components. A View occupies a rectangular area on the screen and is responsible for drawing and event handling. View is the base class for  widgets , which are used to create interactive UI components (buttons, text fields, etc.).
XML FOR GUI DESIGN Why XML? Java code or XML. Controlling portrait or landscape. Language control.
ANDROID MANIFEST FILE What ?? Why ?? How to use .
UNDERSTANDING LAYOUTS Linear Layout. Relative Layout. Frame Layout. Table Layout. Absolute Layout.
LINEAR LAYOUT A Layout that arranges its children in a single column or a single row. The direction of the row can be set by calling setOrientation(). You can also specify gravity, by calling setGravity() or specify weight member of LinearLayout.LayoutParams. The default orientation is horizontal.
RELATIVE LAYOUT A Layout where the positions of the children can be described in relation to each other or to the parent. Note:that you cannot have a circular dependency between the size of the RelativeLayout and the position of its children. Relative Layout Example
FRAME LAYOUT FrameLayout is designed to block out an area on the screen to display a single item. You can add multiple children to a FrameLayout and control their position within the FrameLayout using gravity. Children are drawn in a stack, with the most recently added child on top. The size of the frame layout is the size of its largest child (plus padding), visible or not (if the FrameLayout's parent permits). Views that are GONE are used for sizing only if setConsiderGoneChildrenWhenMeasuring() is set to true. Frame Layout Xml Frame Layout java
TABLE LAYOUT A layout that arranges its children into rows and columns.  A TableLayout consists of a number of TableRow objects, each defining a row (actually, you can have other children, which will be explained below). TableLayout containers do not display border lines for their rows, columns, or cells.  Each row has zero or more cells; each cell can hold one View object.  The table has as many columns as the row with the most cells.  A table can leave cells empty. Cells can span columns, as they can in HTML. Table Layout Example
ABSOULUTE LAYOUT This class is deprecated. Use FrameLayout, RelativeLayout or a custom layout instead.
CODING FOR SOME SIMPLE WIDGETS Text View Button Edit Text Checkbox Radio Button Spinner List view Progress Bar
EXPLORING FEATURE OF VIEW HOW TO USE
SOME IMPORTANT CONCEPTS
BUNDLE A mapping from String values to various Parcelable types. How and where it is used     Bundle Demo & Example of Moving from one activity to another activity.
CURSOR This interface provides random read-write access to the result set returned by a database query. Cursor implementations are not required to be synchronized so code using a Cursor from multiple threads should perform its own synchronization when using the Cursor.
DATABASE DESIGNING FUNDAMENTALS
PREFERENCES CONTROL AND SETTING
SOME ADVANCE TOPIC Message sending Push Notification
RESOURCES All about android Sample Code Our God – Google Stay tuned with us @ Blog:  http:// blog.dotcord.com Facebook:  http://facebook.com/dotcord Twitter:  http://twitter.com/dotcord

More Related Content

PPT
2.20 Spreadsheets
PPT
Scmad Chapter05
PPTX
Photoshop getting started part3
PPTX
Lesson 03 Layouts in WPF
PPTX
Internet of Things-CTfSEaIE
PPS
Intro to Google Developers Group Belgaum
PPT
Anti -depressants: classification & mechanism of action
PPT
Issuers Story - PCI Congress London 23Jan14
2.20 Spreadsheets
Scmad Chapter05
Photoshop getting started part3
Lesson 03 Layouts in WPF
Internet of Things-CTfSEaIE
Intro to Google Developers Group Belgaum
Anti -depressants: classification & mechanism of action
Issuers Story - PCI Congress London 23Jan14

Viewers also liked (12)

PDF
Baobab / Boab Presentation. Marketing media. Export.
PPTX
Java nio ( new io )
PPTX
Semantic
PPTX
Pompeii Archaeology and History
PDF
Internship Final Report-ROBI.2014
PPT
International Trade Example
PPTX
Brussels Briefing 44: Fredrick Masinde, Business Development Manager, Undugu ...
PPTX
Phases of globalization(1)
PDF
International Trade
PDF
Snapshot of Digital India- March 2016
PPTX
Quota Sampling
PDF
Digital in 2016
Baobab / Boab Presentation. Marketing media. Export.
Java nio ( new io )
Semantic
Pompeii Archaeology and History
Internship Final Report-ROBI.2014
International Trade Example
Brussels Briefing 44: Fredrick Masinde, Business Development Manager, Undugu ...
Phases of globalization(1)
International Trade
Snapshot of Digital India- March 2016
Quota Sampling
Digital in 2016
Ad

Similar to Android Workshop (20)

PPTX
Tehran's 2nd Android bootcamp
PPTX
Day 4 android bootcamp
PPTX
W1_Lec01_Lec02_Layouts.pptx
PDF
01 08 - graphical user interface - layouts
PPTX
layout and UI.pptx
PDF
Android Screen Containers & Layouts
PDF
Mobile Application Development -Lecture 07 & 08.pdf
PPTX
Android development session 3 - layout
PDF
MOBILE APPLICATION DEVELOPMENT
DOCX
How to create ui using droid draw
PPTX
Introduction to android
PDF
Android ui layout
PPT
android layouts
PPTX
#7 Android Layouts.pptx
PDF
Android UI Fundamentals part 1
PDF
DOCX
Android practice of layout in application-chapter6
PDF
Android Development Slides
PPTX
UNIT5newpart2pptx__2024_11_13_09_52_11 (1).pptx
PPTX
mobile application development -unit-3-
Tehran's 2nd Android bootcamp
Day 4 android bootcamp
W1_Lec01_Lec02_Layouts.pptx
01 08 - graphical user interface - layouts
layout and UI.pptx
Android Screen Containers & Layouts
Mobile Application Development -Lecture 07 & 08.pdf
Android development session 3 - layout
MOBILE APPLICATION DEVELOPMENT
How to create ui using droid draw
Introduction to android
Android ui layout
android layouts
#7 Android Layouts.pptx
Android UI Fundamentals part 1
Android practice of layout in application-chapter6
Android Development Slides
UNIT5newpart2pptx__2024_11_13_09_52_11 (1).pptx
mobile application development -unit-3-
Ad

More from sandeephegde (10)

PDF
Adwords Fundamentals Certified
PDF
SALES ENABLEMENT CERTIFIED
PDF
MARKETING FUNDAMENTALS CERTIFICATE
PDF
MICROECONOMICS: SUPPLY AND DEMAND CERTIFICATE
PDF
ACCOUNTING FUNDAMENTALS CERTIFICATE
PDF
FINANCE: TIME VALUE OF MONEY CERTIFICATE
PDF
Upcoming Agriculture Technologies
PDF
iOT - Developing beacons
PPS
Admob Student App Challenge
PPT
Google Cloud Developer Challenge - GDG Belgaum
Adwords Fundamentals Certified
SALES ENABLEMENT CERTIFIED
MARKETING FUNDAMENTALS CERTIFICATE
MICROECONOMICS: SUPPLY AND DEMAND CERTIFICATE
ACCOUNTING FUNDAMENTALS CERTIFICATE
FINANCE: TIME VALUE OF MONEY CERTIFICATE
Upcoming Agriculture Technologies
iOT - Developing beacons
Admob Student App Challenge
Google Cloud Developer Challenge - GDG Belgaum

Recently uploaded (20)

PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
Big Data Technologies - Introduction.pptx
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
Cloud computing and distributed systems.
PDF
cuic standard and advanced reporting.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPT
Teaching material agriculture food technology
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Reach Out and Touch Someone: Haptics and Empathic Computing
Unlocking AI with Model Context Protocol (MCP)
Big Data Technologies - Introduction.pptx
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
The Rise and Fall of 3GPP – Time for a Sabbatical?
Cloud computing and distributed systems.
cuic standard and advanced reporting.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Chapter 3 Spatial Domain Image Processing.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Review of recent advances in non-invasive hemoglobin estimation
Mobile App Security Testing_ A Comprehensive Guide.pdf
Encapsulation_ Review paper, used for researhc scholars
20250228 LYD VKU AI Blended-Learning.pptx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
NewMind AI Weekly Chronicles - August'25 Week I
Teaching material agriculture food technology
Per capita expenditure prediction using model stacking based on satellite ima...

Android Workshop

  • 1. 26 TH & 27 TH MARCH 2011@ KLS GIT, BELGAUM ANDROID WORKSHOP
  • 2. WHY TO CHOOSE MOBILES PLATFORM?
  • 3. PLATFORMS AVAILABLE Android IPhone Blackberry Windows7 Symbian OS
  • 6. WHY ANDROID? Android is open and available for all platform. Android scales to every device. It’s Supported by Dozens of Hardware Manufacturers. Third Party Development is Encouraged.
  • 7. WHAT IS ANDROID? Android is an open-source software stack for mobile devices that includes an operating system, middleware and key applications. What it means ??
  • 8.  
  • 9. ADVANTAGES AND DISADVANTAGES ………… .. Throughout the workshop.
  • 10. INSTALLATION –TOOLS REQUIRED Any OS Eclipse Galileo (or higher) ADT Pluggin Any android device (good to have one)
  • 13. ACTIVITY?? An activity is a single, focused thing that the user can do. Almost all activities interact with the user, so the Activity class takes care of creating a window for you in which you can place your UI with setContentView(View).
  • 14.  
  • 15. WHAT IS VIEW?? This class represents the basic building block for user interface components. A View occupies a rectangular area on the screen and is responsible for drawing and event handling. View is the base class for widgets , which are used to create interactive UI components (buttons, text fields, etc.).
  • 16. XML FOR GUI DESIGN Why XML? Java code or XML. Controlling portrait or landscape. Language control.
  • 17. ANDROID MANIFEST FILE What ?? Why ?? How to use .
  • 18. UNDERSTANDING LAYOUTS Linear Layout. Relative Layout. Frame Layout. Table Layout. Absolute Layout.
  • 19. LINEAR LAYOUT A Layout that arranges its children in a single column or a single row. The direction of the row can be set by calling setOrientation(). You can also specify gravity, by calling setGravity() or specify weight member of LinearLayout.LayoutParams. The default orientation is horizontal.
  • 20. RELATIVE LAYOUT A Layout where the positions of the children can be described in relation to each other or to the parent. Note:that you cannot have a circular dependency between the size of the RelativeLayout and the position of its children. Relative Layout Example
  • 21. FRAME LAYOUT FrameLayout is designed to block out an area on the screen to display a single item. You can add multiple children to a FrameLayout and control their position within the FrameLayout using gravity. Children are drawn in a stack, with the most recently added child on top. The size of the frame layout is the size of its largest child (plus padding), visible or not (if the FrameLayout's parent permits). Views that are GONE are used for sizing only if setConsiderGoneChildrenWhenMeasuring() is set to true. Frame Layout Xml Frame Layout java
  • 22. TABLE LAYOUT A layout that arranges its children into rows and columns. A TableLayout consists of a number of TableRow objects, each defining a row (actually, you can have other children, which will be explained below). TableLayout containers do not display border lines for their rows, columns, or cells. Each row has zero or more cells; each cell can hold one View object. The table has as many columns as the row with the most cells. A table can leave cells empty. Cells can span columns, as they can in HTML. Table Layout Example
  • 23. ABSOULUTE LAYOUT This class is deprecated. Use FrameLayout, RelativeLayout or a custom layout instead.
  • 24. CODING FOR SOME SIMPLE WIDGETS Text View Button Edit Text Checkbox Radio Button Spinner List view Progress Bar
  • 25. EXPLORING FEATURE OF VIEW HOW TO USE
  • 27. BUNDLE A mapping from String values to various Parcelable types. How and where it is used  Bundle Demo & Example of Moving from one activity to another activity.
  • 28. CURSOR This interface provides random read-write access to the result set returned by a database query. Cursor implementations are not required to be synchronized so code using a Cursor from multiple threads should perform its own synchronization when using the Cursor.
  • 31. SOME ADVANCE TOPIC Message sending Push Notification
  • 32. RESOURCES All about android Sample Code Our God – Google Stay tuned with us @ Blog: http:// blog.dotcord.com Facebook: http://facebook.com/dotcord Twitter: http://twitter.com/dotcord