Professional Documents
Culture Documents
Android
BUAP - FCC
MALCH
BUAP - FCC
MALCH
However,
Android
BUAP - FCC
MALCH
Create an IntentService
public class RSSPullService extends IntentService {
"
"@Override "
"protected void onHandleIntent(Intent workIntent) {
"
"
"// Gets data from the incoming Intent
"String dataString=workIntent.getDataString();
"
"
"... "
"
"// Do work here, based on the contents of
dataString "
"
"... "
"
"}"
}
Android
BUAP - FCC
MALCH
Android
BUAP - FCC
MALCH
Android
BUAP - FCC
MALCH
BUAP - FCC
MALCH
Call startService()
Android
BUAP - FCC
MALCH
Android
MALCH
Android
BUAP - FCC
MALCH
10
Android
BUAP - FCC
MALCH
11
12
Android
BUAP - FCC
MALCH
13
Android
BUAP - FCC
MALCH
14
To
Android
BUAP - FCC
MALCH
15
Android
BUAP - FCC
MALCH
16
Android
BUAP - FCC
MALCH
17
References
Android
https://developer.android.com/training/run-backgroundservice/index.html
http://www.androidcurso.com/index.php/tutorialesandroid-fundamentos/38-unidad-8-serviciosnotificaciones-y-receptores-de-anuncios
BUAP - FCC
MALCH
18