Questions tagged [service]

A Service is a long-running executable that performs specific functions and which is designed not to require user intervention.

A Service is a long-running executable that performs specific functions and which is designed not to require user intervention.

Services usually provide an interface to Start, Stop, Pause and Restart the executable that is running in the computer's background.

23127 questions
5
votes
3 answers

Using ProcDump to obtain the dump of a service?

Does anybody know if its possible/ how to use ProcDump to obtain the dump of a windows service? The command I want to run is like this: ProcDump -e -mp -x myservice.exe mydump.dmp However I get the Cannot Start Service from command line or debugger…
DukeOfMarmalade
  • 2,680
  • 10
  • 41
  • 70
5
votes
4 answers

DDD: aggregate root specialization

I have an aggregate root Order with corresponding OrderService and OrderRepository. I have an ExtendedOrder with corresponding ExtendedOrderService and ExtendedOrderRepository. For example: class Order { int GetOrderId(); } class ExtendedOrder…
Ricibald
  • 9,369
  • 7
  • 47
  • 62
5
votes
1 answer

Convert a WSDL to its respective HTTP Bindings

I'm simply trying to convert a WSDl into a number of different HTTP-requests from data supplied by the WSDL. I have read through a ton of similar questions, but none really provided an answer. Some say to use SOAPUI - I am familiar with this…
steve
  • 297
  • 1
  • 5
  • 17
5
votes
1 answer

Android 2.0 Best Method to Check Battery Level/Charging?

Okay let me start off by saying I have been looking around a lot for an answer to this question. I am trying to figure out what is best practice and what best for battery life. Here is my situation: I would like my application to suspend its…
Havoc
  • 213
  • 4
  • 11
5
votes
1 answer

what are (and the difference between) factories, service and util classes? Are there any more concepts in a software project?

I am trying to get my head around the concepts of a typical software project, but I cannot find a decent article concerning this. What are factories? What are services? What are util classes? And what are the key differences between them? (ex,…
corgrath
  • 11,673
  • 15
  • 68
  • 99
5
votes
4 answers

illegal XML characters /Axis

I've developped a web service and deployed it with Axis. All is running very well but I've a problem when I consume the service using a String containing a non printable character (such as ETX, FS,..). I have the following error: exception:…
hangen
5
votes
3 answers

How to stop a service within the OnStart method?

I'm writing a windows service in .net 2.0. What should I do within the OnStart() method if for some reason I don't want my service to start? Can I simply call the Stop() method of the base class (ServiceBase)? I've tried that and am getting some…
Rory
  • 40,559
  • 52
  • 175
  • 261
5
votes
1 answer

How to launch android.intent.action.CALL in service?

How to launch android.intent.action.CALL (to get USSD) code in service? My Code: protected void call(String phoneNumber) { try { startActivityForResult( new Intent("android.intent.action.CALL", Uri.parse("tel:" …
user1029593
  • 79
  • 1
  • 1
  • 7
5
votes
1 answer

Optionally starting activities and using notifications from services in Android. Only launch or notify if a certain app is present

I have a service I am reusing (it a both a "bound" and "started" service) in my own app because it does a lot of useful data acquisition I'm interested in. Everything was working but I noticed a problem. An exception is thrown in this code: Intent…
Dave
  • 8,095
  • 14
  • 56
  • 99
5
votes
1 answer

Unable to retrieve data on a removable device using a Windows service in C++

I am trying to detect the insertion of removable devices and retrieve the drive letter of said device using an NT service. I have been successful in detecting insertion and removal of devices, but have been unable to setup a DEV_BROADCAST_VOLUME…
user99545
  • 1,173
  • 3
  • 16
  • 32
5
votes
1 answer

ActivityManager#getRunningServices returning service which is manually stopped

activityManager.getRunningServices(Integer.MAX_VALUE); This method returns a list which includes service which is stopped manually. Settings > Applications > Running services
tumbudu
  • 699
  • 11
  • 26
5
votes
1 answer

Android Service is running, but it doesn't show up in settings -> running services

I have a service in my app, as some other apps have, too. From what I am used to, I can see (and kill) services nicely in settings -> (running) services. But: not mine... The service itself is extended from IntentService. It is handling Alarm…
Oliver
  • 1,269
  • 13
  • 21
5
votes
1 answer

Custom exceptions handling - java Web Services

Its my first time posting here so please be patient and correct me whenever necessary... I am building simple web service-based application using NetBeans with GlassFish. NetBeans does help a lot in terms of generating code for new web services and…
Mike
  • 53
  • 1
  • 5
5
votes
3 answers

Launching Dialog from Service

I want to launch a dialog from a service that hovers over whatever the user is currently looking at. The dialog gets launched like this: service gets trigger to open dialog > start transparent activity > transparent activity shows dialog. My…
Brian
  • 7,955
  • 16
  • 66
  • 107
5
votes
2 answers

Network drive is unavailable if mapped by service

I create a service which is defined to Log On as Administrator. This service performs system("net use Z: \... /user:user password") and completes successfully. If I (as Administrator) run "net use" I see Z: indeed added, but with status -…
GK.
  • 121
  • 2
  • 8