Вы находитесь на странице: 1из 11

Report On

Android Training

By- LAKSHYA
What I learnt ??
 Basic JAVA concepts
 About Android OS
 About Android Studio
 Setting up Android Studio
 Structure of Apps
 Required files in an app
 About Activities
 About Fragments
 Android Manifest file
 About Intents in Android
 Material Design
 Runtime permissions
 Storage Options
 Online Authorization
 Firebase and JSON
What is Android ?

 Android is a mobile operating system developed by Google.


 It is based on a modified version of the Linux kernel and other open source
software, and is designed primarily for touchscreen mobile devices such as
smartphones and tablets.
 Android's default user interface is mainly 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,
along with a virtual keyboard.
 Applications ("apps"), which extend the functionality of devices, are written
using the Android software development kit (SDK) and, often, the Java
programming language.
Features Of Android

 Open Source
 Interactive UI
 Application Framework
 Connectivity
 Storage Databases
 Media Support
 Multitasking
 GCM (Google Cloud Messaging)
 Near field communication
 Automation
 Widgets
What is Android Studio?

Android Studio is the official integrated development environment (IDE) for


Google's Android operating system, built on JetBrains' IntelliJ IDEA software
and designed specifically for Android development. It is available for
download on Windows, macOS and Linux based operating systems. It is a
replacement for the Eclipse Android Development Tools (ADT) as the primary
IDE for native Android application development.
Android Studio was announced on May 16, 2013 at the Google I/O
conference.
Since 7 May 2019, Kotlin is Google’s preferred language for Android app
development. Still, other languages are supported, including by Android
Studio.
App Component's

App components are the essential building blocks of an Android app.


Each component is an entry point through which the system or a user
enter your app. Some components depend on others.
There are four different types of app components:
Activities
Services
Broadcast receivers
Content providers
Each type serves a distinct purpose and has a distinct lifecycle that defines
how the component is created and destroyed. The following sections describe
the four types of app components.
Introduction to Activities

The Activity class is a crucial component of an Android app, and the way activities
are launched and put together is a fundamental part of the platform's application
model.
Unlike programming paradigms in which apps are launched with a main() method,
the Android system initiates code in an Activity instance by invoking specific
callback methods that correspond to specific stages of its lifecycle.

An activity is the entry point for interacting with the user. It represents a single
screen with a user interface.
Introduction to Services

A service is a general-purpose entry point for keeping an app running in the


background for all kinds of reasons. It is a component that runs in the background
to perform long-running operations or to perform work for remote processes.
A service does not provide a user interface. For example, a service might play
music in the background while the user is in a different app, or it might fetch
data over the network without blocking user interaction with an activity.
Introduction to Broadcast Receivers

A broadcast receiver is a component that enables the system to deliver events


to the app outside of a regular user flow, allowing the app to respond to system-
wide broadcast announcements. Because broadcast receivers are another well-
defined entry into the app, the system can deliver broadcasts even to apps that
aren't currently running. So, for example, an app can schedule an alarm to post a
notification to tell the user about an upcoming event... and by delivering that
alarm to a Broadcast Receiver of the app, there is no need for the app to remain
running until the alarm goes off. Many broadcasts originate from the system—for
example, a broadcast announcing that the screen has turned off, the battery is
low, or a picture was captured. Apps can also initiate broadcasts—for example, to
let other apps know that some data has been downloaded to the device and is
available for them to use.
Content Providers

In android content provider is basically to perform inter-process


communication, through which data between two apps can be exchanged. In
android, every application, by default, has an unique Id and different storage
path in OS for security purposes and they run on different processes.
What content provider does is abstraction to inter-process communication.
Content Provider always gets executed first rather than broadcast receiver,
services ,activities etc. because it runs synchronously i.e. it runs on main
thread.
Thank You

Вам также может понравиться