Android training day 1

Embed Size (px)

Citation preview

Android Apps Development TrainingDay - 1

Introduction

Vivek BhusalMobile Application Developer

YoungInnovations

Experience: 2 yrs in mobile application development

Started with Windows mobile application

Applications: Toastmaster Timer, I Paid A Bribe - Nepal, StoresMunk, Marriage Center Collection, etc.

Rakeeb RajbhandariJr. Mobile Application Developer

YoungInnovations

Experience: 6 months

Applications: Taxi Fare Calculator, Self Help.

Anjan ShresthaUX Lead

YoungInnovations

Experience: 5+ yrs.

Designed for various websites and mobile applications.

Prawesh ShresthaProject Manager

YoungInnovations

Experience: 3+ yrs.

Manager for Mobile Nepal.

Where it all started

Android Inc.Motto:Smarter mobile devices that are more aware of its owner's location and preferences

Google acquires a small startup Android Inc. in 2005

Google enters into the mobile communications market

1st commercially available Android phone: HTC Dream 2008 Android 1.0

Naming ConventionsCupcake, Donut, Eclair, Froyo , Gingerbread, noticed something ???

Rumor has it that the Android mascot was stolen !

Android not only for phones and tablets.

Android Facts

Version Features

Version 1.0 : Android Market

Version 1.5: Support for widgets

Version 1.6: Quick Search Box

Version 2.0: Multiple accounts

Version 2.2: Android Cloud to Device Messaging

Version 2.3 : NFC

Version 3.0: New virtual & holographic UI

Version 4.0: Recent apps multitasking

Version 4.1: Google Now search app

Mobile Community Nepal

Mobile Nepal

Events:Hello Sarkar

M2Work Hackathon

Pivot Nepal

NASA Space Apps

Why Android

Open source Savior of all !

Free development tools unlike X-tools

Play Store

Multiple Device Support

JAVA in android

Object Oriented ProgrammingClasses, Methods and Objects

Android's own libraries and classes

Beginning Android Development

EclipseADT Plugin

Some common installation/update issues

Android Basics

View System*

Content Provider

Resource Manager*

Notification Manager

Activity Manager*

View System

Building blocks to our application.

UI elements and views.

TextViews, EditTexts, Buttons, etc.

If you want to make your application look handsome this is where you start from.

Resource Manager

Access to non-code resources.

Logos, Drawables, Fonts, Audio files etc.

Activity Manager

Managing your application, maintaining it.

Basic fundamentals here:Activity

Intent

Activity

The application's presentation layer.

We build our UI around the activity class.

They use views, fragments to display layouts.

Interaction logic for user actions.

Intent

page 2

Intent = Redirecting !

But wait

Intent is used to call into android's drivers, other applications as well.

Powerful inter/intra application message-passing framework.

Building your first android application

UI: layoutsTwo Edittexts

Two Buttons

One TextView

Interaction: Class