android application
DESCRIPTION
Here I've demonstrate the Overview of what the android application is actually made up of..!!TRANSCRIPT
![Page 1: Android application](https://reader034.vdocument.in/reader034/viewer/2022052623/559cdc921a28abb1408b4743/html5/thumbnails/1.jpg)
ANDROID APPLICATIONPHASE – I
COMPUTER SCI. DEPARTMENT
AMIRAJ COLLEGE OF ENGG. & TECH.
![Page 2: Android application](https://reader034.vdocument.in/reader034/viewer/2022052623/559cdc921a28abb1408b4743/html5/thumbnails/2.jpg)
Contents:
Getting Started Project Components Application Building Blocks
![Page 3: Android application](https://reader034.vdocument.in/reader034/viewer/2022052623/559cdc921a28abb1408b4743/html5/thumbnails/3.jpg)
Getting Started with ECLIPS:
![Page 4: Android application](https://reader034.vdocument.in/reader034/viewer/2022052623/559cdc921a28abb1408b4743/html5/thumbnails/4.jpg)
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](https://reader034.vdocument.in/reader034/viewer/2022052623/559cdc921a28abb1408b4743/html5/thumbnails/5.jpg)
src – Source code src folder contains package of the Application and the external .java files created by the developer.
![Page 6: Android application](https://reader034.vdocument.in/reader034/viewer/2022052623/559cdc921a28abb1408b4743/html5/thumbnails/6.jpg)
gen – Auto generated codegen folder contains auto generated .java files for supporting environment of the application.
![Page 7: Android application](https://reader034.vdocument.in/reader034/viewer/2022052623/559cdc921a28abb1408b4743/html5/thumbnails/7.jpg)
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](https://reader034.vdocument.in/reader034/viewer/2022052623/559cdc921a28abb1408b4743/html5/thumbnails/8.jpg)
Manifest fileManifest contains security and link info, hardware access info, minimum OS release info, etc.
![Page 9: Android application](https://reader034.vdocument.in/reader034/viewer/2022052623/559cdc921a28abb1408b4743/html5/thumbnails/9.jpg)
Application Building Blocks:
Activity
Intent
Service
Broadcast Receiver
Content Provider
![Page 10: Android application](https://reader034.vdocument.in/reader034/viewer/2022052623/559cdc921a28abb1408b4743/html5/thumbnails/10.jpg)
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](https://reader034.vdocument.in/reader034/viewer/2022052623/559cdc921a28abb1408b4743/html5/thumbnails/11.jpg)
IntentWhat represents your action is called an Intent. It is the description of action during switch between the activity.
![Page 12: Android application](https://reader034.vdocument.in/reader034/viewer/2022052623/559cdc921a28abb1408b4743/html5/thumbnails/12.jpg)
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](https://reader034.vdocument.in/reader034/viewer/2022052623/559cdc921a28abb1408b4743/html5/thumbnails/13.jpg)
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](https://reader034.vdocument.in/reader034/viewer/2022052623/559cdc921a28abb1408b4743/html5/thumbnails/14.jpg)
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](https://reader034.vdocument.in/reader034/viewer/2022052623/559cdc921a28abb1408b4743/html5/thumbnails/15.jpg)
Thank YouPresented By,
Atufa I. Saiyed (121080107043)
Raiyan J. Akhunji (121080107044)