Android workshop

Preview:

DESCRIPTION

Slides for a workshop I held at NIT Durgapur

Citation preview

Android Workshop

StackOverflow Client

HelloWorld

Notepad tutorial

-Ravi Vyas

Who Am I

• Software Engineer at

• Co – Organizer at

Why Am I here

• I was told a senior saw my talk at Droidcon and recommended my name . Thank you sir

• I evangelize Android

Previous talks : slideshare.net/ravivyas84

What’s our plan • Make a simple “HelloWorld“ app to learn how to

develop for Android

• Make a simple notepad app that stores.

• Learn A few Android concepts on the way

What’s Android • Android is a software stack for mobile devices that

includes an operating system, middleware and key

applications. The Android SDK provides the tools

and APIs necessary to begin developing

applications on the Android platform using the Java

programming language

What is Android

Android Fundamentals • Language : Java . Each process has its own virtual

machine (Dalvik VM), so an application's code runs

in isolation from other applications

• Android applications are composed of one or more

application components (activities, services,

content providers, and broadcast receivers)

• The manifest file must declare all components in the

application and should also declare all application

requirements, such as the minimum version of

Android required and any hardware configurations

required

Android Components • Activities

• Services

• Content providers

• Broadcast Receivers

The Manifest File • Lets the system know what components exist in the

application

• Identifies required user permissions ( e.g. read contacts , internet access )

• Declares the minimum API version

• Declare the hardware and software features used ( e.g. Camera, GPS )

• Declares application info ( e.g. name , version )

Android Project Structure Project

\src \res

\drawable-ldpi

\drawable-mdpi

\drawable-hdpi

\layouts

\values

\assets \gen \Androi

d AndroidManifes

t.xml

Android Hello World

Android NotePad

Questions & Contact info

Ravi Vyas:

• twitter.com/ravivyas84

• ravivyas.com

• Google+ ravivyas.com/+

• contact@ravivyas.com

• Slideshare.net/ravivyas84

Useful Sites

• d.android.com

• Stackoverflow.com

• blrdroid.org