SlideShare a Scribd company logo
introduction for development
2016
Aleksei Miliutin
- Android as OS
- Android vs Java
- General concepts in development
- Interestingness
- Features
Agenda
File-oriented system
Android as OS
What does it mean?
It doesn't matter where the file is, in all programms
which support it, we see it.
*.doc for office
*.fb2 for readers
Work with memory
Android as OS
Android knows when it needs more memory and can
close your application.
We need to save important info.
Android is not framework
Android vs Java
The Android SDK provides the tools and APIs necessary
to begin developing applications on the Android
platform using the Java programming language.
Many APIs are similars
Android vs Java
but you don't have all J2SE APIs.
Android uses its own library built on a subset of the
Apache Harmony Java implementation.
You can use java jars if they use only compatible APIs.
Android doesn’t use JVM
Android vs Java
it has has special VM Dalvik*.
Code compiles to standart java byte-code and next it
converts, with utility dx, to .dex formart to next
interpritation on VM Dalvik.
*Dalvik - fishers island in Iceland
General concepts in development
Gradle
Gradle is an open source build
automation system that builds upon
the concepts of Apache Ant and
Apache Maven and introduces a
Groovy-based domain-specific
language (DSL) instead of the XML
form used by Apache Maven of
declaring the project configuration.
General concepts in development
Activity
An Activity is an application component that provides a screen
with which users can interact in order to do something, such as
dial the phone, take a photo, send an email, or view a map. Each
activity is given a window in which to draw its user interface.
General concepts in development
Activity
An Activity is an application component that provides a screen
with which users can interact in order to do something, such as
dial the phone, take a photo, send an email, or view a map. Each
activity is given a window in which to draw its user interface.
General concepts in development
Layout
A layout defines the visual structure for a user interface, such
as the UI for an activity or app widget. You can declare a layout
in two ways:
Declare UI elements in XML.
Instantiate layout elements at runtime.
General concepts in development
Layout
General concepts in development
Layout
General concepts in development
Layout
General concepts in development
Service. Broadcast receiver
A service is a component that runs in the background to
perform long-running operations without needing to interact with
the user and it works even if application is destroyed.
Broadcast Receivers simply respond to broadcast messages
from other applications or from the system itself. These
messages are sometime called events or intents.
General concepts in development
Android manifest
Every application must have an AndroidManifest.xml file
(with precisely that name) in its root directory. The manifest file
presents essential information about your app to the Android
system, information the system must have before it can run any
of the app's code.
General concepts in development
Android manifest
Features
Lifecycles
Many components in Android have its own lifecycle. Android
system calls a series of lifecycle methods on the component
which running now in the user interface or other components in
background.
Activity lifecycle
1 dp = 0.75 px
1 dp = 1 px
1 dp = 1.5 px
1 dp = 2 px
1 dp = 3 px
Features
dp instead of px
Density-independent pixels (pronounced “dips”) are flexible
units that scale to uniform dimensions on any screen. When
developing an Android application, use dp to display elements
uniformly on screens with different densities.
low (ldpi)
medium (mdpi)
high (hdpi)
extra high (xhdpi)
extra-extra-high (xxhdpi)
Features
Simple localization
Put the application's default text in a file with the following
location and name:res/values/strings.xml (required directory)
You want to localize all the text in your application to
Ukranian. In this case, you could create second alternative
strings.xml files, each stored in a locale-specific resource
directory:res/values-uk/strings.xml
If the device is set to any language other than Ukranian, Android will load title
from the res/values/strings.xml file.
If the device is set to Ukranian, Android will load title from the res/values-
uk/strings.xml file.
Interestingness
Firebase
Firebase's is a NoSQL database which provides an API that
allows developers to store and sync data in realtime to every
connected client. Database is storing in JSON.
When data changes, the Firebase automatically sycn it with
connected clients. Before data has been writen to server it saves
in local, what gives possibility to working offline.
Interestingness
Firebase
Interestingness
Firebase
Interestingness
Firebase
THANKS FOR ATTENTION
Aleksei Miliutin
Contact info:
skype: leshkou
email: leshkou@gmail.com

More Related Content

PDF
Android Design Architecture
PPT
Android application structure
PPTX
DevFest Sul 2014 - Android 4 lazy iOS Devs
DOCX
Android article
PDF
Ui layout (incomplete)
PPTX
Mobile Application Development
PPTX
5 beginner android application development foundation
PDF
MOBILE APPLICATIONS DEVELOPMENT -ANDROID BY SIVASANKARI
Android Design Architecture
Android application structure
DevFest Sul 2014 - Android 4 lazy iOS Devs
Android article
Ui layout (incomplete)
Mobile Application Development
5 beginner android application development foundation
MOBILE APPLICATIONS DEVELOPMENT -ANDROID BY SIVASANKARI

What's hot (20)

PPTX
Android architecture
PPTX
Getting Started with Android Application Development
PPTX
iOS Development, with Swift and XCode
ODP
Intro To Android App Development
PDF
01 03 - introduction to android
PDF
01 11 - graphical user interface - fonts-web-tab
PDF
01 02 - introduction - adroid stack
PPTX
Android developer uk and its related information
PPTX
Introduction to Android programming
PDF
Mobile Programming - 2 Jetpack Compose
PPTX
Android Synopsis
PPTX
Android Project Presentation
DOCX
Questions About Android Application Development
PPT
Android overview
PDF
Android studio 2.2 Tips and Tricks
PPTX
Basic of Android App Development
PPTX
AndroidOs
PPTX
Android Development Training
Android architecture
Getting Started with Android Application Development
iOS Development, with Swift and XCode
Intro To Android App Development
01 03 - introduction to android
01 11 - graphical user interface - fonts-web-tab
01 02 - introduction - adroid stack
Android developer uk and its related information
Introduction to Android programming
Mobile Programming - 2 Jetpack Compose
Android Synopsis
Android Project Presentation
Questions About Android Application Development
Android overview
Android studio 2.2 Tips and Tricks
Basic of Android App Development
AndroidOs
Android Development Training
Ad

Viewers also liked (9)

PDF
Android Intro
PPTX
PDF
Intro to Android (WWC Denver July 2015)
PPTX
Intro to Android : Making your first App!
PPTX
Getting Started Building Mobile Applications for iOS and Android
PPTX
Android ppt
PPTX
Android Basic Presentation (Introduction)
PPTX
Presentation on Android operating system
PPT
Android Intro
Intro to Android (WWC Denver July 2015)
Intro to Android : Making your first App!
Getting Started Building Mobile Applications for iOS and Android
Android ppt
Android Basic Presentation (Introduction)
Presentation on Android operating system
Ad

Similar to Java talks. Android intoduction for develompment (20)

PPTX
Introduction to Android Development Part 1
PDF
Android development training programme Day 1
PPT
PPT Companion to Android
PPT
Android In A Nutshell
PPTX
Android Basic
PPTX
Android
DOC
Google android white paper
PPTX
Android beginners David
PPTX
Android Application Development
PPT
introductiontoandroiddevelopment (2).ppt
PDF
Android interview questions and answers
ODP
Nativa Android Applications development
PPTX
Technology and Android.pptx
PDF
Android Introduction by Kajal
PPTX
Android 1-intro n architecture
PPTX
architecture of android.pptx
PDF
Marakana Android User Interface
PDF
01 what is android
PPTX
Introduction to android
PPT
Android primer
Introduction to Android Development Part 1
Android development training programme Day 1
PPT Companion to Android
Android In A Nutshell
Android Basic
Android
Google android white paper
Android beginners David
Android Application Development
introductiontoandroiddevelopment (2).ppt
Android interview questions and answers
Nativa Android Applications development
Technology and Android.pptx
Android Introduction by Kajal
Android 1-intro n architecture
architecture of android.pptx
Marakana Android User Interface
01 what is android
Introduction to android
Android primer

Recently uploaded (20)

PPTX
A Presentation on Artificial Intelligence
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPT
Teaching material agriculture food technology
PDF
cuic standard and advanced reporting.pdf
PPTX
Cloud computing and distributed systems.
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Encapsulation theory and applications.pdf
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
Machine Learning_overview_presentation.pptx
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Spectral efficient network and resource selection model in 5G networks
A Presentation on Artificial Intelligence
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Teaching material agriculture food technology
cuic standard and advanced reporting.pdf
Cloud computing and distributed systems.
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Reach Out and Touch Someone: Haptics and Empathic Computing
Encapsulation_ Review paper, used for researhc scholars
MIND Revenue Release Quarter 2 2025 Press Release
Agricultural_Statistics_at_a_Glance_2022_0.pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Encapsulation theory and applications.pdf
Assigned Numbers - 2025 - Bluetooth® Document
The Rise and Fall of 3GPP – Time for a Sabbatical?
Machine Learning_overview_presentation.pptx
Digital-Transformation-Roadmap-for-Companies.pptx
Programs and apps: productivity, graphics, security and other tools
Spectral efficient network and resource selection model in 5G networks

Java talks. Android intoduction for develompment

  • 2. - Android as OS - Android vs Java - General concepts in development - Interestingness - Features Agenda
  • 3. File-oriented system Android as OS What does it mean? It doesn't matter where the file is, in all programms which support it, we see it. *.doc for office *.fb2 for readers
  • 4. Work with memory Android as OS Android knows when it needs more memory and can close your application. We need to save important info.
  • 5. Android is not framework Android vs Java The Android SDK provides the tools and APIs necessary to begin developing applications on the Android platform using the Java programming language.
  • 6. Many APIs are similars Android vs Java but you don't have all J2SE APIs. Android uses its own library built on a subset of the Apache Harmony Java implementation. You can use java jars if they use only compatible APIs.
  • 7. Android doesn’t use JVM Android vs Java it has has special VM Dalvik*. Code compiles to standart java byte-code and next it converts, with utility dx, to .dex formart to next interpritation on VM Dalvik. *Dalvik - fishers island in Iceland
  • 8. General concepts in development Gradle Gradle is an open source build automation system that builds upon the concepts of Apache Ant and Apache Maven and introduces a Groovy-based domain-specific language (DSL) instead of the XML form used by Apache Maven of declaring the project configuration.
  • 9. General concepts in development Activity An Activity is an application component that provides a screen with which users can interact in order to do something, such as dial the phone, take a photo, send an email, or view a map. Each activity is given a window in which to draw its user interface.
  • 10. General concepts in development Activity An Activity is an application component that provides a screen with which users can interact in order to do something, such as dial the phone, take a photo, send an email, or view a map. Each activity is given a window in which to draw its user interface.
  • 11. General concepts in development Layout A layout defines the visual structure for a user interface, such as the UI for an activity or app widget. You can declare a layout in two ways: Declare UI elements in XML. Instantiate layout elements at runtime.
  • 12. General concepts in development Layout
  • 13. General concepts in development Layout
  • 14. General concepts in development Layout
  • 15. General concepts in development Service. Broadcast receiver A service is a component that runs in the background to perform long-running operations without needing to interact with the user and it works even if application is destroyed. Broadcast Receivers simply respond to broadcast messages from other applications or from the system itself. These messages are sometime called events or intents.
  • 16. General concepts in development Android manifest Every application must have an AndroidManifest.xml file (with precisely that name) in its root directory. The manifest file presents essential information about your app to the Android system, information the system must have before it can run any of the app's code.
  • 17. General concepts in development Android manifest
  • 18. Features Lifecycles Many components in Android have its own lifecycle. Android system calls a series of lifecycle methods on the component which running now in the user interface or other components in background. Activity lifecycle
  • 19. 1 dp = 0.75 px 1 dp = 1 px 1 dp = 1.5 px 1 dp = 2 px 1 dp = 3 px Features dp instead of px Density-independent pixels (pronounced “dips”) are flexible units that scale to uniform dimensions on any screen. When developing an Android application, use dp to display elements uniformly on screens with different densities. low (ldpi) medium (mdpi) high (hdpi) extra high (xhdpi) extra-extra-high (xxhdpi)
  • 20. Features Simple localization Put the application's default text in a file with the following location and name:res/values/strings.xml (required directory) You want to localize all the text in your application to Ukranian. In this case, you could create second alternative strings.xml files, each stored in a locale-specific resource directory:res/values-uk/strings.xml If the device is set to any language other than Ukranian, Android will load title from the res/values/strings.xml file. If the device is set to Ukranian, Android will load title from the res/values- uk/strings.xml file.
  • 21. Interestingness Firebase Firebase's is a NoSQL database which provides an API that allows developers to store and sync data in realtime to every connected client. Database is storing in JSON. When data changes, the Firebase automatically sycn it with connected clients. Before data has been writen to server it saves in local, what gives possibility to working offline.
  • 25. THANKS FOR ATTENTION Aleksei Miliutin Contact info: skype: leshkou email: leshkou@gmail.com