multithreading - how to run back-end (Non-Stop process) process without affect the Ui Thread in Android -


my problem : trying run continues non-stop process time of activity created destroyed. if ui thread stop execution / unable access ui in emulator..,

is there way it?

guide me please..

@forgivegod right (about service), in background. however, if process tightly coupled activity (i.e. want match lifecycle starting on activity start , stopping on activity stop, instead of running outside of lifecycle) think asynctask need.


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -