I try to create a WCF Data Service for an Entity Framework model, which contains some attributes of type DateTimeOffeset. However the WCF Data Service does not support the type DateTimeOffset as I found out after googling the exception text "The property 'CreationTime' on type 'Task' is of type 'DateTimeOffset' which is not a supported p...
Suppose I have code in the onStart() handler of my Service to launch a thread to do some stuff and then call stopSelf().
stopSelf() gets called before the thread finishes. What exactly happens?
I've tested this out myself and my thread continues to execute until it is finished. Does Android hear the stopSelf() call, but postpone it u...
Hi it is possible in android to show pop-up dialog from background running service?
and answer is positive than how can i do that
Thnaks.
...
I'm attempting to get my Jboss Server running as a windows service using the JbossService.exe, and I had it working until I uninstalled it (with ./JbossService -uninstall JbossService), and now, while it will install and the service will appear in the windows service list, attempting to start it will only yield the error message:
"The J...
Hello!
How can I get XML and/or URL (String) in JAX-RS service?
For example in GET method URL
@GET
@Produces("application/xml; charset=UTF-8")
public JaxrsPriceWrapper getPrice(@QueryParam("firstId"), @QueryParam("materialId"),...) {
//here I would like to get whole URL
}
and in POST method XML
@POST
public JaxrsOrderWrapper in...
Hi.
I have an Android widget which is suppose to show news headline. My idea is this:
I have a widget on home screen with a news scrolling.
Every 30 seconds it calls it's Provider's onUpdate method which in turns invoke a service.
The service updates the view with next news item.
My problem is that until I have new news available; ...
I am pretty new to Android and very new to Multithreading.
I am writing an android application that contains multiple activities that implement onClickListners which sends a Bluetooth message on button click to . I have successfully been able to connect and keep my BluetoothSocket and OutputStream open while in one activity. I do not do...
Hi,
I have the task of creating a web service that would be used by some clients.
We didn't get the xsd's or anything. There are layers and layers of communication between me and the client, and it's just too complicated to get the problem through (and it probably wouldn't resolve anything for about a month, while we do have a schedule...
Hello
We are developing a Windows Presentation Foundation Application that we would like to be able run as a Windows Service.
Anyone done something like that?
Is it possible?
We don't need to interact with the Desktop or any GUI, it would just be nice to have one App that we can run with a GUI, from the Command Line (that works) or as...
I have a decent sized chunk of .NET code that now needs to be accessed by an ASP web page. Transactions need to be sent at regular instances to this "server" for processing. Processing takes less than a second and there are maybe 100-1000 such transactions a day
I've really only worked with COM and windows services before, so my normal ...
My website publishes news along with photos and videos. Right now my videos and images are being hosted on the web server only and they are occupying HDD space day by day. Adding or increasing HDD will not solve my issue as this will also create similar problem in future again.
Here are some doubts to be clarified.
Can I utilize Amazo...
Hi.
I have an android application. Based on the current geo location of user, I want to fetch some remote data in background and store it. My implementation is:
At specific interval a alarm fires up my service. Service uses an anonymous class to query current location and registers a locationListener callback. On call of onLocationChan...
I wrote Front Controller Pattern and ran the test. Somehow request.getPathInfo() is returning null when it should return the path info.
1. HTML that calls servlet
<a href="tmp.do">Test link to invoke cool servlet</a>
2. Map the servlet in DD.
Anything that has .do extension (ex tmp.do) will invoke the servlet "Redirector"
<!-- SERVL...
So I'm getting really confused on how to do this whole thing and I was hoping someone could break it down for me a little bit.
I have a service that should always be running, and at certain times it needs to alert the user that a task is to be completed(probably through a notification bar icon). When the user accepts the task, the se...
Well, I've recently been getting into developing drivers, so I thought I should make a class to programmatically start services. But of course, I ran into some trouble on the way, as usual.
I'm using StartService to start it, but for some reason it just hangs, I've done some research over the internet and it seems it waits for ensurance...
I am making a IM client for android and i want to know how to do the communication between a Service and Activity.
I have a Service that establish the connection to gtalk, gets the contacts, listens for the incoming messages... , and i have the activity that is the UI of my application.
In the activity i create the service and bind th...
After developing a web service on Eclipse, based on Axis1 and JBoss, I deploy it and test it with soapUI. It works perfectly.
Eclipse generates a wsdl file which I use in Eclipse's new web service client wizard to create an application client that consumes the web service. It generates the client code perfectly, but when I invoke some o...
can i Pass Dictionary as a web service GET parameter ?
how will it look on the URL?
do i pass it on the URL itself or in the header?
...
Hello all,
We need to modify the Startup type of our windows service from "Automatic" to "Automatic Delayed Start". Anyone has the idea that how to do this?
My code is like this:
<ServiceInstall
Id="WinServiceInstall"
Name="ServiceManager"
DisplayName="ServiceManager"
Type="ownProcess...
I'm developing a web project with service and repository layers in ASP.NET MVC 2.
I'm using Entity Framework.
I have two generated EF classes. Namely, Company and User.
Company has two fields CompanyID {int} and CompanyName {string}.
User has three fields UserID{int}, UserName{string}, BirthMonth{smallint,can be null} and CompanyID{int,...