android-service
Service lifetime problem
I currently have a thread that spawns and either pulls the next command off a queue and executes it or sleep for a bit and try again. However I do not want it to ru开发者_开发百科n if there are no mor[详细]
2023-02-17 04:34 分类:问答Accessing and controlling services on Android
I would like to create an androi开发者_JS百科d app/service that will control Android services, in particular the Media Player. This is different from the playing a audio file, in my case the user has[详细]
2023-02-17 01:45 分类:问答Android Service application
I\'m writing a software suite for Android devices that will keep track of call times and various other call info.I\'d like one of the applications to run as a Service without being started from an Act[详细]
2023-02-16 07:59 分类:问答android sound gets disabled after sometime
i want to check how the service feature set in android works. to check it, i have a controller class that will start the service. in the service i have a handler that executes a function every minute.[详细]
2023-02-16 04:11 分类:问答Can a bundle be passed to a service?
In my application i need to get a value from an activity to a service. The 开发者_开发百科value that i need to retrieve is the one i clicked in that activity.[详细]
2023-02-15 19:39 分类:问答Programmatically ending an ongoing notification - Android
I am developing a GPS-based app and have just started adding in my UX features such as notifications and progress bars but I\'m stuck on using an ongoing notification.[详细]
2023-02-15 14:31 分类:问答Using checkbox to enable receivers
I would like to add a checkbox to my preference activity that would either enable or disable receivers.This is for a service which will run in the background, at boot completed, and will depend on two[详细]
2023-02-15 05:32 分类:问答How can I find out if my service has started
In my code, I start my service conditionally like this: Intent intent = new Intent(context, MyService.class);[详细]
2023-02-14 01:08 分类:问答Android appwidget service won't start
When I\'m running in debugging mode I can\'t seem to reach any breakpoints that are inside of the service, why is that?[详细]
2023-02-13 08:51 分类:问答Started activity from home key screen
I have a background Service which starts an activity, Intent i = new Intent(this, MyActivity.class); i.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);[详细]
2023-02-13 07:01 分类:问答