Hi,
I am developing a small WPF application which is using web service. The web service is only available for internal users and they have to be logged in to their machines to be able to use it - it is using windows credentials.
Everything works well except the connection speed. It takes around 10 sec to initiate the connection and do...
Hello,
We are writing an application in Java and it needs to be start/stoppable by another application, like a service/daemon. We package it in a .jar which encapsulates everything it needs to run, and put it in a "working directory" which contains configuration files, variable resources, logs, etc.
Is there a good way to be able to st...
Hi, I currently am passing a string from the command line into my server installer class which I then access using this.Context.Parameters["whatever"]. Is there any way I can then pass this string on into my actual service class to be used by it at runtime or do I need to save it to the drive in an ini or add it to the registry and then ...
Hi there,
is there an article that explain how to implement reportservice2005.asmx?
thanks
...
In my android application, I am using the tab view and so I have two tabs: parameters and results.
the user enters the various parameters on the first tab and then switches to the second tab to view the results.
i have a service that performs some long-running calculations. the user enters parameters on the first tab and hits 'calcula...
I have a windows service which runs under system account and executes some programs from time to time (yeah,yeah, I know that's a bad practice, but that's not my decision). I need to set the "interact with desktop" check, to see the gui of that executed programs, after the service is installed. I've tried several ways, putting the code b...
Hello, I would like to make a service that runs in the background and monitors the quality. I have thought of a separate service that exposes an aidl interface to an activity, the aidl would have some monitor related functions that an activity can call. To give an example of how my service should work think of the ebuddy application that...
I need to know how to recover from the following error:
Windows service is accessing a file on a network server.
The network crashes, server goes down or becomes unavailable.
I need the service to wait until the server is back on line to continue processing the files.
What should I use to do this?
I figure I can trap the server un-avail...
Hello all,
I have a local Service running together with my application. I also have a class derrived from Application class.
When the local service is created it gets and uses the Application instance using getApplication.
Can the app itself be terminated while my service is still running and what happens if so? Would getApplication ...
Is there anyway to intercept that a hard key was pressed by using a service in order to launch an activity?
In other words : Is it possible to handle the KeyEvents in the Service?
...
My first post here. This website has been very useful for learning Android programming, thanks to everyone.
I have a simple app that loads an MP3 stream and plays it. It works fine on 1.6 and 2.1 but on 2.2 it doesn't quite work right. It seems my service is having a problem starting, it's giving my an ANR and the dialog where I have to...
I'm hoping this is more of an issue with code than anything else and I'm hoping that someone out there can help track down the issue.
I have other code that starts the service with startService() and I can verify that the service is started as the debugger hits the onCreate() function of DecoderService.
However, the bindService never b...
We have a networking application that can run from a service account as well as a regular user's account. The app tries to open up a loopback connection to another service running on the local machine. So for example it tries to connect to: 127.0.0.1 port 2000.
On a very small number of Windows machines we're seeing an issue where tryin...
I'm going to build a little service which monitors an IMAP email account and acts on the read messages. For this it just has to run every say 10 min, no external trigger required, but I want to host this service externally (so that I don't need to worry about up times.)
To be machine independent I could write the service in Java or Pyth...
I'll need to develop a Java service that is simple because:
It only communicates via a TCP socket, no HTTP.
It runs on a dedicated server (there are no other services except the basic SSH and such)
Should I make this a standalone service (maybe in something like Java Service Wrapper) or make it run in a container like Tomcat? What ar...
I've a local service that is started in my main activity. The service is responsible for network I/O. It also interacts with other activities in my application. Till, now the service was only "providing" data to activity (using callbacks and not Intents.)
Now I need to send data (custom objects) from my activities to the service. I unde...
I have to develop ATL app that is meant to run as service most the time, however we need to deploy it as user application in few environments
...
I am new to android.. just started writing service using activity..
i want to know if there are any other ways to trigger a service without the use of activity? like when a new message arrives, the service need to start running..
if so, how?
Thank you..
...
I need to know how does svcutil and Visual Studio decide which types can be re-used from referenced assemblies when generating a web service proxy class.
I have an assembly with some types that are declared like this:
namespace MYCOMPANY.BO.Accounting
{
[Serializable, DataContract]
public class AccountingPackagePutRequest : Req...
Hi All,
I have a service component (common task for all my apps), which can be invoked by any of the apps. I am trying to access the service object from the all activities, I noticed that the one which created the service [startService(intent)] has the right informaion. But rest does not get the informaion needed. My Code is as below:
...