android™ application development

32
Android™ Application Development www.otssolutions.com

Upload: deepika-chaudhary

Post on 10-May-2015

1.200 views

Category:

Technology


0 download

DESCRIPTION

OTS Solutions an IT Outsourcing Company provide android application, Client / Server Android Development, Android Tablet Apps Development, Android Web App Development. OTS has been involved in Android development since its emergence and provides these applications around the globe.

TRANSCRIPT

Page 1: Android™ application development

Android™ Application Development

www.otssolutions.com

Page 2: Android™ application development

What is Android™ ?

• Google purchased Android Inc., a 22-month-old Palo Alto, California, startup in July 2005.

• Android is a software stack for mobile devices that includes an operating system, middleware and key applications.

Page 3: Android™ application development

Android

• One of the most widely used mobile OS these days is ANDROID. Android is a software bunch comprising not only operating system but also middleware and key applications.

• Android applications are written in java programming language and It is available as open source for developers to develop applications which can be further used for selling in android market.

Page 4: Android™ application development

Android OS Market

In Q2 2009 Android had 2.8% market share which had grown to 33% market share by Q4 2010 and in May it’s grow to 50%, which made Android leader of smart phone OSs worldwide.

Page 5: Android™ application development

How Android™ Is Different

• Open for modification.

• This gives vendors the opportunity to change and enhance their products based on their own preferences. This has created many versions of Android™ phones, which can vary by vendor, as well as a range of other devices that use this platform.

Page 6: Android™ application development

Android System Architecture

Page 7: Android™ application development

Different version of Android

Page 8: Android™ application development

Basics applications of Android

• Android applications are composed of one or more application components (activities, services, content providers, and broadcast receivers).

• Each component performs a different role in the overall application behavior, and each one can be activated individually (even by other applications)

Page 9: Android™ application development

Basics applications of Android

• 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

• Non-code application resources (images, strings, layout files, etc.) should include alternatives for different device configurations (such as different strings for different languages)

Page 10: Android™ application development

Android Features

• Application Framework that enables reuse and replacement of components.

• Optimized Graphics that is powered by customized 2D graphics library and 3D graphics based on the OpenGL ES 1.0 specification

• Provision of Bluetooth, EDGE, 3G and Wi-Fi .

• SQLite for structured data storage Open source

• Web Kit engine based integrated web browser .

Page 11: Android™ application development

Android Features

• Camera, GPS, Compass, and Accelerometer (dependent on hardware support) GSM Telephony Dalvik virtual machine optimized for mobile devices.

• GSM Telephony

• Dalvik virtual machine optimized for mobile devices .

Page 12: Android™ application development

Android's Latest

• Browser: It also supports popular web standards like CSS 3D, Animations . It also supports playback of HTML5 video content.

• Gallery: Now the gallery supports PTP (Picture Transfer Protocol) so that users can directly connect their cameras with Android device and transfer pictures with a single touch.

Page 13: Android™ application development

Android's Latest

• Email: When replying or forwarding an HTML message, The Email app now sends both plain text and HTML bodies as a multi-part mime message. This ensures that the message will be formatted properly for all recipients.

• Enterprise support: Users can now configure an HTTP proxy for each connected Wi-Fi access point. This lets administrators work with users to set a proxy hostname, port, and any bypass sub domains.

Page 14: Android™ application development

What is Android Tablet ?

• Tablets are taking the computing world by storm. They are the latest trend that gives you internet capabilities, access to email, video chat and allows you to capture images and video while on the go.

• These multimedia devices are designed to be portable, with small dimensions and a lightweight design. They also give you control by navigating around the device using the touchscreen display or stylus pen.

Page 15: Android™ application development

Android Tablet

• Ice Cream Sandwich is the new update from Google to Android mobile operating system and tablets. It has many new features, which make it more of a complete revamp than upgrade.

• Android Tablet is very famous in modern world and people of all profession are using Tablets for different usages.

Page 16: Android™ application development

Android Tablet

• Android Tablet is very famous in modern world and people of all profession are using Tablets for different usages.

• There is no mess of maintaining a keyboard etc, but it is fully integrated with touch screen functionality and it has LCD screen.

• It is helpful for everyone and its usage totally depend on person-to-person and their requirements.

Page 17: Android™ application development

Android Cloud to Device Messaging Framework (C2DM)

• Android Cloud to Device Messaging (C2DM) is a service that helps developers send data from servers to their applications on Android devices.

• The service provides a simple, lightweight mechanism that servers can use to tell mobile applications to contact the server directly, to fetch updated application or user data.

Page 18: Android™ application development

Cloud to Device Messaging (C2DM)

Page 19: Android™ application development

Characteristics of Android Cloud to Device Messaging (C2DM)

• It allows third-party application servers to send lightweight messages to their Android applications.

• An application on an Android device

doesn’t need to be running to receive messages.

Page 20: Android™ application development

Characteristics of Android Cloud to Device Messaging (C2DM)

• It does not provide any built-in user interface or other handling for message data. C2DM simply passes raw message data received straight to the application.

• It uses an existing connection for Google services. This requires users to set up their Google account on their mobile devices.

Page 21: Android™ application development

Architecture of Android Cloud to Device Messaging (C2DM)

Page 22: Android™ application development

Enabling C2DM

• The first time the application needs to use the messaging service, it fires off a registration Intent to a C2DM server.

• If the registration is successful, the C2DM server broadcasts a REGISTRATION Intent which gives the application a registration ID. The application should store this ID for later use.

Page 23: Android™ application development

Enabling C2DM

• To complete the registration, the application sends the registration ID to the application server. The application server typically stores the registration ID in a database.

Page 24: Android™ application development

Enabling C2DM

The application must include the id package name is the unique identifier of our application on Android.

Page 25: Android™ application development

Enabling C2DM

Google's servers will generate a token, the registration id and return it to the application.

Page 26: Android™ application development

Enabling C2DM

.This token will allow us to send a message from the content. Once received, it must be sent to our application server to be stored .

Page 27: Android™ application development

Sending a Message

• The application has a registration ID that allows it to receive messages for a particular device.

• The third-party application server has stored the registration ID.

• The application server sends a message to C2DM servers.

Page 28: Android™ application development

Sending a Message

• Google enqueue and stores the message in case the device is inactive.

• When the device is online, Google sends the message to the device.

Page 29: Android™ application development

Receiving a Message

Page 30: Android™ application development

Receiving a Message

• The system receives the incoming message and extracts the raw key/value pairs from the message payload.

• The system passes the key/value pairs to the targeted Android application in a com.google.android.c2dm.intent.RECEIVE Intent as a set of extras.

• The Android application extracts the raw data from the RECEIVE Intent by key.

Page 31: Android™ application development

Thank You

Page 32: Android™ application development

http://www.otssolutions.com/

India Gurgaon ( Haryana ) 795, Udyog Vihar, Phase-V Gurgaon(Haryana) India Ph: +91 124 4101350 +91 124 4748100

Write to us at: [email protected]

United kingdom88 Wood Street 10th Floor London EC2V 7RSPh: +44 208 099 1660

Write to us at: [email protected]

USA 4433 Merlin Way , Soquel CA 95073United StatesPh: +1 408 540 0001 Write to us at: [email protected]