Android trainingforbeginners

Post on 13-May-2015

1.136 views 0 download

description

presentation slides by Anish, Ritesh and Samrakchan

Transcript of Android trainingforbeginners

Android Training for Beginners

By:Anish Shrestha (F1 Soft, app)

Ritesh Bhattarai (Freelance, game)Samrakchan Ghimire (Gorato, app)

What is Android?

Introduction to Android

Andy Rubin

Father of Android

Requirements

JDK

Android SDK

Eclipse (or IntelliJ, or AIDE app)

ADT (Android Development Tools) plugin for Eclipse

AVD (Android Virtual Device)

Instructions: http://developer.android.com/sdk/installing.html

Installation

Say Hello to Android

Android Folder Structure

Relationship between Java and UML files

GUI layout editor

Functions of Manifest

-activity -permission

-uses

-theme

HelloAndroid Application

Activity

LifeCycle

LifeCycle

Activity

ListActivity

TabActivity

PreferenceActivity

ExpandableListActivity

FragmentActvity

NativeActivity (C/C++)

Types of Activity

Intent

Multiple Activity

List:

List stores the sequence of elements. It may contain duplicate elements. The elements of List are accessed by its position.

Set:

Set is data Structure which do not allow duplicate elements.

ArrayList:

Resizable Array

Most Usable Java Classes

Map: An object that maps key to value, no duplicate key, one key for each value.

HashMap: HashMap implements all the methods of Map interface and permits null value and null key. It is unsynchronized

Thread : A class used for multithreading program

Java Classes (Contd.)

Runnable:

is an interface for creating thread.

Vector:Same as ArrayList but methods of Vector are synchronized

AsyncTask: Android class ... onPreExecute, doInBackground, onProgressUpdate, onPostExecute

Java Classes (Contd.)

On Scroll Loading

Lazy Loading of Images

Fault Tolerance

User Preferences

Memory Management

Developing Professional App

Gestures

Custom Views

Libraries and APIs

- Google Map API

- Facebook Graph API (HackBook)

- PayPal MPL Library

Developing Professional App (contd.)

Book:-Beginning Android 2 (or 4), Apress Publication, Mark Murphy

-Professional Android 2 App Development

Wrox, Reto Meier

Video:-Android Boot Camp

http://www.youtube.com/playlist?list=PLE08A97D36D5A255F&feature=plcp

-Google I/O Videos

Learning Material & Resources

Happy Programming!!

Thank You