service

Running Code On First Run of Android App

Hi. I have a new earthquake notification android app thats in it's initial release version. I have a problem currently. My app has a service running in background, this schedules itself to run every X period. To schedule itself it needs to run atleast once. Currently that happens when you boot the phone. Obviously I do not want user to...

Java webservice NoClassDefFoundError

Hi guys, I am generating a webservice stubusing this statement in java new TPFServiceStub(webserviceUrl); I have created a mock service in soap UI at 8088. The same URL I am passing in the webserviceUrl variable. All the dependent jars are placed in axis_home. I am getting this following error. Exception in thread "main" java.lang.N...

Gsoap multiple services on the same port

Trying to implement with gsoap multiple webservices listening to same port. I read through Gsoap user guide http://www.cs.fsu.edu/~engelen/soapdoc2.html section 7.2.8 Where they provide a sample (below) that doesn't actualy work as 1. the soap object is changed after abc.serve so uvw cannot find the method 2. AND when the soap servce doe...

Service References vs Assemblies References, using WCF Services

I have a WCF Service (with servicecontracts, datacontracts, etc) , like this: [ServiceContract(Namespace = "http://company.com/MyCompany.Services.MyProduct")] public interface IService { [OperationContract] CompositeType GetData(); } [DataContract(Namespace = "http://company.com/MyCompany.Services.MyProduct")] public class Comp...

GREF increasing / decreasing in multi-threaded service (aidl) - what does it mean?

I have an android activity and a service implemented using aidl. Works like a champ, I have a callback setup to pass some thread notifications back to the UI, and that appears to work fine, with the exception of lots of GREF has increased to 101, 201,301,401, 501.. etc, and GREF has decreased. I did some searching online and found that ...

IWordBreaker Implementation in C# causes MemoryAccessViolation

Hi, I have inherited some code that makes use of the Windows IWordBreaker and IWordSink interfaces. There is an issue when multiple threads execute and use this code (to break multiple documents concurrently) - The IWordBreaker.BreakText() method throws a MemoryAccessViolation error. Does anyone know how to use this type of Exception t...

Looking for a free current road traffic information web service (think XML/SOAP/RSS..)

Hello, I'm looking for a web service that provides traffic information (accidents, all clear (if poss?), congestion etc..) for roads in the UK, specifically around Portsmouth (south east England.) Service must be free to use Non-commercial license is OK I had a look on google and found the Highways agency does an RSS feed.. however ...

.NET Windows Service management and logging

Hi Guys, I have application that runs non stop in the background on a dedicated remote server. The application is build in .NET 4 using log4net for logging and SQL Server. I i think it would be best to use Windows Service for the main background application. I want to build a second application to manage and view the status and logs of...

Linux: How to make a deamon/service usable with xinetd ?

Anybody knows what changes are necessary for a server to work with xinetd ? The server being a .NET mailserver that runs on Linux. See the bottom of this post for reference: Lumisoft Mailserver Forum Post Note: xinetd, not mono-service. [x]inetd is an internet superserver. A superserver starts a server service on demand. (As opposed t...

Should a service class be more than a wrapper of a repository class?

I have the understanding that using data access routines directly from presentation code is considered evil. So I have a separate Repositories project, as well as a Services project. From what I can tell, typical use of a service layer is to insulate the data access from the presentation. All well and good. I have a pretty simple domain...

web based service for tracking disparate forum posts

Any one know of a web based service that will track my user name/password combinations for the many forum sites that I use and aggregate all of my posts on each of these disparate sites into a single web based dashboard? ...

Dialog from Service android

Hi friends, i want to show/pop-up dialog from service in android. can any one guide how to work around for that. Thanks, Dhaiwat. ...

Unable to connect to the remote server from Windows service

When I try to connect to remote server from dot net windows service installed at local machine. It is working correctly. But when install the window service in the same server where the web application is installed. Then it give this error "Unable to connect to the remote server" This is urgent. Thanks in advance. ...

Ajax talking to java webservice - example? JSon, JQuery?

Hi, I've been tasked with making an Ajax (scriptilicious and prototype) front-end 'talk' to a web service. It's been recommended that I use Json and JQuery. I have no experience (Java developer) with either of these technologies. Can someone point me to some documentation or preferrably a tutorial on how to go about creating the 'glue' b...

Difference between Android Service and Content Provider

I am developing an app and get confused about the idea of Service and Content Provider in Android. In practice, what will be the difference between them? Content Provider is a facade and it defines a way to share data among applications. You many attach a local database to your app or create Content Provider mapped to a universal databa...

Android: How to communicate between 2 activies

I have a problem: I have a UI thread which displays webwiew and another chatActivity which displays chat. I keep on getting data from server which would be displayed on both Activities. What is the best way to do this viz doInBackground or Service, If service, than can i bind 2 activity with 1 service i.e. if user press logout from UI...

Connecting my Android service with the db

Hi i'm working on a service that collect data from sensor and save a fast fourier trasform in to the db, but when i press the red phone button (to make the screen black) it don't save anything. Any idea? In addition i noticed that when i stop the service, it continues to read sensors, how should I do? This is the code that i use to con...

how can i execute from service

i have a window service program and i need to start another executable from it ,but non of the functions are executed in SvcMain. I searched for the solution but found somewhere written that the initialization should be completed in less than one second or else it wont execute so was the failure of my createprocess they say for this to...

Using an IntentService to do Prioritized Networking

I've been wondering if it is possible to use an IntentService to do some networking while keeping the queue of pending intents prioritized. My goal to be able to download some images in the background, add more if needed (send another Intent) and be able to reset the queue if necessary (preferably using a specific Intent). That is all po...

Controlling a service through a separate application

I'm writing a windows service to do some daily processing, and I want to have a user-friendly way to interact with it. I'll just be doing basic things like checking its status and viewing logs, though I may decide I want to throw in a function call or two as well. After doing some research, it sounds like I need a separate application to...