dimanche 4 janvier 2015

[Q] Best way to use threads in services topic

19:02






I'm new to Android development and haven't used threads in Java before. I have a foreground Service, and I want to perform network operations periodically. I know that I have to do this on another thread, but what is the best way to start one? I've found many ways to do it but I am not sure of which to use: should I use AsyncTask, IntentService, Threads and Handlers, or just a Thread and a Runnable?






Written by

We are Creative Blogger Theme Wavers which provides user friendly, effective and easy to use themes. Each support has free and providing HD support screen casting.

0 commentaires:

Enregistrer un commentaire

 

© 2013 Mobile Probleme. All rights resevered. Designed by Templateism

Back To Top