how i got androidified

17

Upload: harshbarve

Post on 22-Jan-2018

318 views

Category:

Business


1 download

TRANSCRIPT

What is Android?

Android is a operating system designed primarily for touchscreen mobile devices (smartphones and tablet computers)

Developed at Android Inc. (founded in 2003).

acquired•Aug 17, 2005

A consortium of technology companies including Google, device manufacturers, wireless carriers, chipset makers was formed n November 5, 2007 and was named as the Open Handset Alliance.

The goal of the Open Handset Alliance is to develop open standards for mobile devices.

Open Handset Alliance™, a group of 84 technology and mobile companies who have come together to accelerate innovation in mobile and offer consumers a richer, less expensive, and better mobile experience.

Android™, the first complete, open, and free mobile platform.

Linux based OS, applications mainly developed using Java

Free and Open source

The Android Open Source Project is led by Google, and tasked with the maintenance and development of Android

How I started Android programming?

• Frequent calls to few contacts

• Status calls while drivingProblem

• Create a group of contacts

• Call contacts successively or simultaneously

• Keep speaker ON while in call

Solution

Creating a group

For a group a user should be able to configure

Group Name

Loud speaker

Calling Mode

Contacts

The group details would be saved and on the application launch the created groups would be visible

Calling the contacts in the group

Parents• Mom, Dad

Best Friends• Ojus, Geet, Amey

Get the Android SDK

• Download JDK and the Android SDK

• Install the ADT plugin for Eclipse

• Download the latest SDK tools and platforms using the SDK Manager.

• An activity represents a single screen with a user interface.

• Eg: SMS read\write screen.Activities

• A service is a component that runs in the background to perform long-running operations or to perform work for remote processes. A service does not provide a user interface

• Eg: Music player running in background

Services

• A content provider manages a shared set of application data

• Eg: Query to data stored on file system or database.

Contentproviders

• A broadcast receiver is a component that responds to system-wide broadcast announcements

• Eg: Battery Low, custom messages can be broadcasted.Broadcastreceivers

Android project contains

AndroidManifest.xmlThe manifest file describes the fundamental characteristics of the app and defines each of its components.

src/Directory for your app's main source files. By default, it includes an Activity class that runs when your app is launched using the app icon.

res/Contains several sub-directories for app resources. Here are just a few:

drawable-hdpi/Directory for drawable objects (such as bitmaps) that are designed for high-density (hdpi) screens.layout/Directory for files that define your app's user interface.values/Directory for other various XML files that contain a collection of resources,such as string and color definitions.

Creating User Interface

• Demo shown in Eclipse

Compiling and running the application

Programs written in Java and compiled to bytecode. They are then converted from Java Virtual Machine-compatible .class files to Dalvik-compatible .dex (Dalvik Executable) files before installation on a device.

The programs can be installed on the virtual device by clicking Run in the eclipse editor

For installing/debugging the application on a real device make sure you have installed the Sync software which came with phone and set debugging options on the phone.

Give me a Name

Easy Caller

Making your phone intelligent

Questions??