Loading presentation...

Present Remotely

Send the link below via email or IM


Present to your audience

Start remote presentation

  • Invited audience members will follow you as you navigate and present
  • People invited to a presentation do not need a Prezi account
  • This link expires 10 minutes after you close the presentation
  • A maximum of 30 users can follow your presentation
  • Learn more about this feature in our knowledge base article

Do you really want to delete this prezi?

Neither you, nor the coeditors you shared it with will be able to recover it again.


Android Webinar

Free Webinar On Android App Development

Adit Lal

on 27 October 2014

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of Android Webinar

What is Android
Android is an Operating system
Android SDK and setup
Requisites to continue further :
Android latest ADT
Or Android studio Package
Is Android Java?
Any Questions so far
Android App Developement
Android Seminar
App Development Basics
It is the First complete , open and free mobile platform.
Smartphone operating system developed by Google and the Open Handset Alliance.
Open Source
Development Language is Java.
Yummy Deserts !!
Alpha (1.0)
Beta (1.1)
Cupcake (1.5)
Donut (1.6)
Eclair (2.0–2.1)
Froyo (2.2–2.2.3)
Gingerbread (2.3–2.3.7)
Honeycomb (3.0–3.2.6)
Ice Cream Sandwich (4.0–4.0.4)
Jelly Bean (4.1–4.3.1)
KitKat (4.4–4.4.4)
Lollipop (5.0)
Mobile OS
The answer is no
Android is not an implementation of any java Variants!!
It simply uses the Java Language
It implements part of Java 5 SE Specifications.
Android like java runs on a Virtual Machine known as DVM or dalvik virtual machine
Is Android Linux?
No again
Android is not Linux
Android is based on linux kernel but its not a GNU/Linux

Linux provides the following features to Android OS as a whole :
Hardware abstraction layer
Memory management
Process Management

The name “GNU” is a recursive acronym for “GNU's Not Unix!”. A Unix-like operating system is a software collection of applications, libraries, and developer tools, plus a program to allocate resources and talk to the hardware, known as a kernel. GNU is typically used with a kernel called Linux.
Unzip Android SDK Zip which contains Eclipse + SDK + required setup for ADT
Next , make sure JDK is installed correctly for your system X86 or X64
All Set !!
Oops Concept 101
Object-Oriented Programming is a methodology or paradigm to design a program using classes and objects. It simplifies the software development and maintenance by providing some concepts:

Inheritance - When one object acquires all the properties and behaviours of parent object i.e. known as inheritance. It provides code reusability. It is used to achieve runtime polymorphism.

Polymorphism-When one task is performed by different ways i.e. known as polymorphism. For example: to convense the customer differently, to draw something e.g. shape or rectangle etc.

Abstraction - Hiding internal details and showing functionality is known as abstraction. For example: phone call, we don't know the internal processing.

Encapsulation - Binding (or wrapping) code and data together into a single unit is known as encapsulation. For example: capsule, it is wrapped with different medicines.
For more information , bookmark this - http://www.javatpoint.com/java-oops-concepts
Whats a class and an object ,Basic diff between the two ?
Keywords - Note them down
keyword : this
‘this’ is used for pointing the current class instance. It can be used with variables or methods. Look into the following example:
class Test
private int i=10;
public void m()
In the above code this is used for the current instance. Since this is instance of a class it cannot be used inside a static method.

keyword : super

‘super’ is used for pointing the super class instance. See the following example.

class A
int k = 10;
class Test extends A
public void m()

In the above example the super keyword is used for accessing the super class variable.
keyword : Extends

A class declaration can use the extend keyword on another class, like this: class C extends B { }.
When a class C extends class B, C automatically has all variables and methods defined in class B. (think of it as automatic copy/paste system.)
If class C defines a variable or method that has the same name in class B, class C's definition overrides B's. Here's a example:

class B {
int x;
void setIt (int n) { x=n;}
void increase () { x=x+1;}
void triple () {x=x*3;};
int returnIt () {return x;}

class C extends B {
void triple () {x=x+3;} // override existing method
void quadruple () {x=x*4;} // new method

public class GetRich {
public static void main(String[] args) {
B b = new B();
System.out.println( b.returnIt() ); // prints 9

C c = new C();
System.out.println( c.returnIt() ); // prints 6
Android 101
Main Building Blocks
Content Providers
Broadcast Receivers
One of the primary purposes for the use of ContentProvider is data sharing. Since databases and other internal data stores are application-scoped, there’s no way to share information between applications. A content provider lets you expose access to your application’s data in a structured and uniform manner.
Broadcast is way of telling someone that now you have to that this is right time to do this.So do this.

Ex..There is teacher in class.If he broadcast a message while teaching and he does not specify any specific audience then all receiver(Student and will act).But if specify any action to particular student then he will act.
See in the pic.Only student having name Tofeeq will act
XML - Android UI Element
Two Ways to Approach XML
Android is a modern, open source operating system and SDK for mobile devices. With it you can create powerful mobile applications. This becomes even more attractive when your applications can access Web services, which means you need to speak the language of the Web: XML. In this article, you will see different options for working with XML on Android and how to use them to build your own Android applications.
You can mix and match both styles.

Best Practice :
Start with XML and declare most of UI
Switch to Java and implement the UI logic
SDK manager handles all downloads of the platforms , tools ,extra.
Android Studio is where all the project files are edited or created
Note- Ensure JDK is Installed
Start a new Android Project
Ensure You have the required files and Android Studio ready
Step 1
Step 3
Open Android Studio
Create a new Project
Step 2
Develop apps
Step 4
Step 5
Let's Run
Step 6
Understanding the Project Structure
First Setup a new Virtual Device or Connect a Real device with Development ADB on
Click the icon highlighted as seen android studio

In the new AVD manager window, click " NEW"
Fill the new window with the following:
Start the new AVD u just created
Back to Android Studio , click the Run Button
On the Emulator the Hello World App is Executed
This is just the Beginning
Services Life Cycle
The project structure

Android Studio projects contain an application module by default (app). Table 1 lists where the main components of your app are located inside this module.

Default location of the components in an application module.

Component Location:

Source files - app/src/main/java/<package>/
Resource files - app/src/main/res/
Manifest file - app/src/main/AndroidManifest.xml
Build file - app/build.gradle
Some Useful Links to bookmark :

Interactive Quiz

What is ART ?
A word from Google
ART is a new Android runtime being introduced experimentally in the 4.4 release KitKat. This is a preview of work in progress in KitKat. It is available for the purpose of obtaining early developer and partner feedback. - Android developers
What does L in Android L stand for ?
Why is Android Studio used , than Eclipse ADT tools
Its the new gold standard and recommended from Google

Plus its super fun and easy with gradle

Google has android running on devices such as ?
Android Tv
Android Wear
Android Auto
Adit Lal
Cognitive Clouds
Full transcript