Changes

Jump to: navigation, search

MAP524/DPS924 Lecture 10

183 bytes added, 10:21, 23 November 2015
Services & Broadcast receivers
* We'll create an Intent Service as described [https://developer.android.com/training/run-background-service/create-service.html here]. The [http://developer.android.com/guide/components/services.html service overview] has a little too much information.
* They forgot to mention in the tutorial that you need to call a specific IntenService constructor, see [https://groups.google.com/forum/#!topic/android-developers/HVBnJ15amVc here].
* Then our activity (which has to be in the same project as the service) will call one function of the service with a parameter or two.
* Once the service is done its work - it will send a response back via an Broadcast Intent

Navigation menu