android introduction

22
Android Let’s jump

Upload: paramvir-singh

Post on 15-Apr-2017

107 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Android Introduction

AndroidLet’s jump

Page 2: Android Introduction

JourneyDeveloped by Google.

First released version 1.5(Cupcake).

Current version - 6.0 (Marshmallow)

Major contributors: Samsung, LG, Vodafone, Acer, Dell, HTC, Sony Ericsson, Intel, Wipro including others.

Pre-installed Google apps: Gmail, Google Calendar, Google Play, Google Music, Chrome and others.

Page 3: Android Introduction

Google Ion

Page 4: Android Introduction

Versions

Page 5: Android Introduction

ContentsApp Example

Android Basics - How an app works

Hello World

Android components

Why Android?

Page 6: Android Introduction

Lets Check Out An AppUse case - HomeShop18 Android App

Page 7: Android Introduction

How An App Works - Application sandboxA unique Id is assigned to each application.

Every application is run in a separate process.

Each application has its own set of Activities(screens).

Each application is granted permission for Internet, SMS, accessing location etc.

Page 8: Android Introduction

Starting Android Development

Java

&

Android Studio

Page 9: Android Introduction
Page 10: Android Introduction

Hello World

● Activity● Manifest file● Layout

Declare in Manifest file

Create ActivityCreate Layout

Page 11: Android Introduction
Page 12: Android Introduction

Activity● Represents a single screen in an App.● Hosts all the view components of the screen like button, textview and popups.● Hosts all the logic of user interaction.● Have their own lifecycle.

Page 13: Android Introduction

Activity

Page 14: Android Introduction

Layouts● Linear Layout● Relative Layout

ImageView

Button

TextView

Page 15: Android Introduction

Android Manifest FileDeclare Application Name

Declare Activities

Declare Application Theme

Declare Application Icon

Declare Other Application Component

Page 16: Android Introduction
Page 17: Android Introduction

The World of Android

Top Smartphone OS globally

Page 18: Android Introduction

StatsWorld:

Android - 83%

iOS - 14%

India:

Android - 64%

iOS - 2%

Page 19: Android Introduction

Apps Everywhere● App only startups● Government apps

Indian Government has its own App Store for Android apps.

(Mobile Sewa App Store)

Page 20: Android Introduction

Why learn Android?Why not any other technology?

1. Highest paying technology in India2. A lot of career opportunities3. Freshers are in high demand

Page 21: Android Introduction

Why Android over iPhone?Openness

Customizable

Affordable(low-cost)