android - Send data from seperate thread within a service to service Class -
can suggest me tutorial explains on how send data android seperate thread class within service class -----> sends data to------> service oncreate()
method.
the thread can timertask or thread class or kind threads within service class
i'm not sure understood when
data to------> service oncreate()
however, need use handler created inside service's oncreate method , pass thread. posting runnable handler thread result in executing runnable in ui thread (which thread service running on).
Comments
Post a Comment