Professional Documents
Culture Documents
Reference :- Lauren Darcey and Shane Conder, Android Wireless Application Development, Pearson Education, 2nd ed. (2011) , Chapter :- 4 : Understanding the Anatomy of an Android Application
Android Terminologies
Context
Service
Android Terminologies
Activity
Intent
Not every application needs to have all four, but your application will be written with some combination of these.
10
11
13
14
16
18
20
Any activity which is not in foreground is subject to shutdown. If the Activity is killed after onPause(), the onStop() and onDestroy() methods might not be called.
24
26
27
28
29
30
The user cannot return to the splash screen Activity without re-launching the application.
31
32
What is Intent?
An Intent (android.content.Intent) is An asynchronous message mechanism used by android operating system To match task requests with the appropriate activity or Service (launching it, if necessary) To dispatch broadcast Intents events to the system at large.
33
34
36
37
38
39
42
43
44
46