I have a background service that is active at certain times - such as when a call comes in. While working to optimize battery use I noticed that its onStartCommand() is being called every 10 minutes. I wasn't doing that, so I looked...
08-11 10:54:25.938: VERBOSE/com.dcd.monitor.MonitorService(32194): onStartCommand() on thread Monito...
Hi,
i have an app with 9 services and one service which manages them and it is kind of hard to manage them all with binders. I only need to call a funtion with the alarmmanager and i'm thinking of just using broadcasts. So the alarmmanager sends a broadcast and a service receives it and calls its funtion. I don't need to pass data betwe...
Assume i have Rest service which may return Xml or Json formatted response. I am able to consume the service using RestSharp and Hammock but i could not consume using WCF data service client library (System.Data.Services.Client). Is there any limitation in data service client library can only consume Odata feed response. Please help to ...
Hi,
I want to be able to create the same "hello world" output shown in this tutorial:
http://www.codeproject.com/KB/atl/tipoftheday.aspx
However I wish to make it use visual studios 2010 ATL project running as a service (EXE), does anyone know where I could find a template or a tutorial that explains how to do this.
...
Hello,
I have an app that uses a TabHost.
Several of the Tabs share a common HUD.
I am using a service to periodically update those values by calling an AIDL function when ready.
However, since several of the Tabs are using the same HUD I would like to abstract that part out.
I thought about having the HUD.xml use a String resource as...
I'm testing the Service Bus AppFabric within our corporate network by runnng the Echo service sample from the AppFabric SDK samples (WindowsAzurePlatformAppFabricSDKSamples_V1.0-CS). However, the code seems to hang at the host.Open(), and no exceptions being thrown.
I left the program running like hours but it's still hung at that line...
Hi
I want to set the user account for Windows Service even before installing.
I am doing it by adding code in project installer.
this.serviceProcessInstaller1.Account = System.ServiceProcess.ServiceAccount.User;
this.serviceProcessInstaller1.Password = ConfigurationSettings.AppSettings["password"];
this.serviceProcessInstaller1.Userna...
Can anyone tell me where to find an visual studios 2010 atl web service template like the one that comes with visual studios 2008?
Thanks.
...
How would one build a system like stack over flow to support customer service operations? A system that shows similar questions & its answers?
...
In Windows Install XML toolset, to install a service, we group <ServiceInstall> with a <File> in a <Component>. To conditionally install the service, we put <Condition> under the <Component>. However if the condition is false, the file will not be installed too. If I put the <File> in an unconditional <Component>, then the service has no...
I am trying to find a good network monitoring system, easy to configure and to still have a lot of features. I want to try Nagio but it seems to be very complicated. I saw that are also a lot of systems direved from it (or work with it), like groundwork or Shinken.
Do you know or recommend a good solution for this?
...
Hi! I am a bit new to Android. What I need to do is send data back and forth between an activity and a service locally. The information sent is sensitive and must not be able to be picked up by other apps. This excludes using broadcast and the onBind() function if I understand things correctly?
So the activity needs to send some string ...
I have an AIDL-accesible service that downloads files via FTP, and uses FTPClient to obtain the file stream. The service obtains the host path and the file path and FTPClient.getFileStream() returns a fileStream for some files I have tested that are around 1MB in size. However for large files, the getFileStream returns null, and THROWS a...
I have a service running (Socket), this is how i start the service.
Intent s = new Intent(this, Socket.class);
startService(s);
in every activity i check for the user to select the home button, as soon as the home button is clicked i need to destroy the socket, so i have the below code on every activity in my app:
@Override
public bo...
Hi,
We're contemplating implementing a service layer (as described by Martin Fowler) within our current development as a way to process common processes within our system.
What are peoples thoughts on a service layer? What examples of process' have people implemented service layers for? What are the benfits/drawbacks etc?
We currently...
Hello,
I have a Windows Service written in C# that controls a device connected to the computer by RS232 (gathers data and allows to control the device). It's named DeviceService and it's working properly. Now other applications use it by WCF services.
But now I need to expose some of functionalities as COM+ Component, so applications i...
I have a service running on my android application, the service is a socket class that has to run through the whole application, i create it when my first activity loads.
How can i get an instance of this socket class so that i can call a function in this class.
For example
//how can i get an instance of the running service?
MyService s...
I am writing a WCF service and need to control the value of the name atttribute on the wsdl:definitions tag in the generated WSDL document. The ServiceBehavior and the ServiceContract attributes do nothave any property on them that dictates the output value of the name in the definitions tag. Changing the service implementation class nam...
I am trying get all local machine services.
But why are some services missing from Win32_Service class?
...
I am looking at adding a custom authentication for my WCF web service and is wondering which the "industry standard" best practice for web service authentication is? I need the web service to be supported from many different coding platforms with minor configuration.
Thanks!
...