The slides from the Java Meetup which was held in 12th of March 2015 at WSO2 Inc. Sri Lanka. Introduction to Android Development. By : Kasun Delgolla, Chathura Dilan And Inosh Perera, Engineers @ WSO2.
This document provides an introduction to Android development. It discusses what Android is, the benefits of developing for Android, Android architecture and core building blocks. Android is an open source software stack that includes an operating system, middleware and key applications for mobile devices. It is developed by the Open Handset Alliance led by Google. The document outlines Android's architecture including its use of Linux kernel, Dalvik virtual machine and Java programming language. It also describes important Android concepts like activities, views, resources, intents and AndroidManifest.xml.
The document provides an overview of Android development including:
- The architecture of the Android OS and applications
- Tools available in the Android SDK for development
- The lifecycle of Android applications
- Future developments such as Android Open Accessory Protocol and Google TV
Android fundamentals and tutorial for beginnersBoom Shukla
油
Android is an open-source software stack that includes an operating system, middleware, and key applications for mobile devices. It uses the Java programming language and a custom virtual machine called Dalvik. The Android SDK provides tools for developing Android applications. Applications are built from components like activities, services, broadcast receivers and content providers that interact using intents. The manifest file identifies application components and permissions.
Android is a software stack developed by Google for building mobile apps. It includes an operating system, middleware, and key apps. Developers use the Android SDK and Eclipse IDE to build Android apps. The SDK includes tools like an emulator and debugger. Common Android versions include Cupcake, Donut, Eclair, Froyo, Gingerbread, Honeycomb, Ice Cream Sandwich, Jelly Bean, and KitKat. The emulator allows testing apps on a virtual mobile device without using a physical device.
This is a basic crash course for android development covers:
Android Studio,Hello World Application,Application Components,Application Resources,User Interface,Good UI,Play Store
際際滷s for basic Hello World and develop an app for controlling arduino and robot.
This app uses the API call and parse the JSON response from arduino to show the status of robot.
This document outlines an agenda for a mobile development camp workshop on Android development. The agenda includes introductions to Android architecture, building blocks like activities and intents, and best practices. It provides overviews and definitions of key Android concepts like the Dalvik VM, application lifecycles, and using intents to navigate between activities. Attendees will learn how to build their first basic Android application.
Android is a mobile operating system based on Linux. It has gone through several versions with new features added over time. The core building blocks of Android are activities, views, intents, services, content providers, fragments, and the AndroidManifest.xml file. This document provides tutorials on how to set up Android in Eclipse, make simple Android apps, and describes some of Android's main UI widgets.
This document provides an overview of Android programming. It defines Android as an open-source operating system and development platform for mobile devices. Key points covered include Android's version history, core features and capabilities, the software stack and development framework, important terminology, and application fundamentals. Native Android applications like email, SMS, and maps are also briefly mentioned.
Android App Development Intro at ESC SV 2012Opersys inc.
油
This document provides an introduction to Android app development. It begins with an overview of what Android is and its origins at Google. It then outlines the key aspects of developing apps for Android, including its app model, user experience features, internal architecture, and SDK. The document discusses debugging tools and techniques, alternative app marketplaces, and the core app components in Android like activities, services, and content providers.
This document provides an overview of Android programming. It discusses Android's software layers, the Dalvik virtual machine, the Android developer toolchain including Eclipse and emulators, basic programming constructs like activities, intents, services, and broadcast receivers. It also touches on security, performance considerations, and connectivity APIs. The presentation aims to introduce developers to Android programming in under an hour.
This slide from Android Application Programming Seminar at a Technical University of Vietnam.
Throughout the slide, audience will have the general knowledge about Android OS, Architecture. The slide also provide the Android Application structure, the choices of framework or language to develop an Android application.
Real Time Audio is an application is written for this seminar.
Everyone can download from Google Play:
https://play.google.com/store/apps/details?id=junoteam.com.realtimerecording
This document provides an overview of setting up the Android development environment and creating basic Android projects. It discusses downloading the Java Development Kit (JDK), Eclipse IDE, and Android SDK. It also explains how to install the Android Development Tools (ADT) plugin for Eclipse and configure the SDK and AVD Manager. The document demonstrates how to create a simple "Hello World" project and tabbed application. It also provides information on accessing sensors like GPS and accelerometers as well as using local SQLite and remote databases with Android applications.
Introduction to Android development - Presentation ReportAtul Panjwani
油
A powerpoint presentation on Introduction to android development
prepared for college seminar
[ppt is also uploaded named "Introduction to Android development - Presentation"]
Source: developer.android.com
Android is an open source software stack that includes an operating system, middleware, and key applications built around the Linux kernel. The Android platform was developed by Google along with the Open Handset Alliance, a consortium of technology and mobile companies. The Android architecture consists of Java applications running on a custom virtual machine called Dalvik, with native code libraries for hardware-specific operations, and a set of core applications.
This document provides an introduction to the Android platform, including:
- Android is an open-source, Linux-based operating system used for mobile devices. It includes features like integrated apps, SDK for developing apps, and customization options.
- The Android software stack consists of the Linux kernel, native libraries, Android runtime including the Dalvik VM, application framework, and applications.
- The document outlines how to set up the Android development environment in Eclipse, including installing the SDK, ADT plugin, and creating an Android Virtual Device for testing apps.
- It describes the basic components of an Android app - activities, services, content providers, and broadcast receivers.
- Steps are provided for
Introduction to Android, Architecture & ComponentsVijay Rastogi
油
Android is an open-source software platform based on the Linux kernel and developed by Google. It consists of Java applications that run in a Dalvik virtual machine. The document discusses the key components of Android including activities, services, content providers, broadcast receivers, intents, notifications, resources, fragments, and widgets. It provides a detailed history of Android versions from 1.0 to 4.3 and their new features. The architecture of Android and how the different application building blocks interact and communicate is also explained.
Android is an open source operating system used for mobile devices like smartphones and tablets. It is developed by Google and managed by the Open Handset Alliance. The Android manifest file contains important configuration settings for Android applications, including supported SDK versions, required permissions, application components and more. It determines how the application interacts with the operating system.
This document outlines the major project of building a web app. It discusses that a web app is an app that runs in a web browser and acts like a native mobile app. It then discusses features of Android studio, the differences between web and native apps, requirements for building the app like hardware, software and SDK requirements. It also discusses key attributes like activities, layouts and views used in building the app. Finally, it provides screenshots of the installation, user interface and references used.
The document introduces Android programming and provides an overview of key concepts including:
- Android applications are developed using Java and compiled into APK files to run on the Android operating system which uses a Linux kernel and Dalvik virtual machine.
- The AndroidManifest.xml file contains app metadata and declares app components like activities, services, and permissions.
- UI resources like layouts, drawables, and strings are organized by screen density in folders like res/layout-hdpi. Common layouts include LinearLayout and RelativeLayout.
- Activities display app screens and follow a back stack model. Fragments allow modular reuse of UI.
- Services run in the background, AsyncTask simpl
This document discusses setting up continuous integration for Android projects using Jenkins. It recommends configuring Jenkins to run builds, tests, linting, and other analysis on code changes. Tests would include unit tests and monkey tests. Builds should support different configurations like debug and release. Plugins are available for Jenkins to support Android-specific tasks like running the emulator. The continuous integration system can be run on a master node and multiple slave nodes on different operating systems to test cross-platform compatibility.
Basic Information on Android development to start with...This presentation covers What is Android, Its development process and Build Process which an Android Beginner should have know
Android development - the basics, MFF UK, 2014Tom叩邸 Kypta
油
This document provides an overview of Android development, including:
- The basics of the Android platform, ecosystem, and history
- Tools for Android development like Android Studio and SDK
- Key Android app components like Activities, Services, and Broadcast Receivers
- Building a basic "Hello World" Android app
- Designing user interfaces with widgets and handling configuration changes
Generating efficient APK by Reducing Size and Improving PerformanceParesh Mayani
油
Talk delivered in GDG Ahmedabad DevFest 2017 (#DevFestAhm) on 5th November, 2017.
Talked about various tips/tricks and steps to reduce apk size. Also covered some of the tools that I have used for reducing apk size.
Enjoy actual presentation with GIFs http://bit.ly/reduce-apk-size-drive
Android is a software stack for mobile devices that includes an operating system, middleware and key applications. It allows developers to write managed code in Java for the Dalvik virtual machine. The Android SDK provides tools and APIs to develop applications that use features like its application framework, SQLite database, media support and hardware integration. Developers can create Android applications by defining activities, services and content providers and connecting them with intents in the AndroidManifest file.
- Android is an open source operating system developed by Google that is used primarily for touchscreen mobile devices like smartphones and tablets. It is based on the Linux kernel and allows developers to write code using Java or Kotlin.
- The Android architecture consists of libraries and APIs on top of the Linux kernel, including a Dalvik virtual machine that executes applications. Apps are built using activities, fragments, intents and other components defined in the Android manifest file.
- Becoming an Android developer provides good career prospects with average salaries for entry-level positions around 3 lakhs per year in India. While Android has a huge user base, developing for its diverse ecosystem of devices can be challenging compared to platforms like iOS.
Android developing & OAuth
This document provides an overview of Android development and OAuth. It begins with an introduction to Android, covering what Android is, its update history, main products and system structure. It then discusses the Android development environment, essential tools, project structure and development flow. Key concepts like activities, intents and the activity lifecycle are explained. The document also introduces OAuth, providing examples of how it allows users to grant access to private resources without sharing credentials. It discusses some debates around OAuth 2.0 and concerns about its lack of signatures and cryptography.
Android is a mobile operating system based on Linux. It has gone through several versions with new features added over time. The core building blocks of Android are activities, views, intents, services, content providers, fragments, and the AndroidManifest.xml file. This document provides tutorials on how to set up Android in Eclipse, make simple Android apps, and describes some of Android's main UI widgets.
This document provides an overview of Android programming. It defines Android as an open-source operating system and development platform for mobile devices. Key points covered include Android's version history, core features and capabilities, the software stack and development framework, important terminology, and application fundamentals. Native Android applications like email, SMS, and maps are also briefly mentioned.
Android App Development Intro at ESC SV 2012Opersys inc.
油
This document provides an introduction to Android app development. It begins with an overview of what Android is and its origins at Google. It then outlines the key aspects of developing apps for Android, including its app model, user experience features, internal architecture, and SDK. The document discusses debugging tools and techniques, alternative app marketplaces, and the core app components in Android like activities, services, and content providers.
This document provides an overview of Android programming. It discusses Android's software layers, the Dalvik virtual machine, the Android developer toolchain including Eclipse and emulators, basic programming constructs like activities, intents, services, and broadcast receivers. It also touches on security, performance considerations, and connectivity APIs. The presentation aims to introduce developers to Android programming in under an hour.
This slide from Android Application Programming Seminar at a Technical University of Vietnam.
Throughout the slide, audience will have the general knowledge about Android OS, Architecture. The slide also provide the Android Application structure, the choices of framework or language to develop an Android application.
Real Time Audio is an application is written for this seminar.
Everyone can download from Google Play:
https://play.google.com/store/apps/details?id=junoteam.com.realtimerecording
This document provides an overview of setting up the Android development environment and creating basic Android projects. It discusses downloading the Java Development Kit (JDK), Eclipse IDE, and Android SDK. It also explains how to install the Android Development Tools (ADT) plugin for Eclipse and configure the SDK and AVD Manager. The document demonstrates how to create a simple "Hello World" project and tabbed application. It also provides information on accessing sensors like GPS and accelerometers as well as using local SQLite and remote databases with Android applications.
Introduction to Android development - Presentation ReportAtul Panjwani
油
A powerpoint presentation on Introduction to android development
prepared for college seminar
[ppt is also uploaded named "Introduction to Android development - Presentation"]
Source: developer.android.com
Android is an open source software stack that includes an operating system, middleware, and key applications built around the Linux kernel. The Android platform was developed by Google along with the Open Handset Alliance, a consortium of technology and mobile companies. The Android architecture consists of Java applications running on a custom virtual machine called Dalvik, with native code libraries for hardware-specific operations, and a set of core applications.
This document provides an introduction to the Android platform, including:
- Android is an open-source, Linux-based operating system used for mobile devices. It includes features like integrated apps, SDK for developing apps, and customization options.
- The Android software stack consists of the Linux kernel, native libraries, Android runtime including the Dalvik VM, application framework, and applications.
- The document outlines how to set up the Android development environment in Eclipse, including installing the SDK, ADT plugin, and creating an Android Virtual Device for testing apps.
- It describes the basic components of an Android app - activities, services, content providers, and broadcast receivers.
- Steps are provided for
Introduction to Android, Architecture & ComponentsVijay Rastogi
油
Android is an open-source software platform based on the Linux kernel and developed by Google. It consists of Java applications that run in a Dalvik virtual machine. The document discusses the key components of Android including activities, services, content providers, broadcast receivers, intents, notifications, resources, fragments, and widgets. It provides a detailed history of Android versions from 1.0 to 4.3 and their new features. The architecture of Android and how the different application building blocks interact and communicate is also explained.
Android is an open source operating system used for mobile devices like smartphones and tablets. It is developed by Google and managed by the Open Handset Alliance. The Android manifest file contains important configuration settings for Android applications, including supported SDK versions, required permissions, application components and more. It determines how the application interacts with the operating system.
This document outlines the major project of building a web app. It discusses that a web app is an app that runs in a web browser and acts like a native mobile app. It then discusses features of Android studio, the differences between web and native apps, requirements for building the app like hardware, software and SDK requirements. It also discusses key attributes like activities, layouts and views used in building the app. Finally, it provides screenshots of the installation, user interface and references used.
The document introduces Android programming and provides an overview of key concepts including:
- Android applications are developed using Java and compiled into APK files to run on the Android operating system which uses a Linux kernel and Dalvik virtual machine.
- The AndroidManifest.xml file contains app metadata and declares app components like activities, services, and permissions.
- UI resources like layouts, drawables, and strings are organized by screen density in folders like res/layout-hdpi. Common layouts include LinearLayout and RelativeLayout.
- Activities display app screens and follow a back stack model. Fragments allow modular reuse of UI.
- Services run in the background, AsyncTask simpl
This document discusses setting up continuous integration for Android projects using Jenkins. It recommends configuring Jenkins to run builds, tests, linting, and other analysis on code changes. Tests would include unit tests and monkey tests. Builds should support different configurations like debug and release. Plugins are available for Jenkins to support Android-specific tasks like running the emulator. The continuous integration system can be run on a master node and multiple slave nodes on different operating systems to test cross-platform compatibility.
Basic Information on Android development to start with...This presentation covers What is Android, Its development process and Build Process which an Android Beginner should have know
Android development - the basics, MFF UK, 2014Tom叩邸 Kypta
油
This document provides an overview of Android development, including:
- The basics of the Android platform, ecosystem, and history
- Tools for Android development like Android Studio and SDK
- Key Android app components like Activities, Services, and Broadcast Receivers
- Building a basic "Hello World" Android app
- Designing user interfaces with widgets and handling configuration changes
Generating efficient APK by Reducing Size and Improving PerformanceParesh Mayani
油
Talk delivered in GDG Ahmedabad DevFest 2017 (#DevFestAhm) on 5th November, 2017.
Talked about various tips/tricks and steps to reduce apk size. Also covered some of the tools that I have used for reducing apk size.
Enjoy actual presentation with GIFs http://bit.ly/reduce-apk-size-drive
Android is a software stack for mobile devices that includes an operating system, middleware and key applications. It allows developers to write managed code in Java for the Dalvik virtual machine. The Android SDK provides tools and APIs to develop applications that use features like its application framework, SQLite database, media support and hardware integration. Developers can create Android applications by defining activities, services and content providers and connecting them with intents in the AndroidManifest file.
- Android is an open source operating system developed by Google that is used primarily for touchscreen mobile devices like smartphones and tablets. It is based on the Linux kernel and allows developers to write code using Java or Kotlin.
- The Android architecture consists of libraries and APIs on top of the Linux kernel, including a Dalvik virtual machine that executes applications. Apps are built using activities, fragments, intents and other components defined in the Android manifest file.
- Becoming an Android developer provides good career prospects with average salaries for entry-level positions around 3 lakhs per year in India. While Android has a huge user base, developing for its diverse ecosystem of devices can be challenging compared to platforms like iOS.
Android developing & OAuth
This document provides an overview of Android development and OAuth. It begins with an introduction to Android, covering what Android is, its update history, main products and system structure. It then discusses the Android development environment, essential tools, project structure and development flow. Key concepts like activities, intents and the activity lifecycle are explained. The document also introduces OAuth, providing examples of how it allows users to grant access to private resources without sharing credentials. It discusses some debates around OAuth 2.0 and concerns about its lack of signatures and cryptography.
This document provides an overview of an Android application development session that covers topics from the basics of Android to an advanced level. It discusses introducing Android and the Android SDK. It describes how to set up the development environment on Windows and Linux and install the Android Development Tools plugin for Eclipse. It demonstrates how to create an Android project in Eclipse and build a simple "Hello World" application. It also explains the structure of an Android project directory and the purpose of key directories like res, src, and values.
This document provides an overview of mobile application development for Android. It discusses the Android platform architecture and application framework. The key application building blocks in Android like activities, intents, services and content providers are explained. It also describes the development tools and steps to create a simple "Hello World" application in Android. These include setting up the Android SDK, creating a new project in Eclipse, designing the UI layout and adding code to the activity. The document emphasizes that Android provides APIs for common tasks and uses the Java programming language for application development.
The document discusses the course Mobile Application Development. It provides details about the course teacher, outcomes, textbooks, and configuration of the Android development environment. The key topics covered are the Android SDK, Android Virtual Devices, emulators, Dalvik Virtual Machines, and steps to install Android Studio and SDK.
Getting started with android programmingPERKYTORIALS
油
Android is an open source operating system used in phones, tablets, and other devices. This document provides an overview of getting started with Android programming, including introducing Android, setting up the development environment, creating a basic "Hello World" app, and debugging apps. Key aspects covered are the app publishing process, versioning apps, signing apps, and specifying API level requirements in the manifest file.
This document provides an overview of Android development, including:
- What Android is and its key components like the Linux kernel and Dalvik VM.
- The fundamentals of building Android apps using Java and the app framework, including activities, services, content providers, and broadcast receivers.
- How the Android framework API works for each component and their lifecycles.
- How to get started with Android development using the SDK tools, Eclipse plugin, and creating a simple test project and virtual device.
This document provides an overview of Android development. It outlines the Android platforms, Google Play, system architecture, installation requirements, and IDE. It discusses creating a "Hello World" project using Model-View-Controller. It also covers the Android Debug Bridge, activities, fragments, and differences between native, web and hybrid apps. Key topics include Android versions, top 5 phones, publishing apps, and using emulators and the Android Virtual Device Manager.
The document discusses the history and development of the Android operating system. It describes how Android was founded in 2003 by Andy Rubin and was later acquired by Google in 2005. It provides an overview of Android versions from 1.0 to the current version, the open source nature of Android, and the tools and languages used to develop Android applications like Java and XML. It also summarizes the process for submitting an Android app to the Google Play store.
Welcome To
The Definitive Guide to Android App Development
With the introduction of smartphones, usage of mobile phones has increased dramatically. The way we consume material, do business, and go about our daily lives has altered as a result of smartphones. Because Android powers 85% of smartphones, developing Android apps is a requirement for any internet business worth its salt. The Google Plays tore is now being overrun with thousands of apps every day as a result of this. Everything is now accessible with a few clicks, including ordering food, hailing a cab, seeking work, and finding amusement. If you have the motivation to study Android App Development you can create any number of apps on your own, even though hiring an app development firm or company can be a quick method to get apps.
Android Introduction
Android is a mobile operating system that powers about 2.5 billion devices. Some of the device types powered by Android include phones, televisions, tablets, cameras, game consoles, car systems, and smart wearables. Android devices come in a variety of hardware combinations, but the operating system supports a number of standard functions like storage, cameras, connection, messaging, and more.
Android devices offer notable capabilities via the Android platform, some of which include: Widgets-provide quick access to information on the home screen, such as the current weather; Some of the typical features include a QR code scanner and custom ROMs, which let users modify or customize Android operating systems to their liking.
Starting Your Android App Development Adventure
Development of Android Applications: An Introduction
The development of an android-based mobile application for your company is referred to as android app development. Your core toolkit as an Android app developer should include knowledge of Java and C++. It is a prerequisite for beginning the process of developing Android mobile apps. The following software toolkits are provided by Android to help new Android developers get started:
Integrated Development Kit (IDK) for Software Development Kits
JDK, or Java Software Development Kit
Tools for creating, debugging, and simulating applications are provided by SDK. The IDE offers an interface for writing codes as well as a GUI for accessing SDK features. The preferred IDE is called Android Studio. In Android Studio, SDK Manager is informed by SDK packages. JDK is set up.
Programming Languages for the Development of Android Applications. Different programming languages (PL) can be used to create Android apps. The level of your proficiency in various programming languages, the advantages and disadvantages of each PL, andmost importantlywhat you hope to accomplish with your appall influence the language you choose.
Several languages are used to create Android mobile applications:
Java: Java is the official programming language used to create Android applications. Java is open source, safe, and user-friendly.
This document provides an overview of Android development and OAuth. It begins with definitions of Android and its history. It then discusses Android development environment, project structure, and the basic "Hello World" app. It introduces key Android concepts like activities and intents. The document also provides a detailed example walking through the OAuth authorization workflow. It concludes by discussing debates around the security of OAuth 2.0.
This document provides an overview of Android app development. It discusses what Android is, its history and architecture. It describes the core components of an Android app like activities, services, content providers and intents. It also discusses Android Studio as the IDE, system requirements, how to develop a first app, common programming languages and learning resources. The goal is to introduce the key concepts for developing Android apps.
This document provides an introduction to Android development using Eclipse. It discusses the basic components of an Android application, including activities, content providers, services and broadcast receivers. It also describes how to set up an Android virtual device to test applications. The tutorial explains how to create a "Hello World" app to demonstrate Android development and introduces some basic widgets to create user interfaces.
Introduction_to_android_and_android_studioAbdul Basit
油
This document provides an introduction to Android and Android Studio. It discusses what Android is, its operating system components, versions and features. It also describes Android Studio as the IDE for developing Android apps, outlining its tools and how to install, create, code and deploy an Android app. The document serves as a high-level overview of getting started with Android development.
Creating the first app with android studioParinita03
油
The document provides an overview of Android Studio, the integrated development environment for Android app development. It discusses what Android is, how Android Studio differs from Eclipse, and walks through creating a new project in Android Studio. The key steps covered are installing Android Studio, creating a new project, selecting project options like the application name and form factors, adding an initial activity, and running the app on an Android emulator.
1) This document discusses the basics of Android development including the Android architecture, tools, and software required.
2) The Android architecture consists of the Linux kernel at the bottom layer, with native libraries and the Android runtime in between. At the top are the application framework and applications.
3) Key tools for Android development include Android Studio, the Android SDK, Android emulator, and DDMS for debugging. The SDK includes tools like adb, SQLite, and platform-specific tools.
Mobile Application Development-Lecture 03 & 04.pdfAbdullahMunir32
油
The document provides an overview of mobile application development for Android. It discusses Android's software stack including the Dalvik Virtual Machine and how it has been replaced by Android Runtime. It also summarizes the different tools, features and types of applications that are part of the Android SDK. The document explains what Android runs on, why developers should build for Android and what is included in the Android development kit.
3. Here's what we gonna discuss
Introduction to Android OS and Android SDK
Application Development in general
Application types Exploring Google Play
Environment preparation (Android SDK tools)
Technological overview - XML, Java etc
Application framework
Developing a simple Android app
Monetization and Publishing process
4. Introduction to Android OS and Android SDK
Android A Linux based OS designed for touch screen mobile devices.
It was initially developed by Android Inc, and later in 2005, Google bought
android.
Android came into play in 2007 with the founding of OHA (Open Handset
Alliance) which is a consortium of 84 firms (Samsung, LG, Sony, HTC, Dell,
Intel, Motorola, Qualcomm, T-Mobile, Nvidia etc) to develop open standards for
mobile devices.
The first Android-powered phone, T-Mobile G1 was sold in October 2008.
Android is open source and Google releases the code under the Apache
License.
Each major release is named in alphabetical order after a dessert or sugary
treat; for example, version 1.5 Cupcake was followed by 1.6 Donut.
7. Now...
Android is the world's most popular mobile platform.
It's powerful specially because of Google product support (Ex:
Searching, Navigation, G+, Play Store, You Tube, Drive,
Gmail,Calendar etc...)
Multi-tasking
Widgets
Notifications
Voice Typing and Actions
Photos and videos
High-end devices
8. Application Development in General
We can define Android Application Development in 5 Stages
Come up with a fantastic concept
Design the App Including a cool UI
Develop the Application
Publish on Google Play
EARN :)
9. Application types Exploring Google Play
Within 600,000+ apps and games available on Google Play, we can find Apps which fall into
following categories
Business
Communication
Entertainment
Games
Health and Fitness
Media
Lifestyle
Books
Finance
News & Magazines
Shopping
Photography and many more...
10. Interface & Applications
Android's user interface is based on direct manipulation, using touch inputs that loosely
correspond to real-world actions, like swiping, tapping, pinching and reverse pinching to
manipulate on-screen objects.
Internal hardware such as accelerometers, gyroscopes and proximity sensors are used by
some applications to respond to additional user actions.
Android devices boot to the homescreen, the primary navigation and information point on
the device, which is similar to the desktop found on PCs.
Google offers the Google Play service in which programmers can offer their Android
application to Android users. Google phones include the Google Play application which
allows to install applications.
There are more than 600,000 apps and games available on Google Play.
12. Let's get started :)
Android SDK - Contains the necessary tools to create, compile and package Android application. It
also provides an Android device emulator and the Android debug bridge (adb) tool which allows to
connect to an virtual or real Android device.
Android Development Tools (ADT) -
Set of components (plug-ins) which comes packed with android studio/extend the
Eclipse IDE with Android development capabilities.
It contains all required functionalities to create, compile, debug and deploy Android
applications from the Eclipse IDE.
ADT also allows to create and start AVDs.
Provides specialized editors for resources files, e.g. layout files. These editors
allow to switch between the XML representation of the file and a richer user
interface via tabs on the bottom of the editor.
Dalvik Virtual Machine - The Android system uses a special virtual machine, i.e. the Dalvik Virtual
Machine to run Java based applications. Dalvik uses an own bytecode format which is different
from Java bytecode. Therefore you cannot directly run Java class files on Android, they need to get
converted in the Dalvik bytecode format.
13. How an APK is built
Android applications are primarily written in the Java programming language.
The Java source files are converted to Java class files by the Java compiler.
The Android SDK contains a tool called dx which converts Java class files into a .dex (Dalvik Executable) file.
All class files of one application are placed in one compressed .dex file.
During this conversion process redundant information in the class files are optimized in the .dex file. For
example if the same String is found in different class files, the .dex file contains only once reference of this
String.
The .dex file and the resources of an Android project, e.g. the images and XML files, are packed into an .apk
(Android Package) file. The program aapt (Android Asset Packaging Tool) performs this packaging.
The resulting .apk file contains all necessary data to run the Android application and can be deployed to an
Android device via the adb tool.
14. Android Security Concept
During deployment on an Android device, the Android system will create a
unique user and group ID for every Android application.
Each Android application will be started in its own process.
Every android application is isolated from other running applications.
If data should be shared, application should do that explicitly (Using
content provider or services).
15. Android Permission Concept
Android predefines permissions for certain tasks but every application can
define additional permissions.
An Android application declare its required permissions in
its AndroidManifest.xml configuration file.
In most cases the requested permissions will be presented to the user
before installation of the application. The user needs to decide if these
permissions are given to the application.
16. Application Components
An Android application consists out of different Android components and
additional resources. Each type serves a distinct purpose and has a
distinct life-cycle that defines how the component is created and
destroyed.
Activities
Services
Broadcast receiver
Content provider
18. Find the device location
LocationManager
FusedLocationApi (Via GoogleAPIClient)
19. 1. Import Google Play Services library
2. Update manifest with permissions and
Google play services meta tag
20. Add code related to location API to your
activity.
1. Implement the class from ConnectionCallbacks, OnConnectionFailedListener.
2. Check for availability of Google Play Services by calling checkPlayServices() in
onResume().
3. Connect to Google API client by calling mGoogleApiClient.connect() in onStart()
method. By calling this, onConnectionFailed(), onConnected() and
onConnectionSuspended() will be triggered depending upon the connection status.
4. Once Google API is successfully connected, displayLocation() should be called
in onConnected() method to get the current location.
5. Make sure that the WIFI and location is enabled on your device before you test.
If you need periodic location updates, you can
implement a LocationListener.
29. Gradle
Advanced build toolkit that manages dependencies
define custom build logic
Uses Groovy Syntax
Android Studio uses a Gradle wrapper
Android plugin for Gradle also runs independent of
Android Studio
The build configuration for your project is defined inside
build.gradle
32. Build variants
Build variants are combinations of product flavors
and build types
Product flavors represent product build versions of
an app, such as free and paid.
Build types represent the build packaging versions
generated for each app package, such as debug
and release.
The build system generates APKs for each
combination of product flavor and build type.
33. AppCompat
Enables you to bring your latest designs to
older Android platforms
dependencies {
compile "com.android.support:appcompat-
v7:21.0.+"
}
34. Android Layouts
Relative Layout - Enables you to specify the
location of child objects relative to each other
Linear Layout - A layout that organizes its
children into a single horizontal or vertical row.
35. Home Activity Views
Time - id = textViewTime, size = 36sp
Date - id = textViewDate, size = 18sp
Image - id = imageViewWeather, height/width= 200dp
Weather - id = textViewWeather, size = 18sp
Temp - id = textViewTemp, size = 64sp
City - id = textViewCity, size = 36sp
37. Range of screens supported
xlarge screens are at least 960dp x 720dp
large screens are at least 640dp x 480dp
normal screens are at least 470dp x 320dp
small screens are at least 426dp x 320dp
38. Multiple Layouts Files
res/layout/main_activity.xml
# For handsets (smaller than 600dp available width)
res/layout-sw600dp/main_activity.xml
# For 7 tablets (600dp wide and bigger)
res/layout-sw720dp/main_activity.xml
# For 10 tablets (720dp wide and bigger)
39. Fragments
A Fragment represents a behavior or a portion
of user interface in an Activity
Fragments has it's own life cycles
A fragment must always be embedded in an
activity
40. Adapter
The Adapter provides access to the data items.
Adapter is also responsible for making a View
for each item in the data set
41. Checking out the source from
Github
https://github.com/chaturadilan/Kalagune
45. Publishing Android app in Google
Play
A developer account must be created. $25
All applications need to be signed with a
cryptographic key that expires after October 22,
2033.
Maximum size for an APK published on Google
Play is 50MB or use APK Expansions