Android App example shows using Bound Service from activity. Bound Service has a worker thread to do work at, and the main thread to handle the requests and commands from the activity (this may be unnecessary, it's just for example!).
BoundServices is hosted in the following web site
https://github.com/YasserRabee/BoundServices
If you think the Android project BoundServices listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following table is the detailed list of BoundServices.
Item | Value |
---|---|
Java File Count | 2 |
Target SDK Version | 19 |
Minimum SDK Version | 8 |
Activity Count | 1 |
jar files used | android-support-v4.jar |
BoundServices has the following Java source files.
com.learn.boundservice.BoundActivity.java com.learn.boundservice.BoundService.java