User Tools

Site Tools


android-labs-s14:class-07

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
android-labs-s14:class-07 [2014/02/24 14:09]
prakhar
android-labs-s14:class-07 [2014/02/24 14:11] (current)
prakhar
Line 14: Line 14:
  
 ===== Service ===== ===== Service =====
-A ''​Service''​ is an application component that runs in the background without needing to interact with the user. For example, a service might handle network transactions,​ play music or perform file I/O, all from the background. Another application component can start a service and it will continue to run in the background even if the user switches to another application. Additionally,​ a component can bind to a service to interact with it and even perform interprocess communication (IPC).+  * A ''​Service''​ is an application component that runs in the background without needing to interact with the user.  
 +  * For example, a service might handle network transactions,​ play music or perform file I/O, all from the background. ​ 
 +  * Another application component ​(for e.g., an ''​Activity''​) ​can start a service and it will continue to run in the background even if the user switches to another application. ​ 
 +  * Additionally,​ a component can bind to a service to interact with it and even perform interprocess communication (IPC).
  
 A service can have two forms- A service can have two forms-
android-labs-s14/class-07.1393272577.txt.gz · Last modified: 2014/02/24 14:09 by prakhar