android application

15
ANDROID APPLICATION PHASE – I COMPUTER SCI. DEPARTMENT AMIRAJ COLLEGE OF ENGG. & TECH.

Upload: raiyan-akhunji

Post on 08-Jul-2015

66 views

Category:

Software


0 download

DESCRIPTION

Here I've demonstrate the Overview of what the android application is actually made up of..!!

TRANSCRIPT

Page 1: Android application

ANDROID APPLICATIONPHASE – I

COMPUTER SCI. DEPARTMENT

AMIRAJ COLLEGE OF ENGG. & TECH.

Page 2: Android application

Contents:

Getting Started Project Components Application Building Blocks

Page 3: Android application

Getting Started with ECLIPS:

Page 4: Android application

Project Components:

src – your source code

gen – auto-generated code

Included libraries

Resourcesi. Drawables (like .png images)ii. Layoutsiii. Values (like strings)

Manifest file

Page 5: Android application

src – Source code src folder contains package of the Application and the external .java files created by the developer.

Page 6: Android application

gen – Auto generated codegen folder contains auto generated .java files for supporting environment of the application.

Page 7: Android application

Included libraries This includes files require to run an application on targeted sdk as well as minimum sdk i.e. selected by developer.

Page 8: Android application

Manifest fileManifest contains security and link info, hardware access info, minimum OS release info, etc.

Page 9: Android application

Application Building Blocks:

Activity

Intent

Service

Broadcast Receiver

Content Provider

Page 10: Android application

ActivityActivity is a single screen with user interaction. An activity maycontain zero or number of fragments. Each activity can then startanother activity in order to perform different actions.

Page 11: Android application

IntentWhat represents your action is called an Intent. It is the description of action during switch between the activity.

Page 12: Android application

ServiceService is the faceless component which run in background.Music player is an example of service. We don’t need to put it onthe screen to hear songs.Downloading via internet is also an example of service. It goeson while the user is interacting with other applications.Service does not stop on closing of an application. It keeps onrunning in background until it’s task is done or the user manuallydestroys it.For example, a service might handle network transactions, playmusic, perform file I/O, or interact with a content provider, allfrom the background.

Page 13: Android application

Broadcast ReceiverBroadcast Receiver receives the system generated messagesabout system intents and display notification on occurrence ofan intent of the Android System.For example, if the battery of your android device is low then theAndroid System will generate the message regarding to the LOWBATTERY and broadcast receiver receives that message fromAndroid System and display the On-Screen notification regardingthe subject.

Page 14: Android application

Content ProviderIt simply enables sharing of data across applications.It provides access to the data of system application i.e.Phonebook, Gallery, etc.Android itself includes content providers that manage data suchas audio, video, images, and personal contact information.With some restrictions, these providers are accessible to anyAndroid application.

Page 15: Android application

Thank YouPresented By,

Atufa I. Saiyed (121080107043)

Raiyan J. Akhunji (121080107044)