Dear All,
Please show me how to bind to a Service from another Service on Android.
If you have an image to show how to do. Please give me.
Thanks & Best regards,
Dai Son
P.S Sorry for my bad english (English is not my mother language).
...
Hi
Have a transaction in a grails Service class on which a rollback flag is set:
TransactionAspectSupport
.currentTransactionInfo()
.transactionStatus
.setRollbackOnly()
what happens is that when we return to the Controller an exception:
org.springframework.transaction.UnexpectedRollbackE...
Hi All,
In my live wallpaper app, I am facing this issue.
I want to update my LiveWallpaper service with values that User types in the wallpaper settings activity. (e.g String)
What I have done til now :
Converted the wallpaper service to implment SharedPreferences.OnSharedPreferenceChangeListener interface, to listen if any changes d...
how to get logged in user name from window service. when i do the same thing using Environment.UserName i get username as "System".
thanks
Arvind
...
HI,
I have C# WCF windows service on Windows 7 logged on as user with admin rights.
I am trying to start desktop application after service start. All discussions I found are about windows stations and desktops... I created a separate thread, set thread station and desktop and tried to start desktop application.
Code works when I start ...
Hello,
I don't get the difference between System.ServiceProcess.ServiceProcessInstaller and System.ServiceProcess.ServiceInstaller. From metadata: the first one installs an executable and the second one a class. After reading the example of the MSDN where there is one ServiceProcessInstaller and two ServiceInstaller(s) with different Se...
hi,
i seem to have a classic task, yet i can't find any examples on how to do it.
i want to download something. well i call a web service and get a response... but its pretty much the same.
in order to do this i have an activity that starts a service that spawns a thread that does the job.
now i would like to use the data i got in th...
Hi,
I am trying to read an XML file in RIA Service and I am getting the following error.
Load operation failed for query 'GetSummaryList'. Could not find a part of the path 'C:\WINDOWS\SYSTEM32\CoreResources\SumaryListDS.xml'.
I am using Silverlight 4 which is using RIA service. I am trying to read the SumaryListDS.xml located in the ...
hi..can anyone tell me that in android how can we refresh a service??
i am developing an app in which my service is running perfectly and giving me data what i want..BUT each and every time it is giving me same data which it giving on first time i.e. service starting time.
after that it is running but that data is stic with that old da...
Hello,
I have a Service and a PreferenceActivity that allows the user to edit some preferences. I would like to restart the Service once the user is done with the PreferenceActivity.
I understand that I can register onChange listeners for individual preference changes, but I do not want to restart the Service as each preference change...
Hi Guys,
Is anyone having any experience with any eCommerce application where you have calculated shipping rate on fly. I am in particular referring to Australia Post service.
Could you please guide me in right direction. I am thinking of using Provider pattern by which I can plugin any shipping provider according to user's profile.
E...
How can I query if a service (dnsmasq) is running, in C?
...
My silverlight client calls a web service that is hosted in IIS and using the basic http binding. Over the WAN there's an initial 60-200 ms delay before the response ( less than 20K) begins to come back. Why is that and what can be done to reduce the delay?
The latency for ping between the client and the server is around 40 ms.
...
Hi, I have an application that needs to be able to print in different printers. This application has a desktop interface and a web service. If I try to print from the desktop application there is no problem, I'm able to print in both local and network printers, the problem is when I try to print via web service in a network printer (loca...
Hi!
I have a web service, .asmx that when consumed gives a response in the form:
<lData>
<name>...</name>
<posx>..</posx>
<posy>...</posy>
</lData>
I use Ksoap2 to consume the web service in Android, and I see the response as a string anyType {lData=anyType{name=....;posx=....;posy=....;};}
So, I get the right data from my web servi...
We have a requirement to call a WCF service from another WCF Service. To test this I build a sample console application to display a simple string. The setup is:
Console App -> WCF Service 1 -> WCF Service 2
Console App calls a method of service 1 and the service 1 method eventually calls service 2 method to return a string. I am able to...
I'm consuming a classic Web Service using .NET. Is it possible to automatically generate a XSD for the messages from client to service? The service proxy can be generated using svcutil but I would like to use XML serialization for the actual messages.
Right now the service methods take XML strings as parameters whereas I want to use obje...
I have a service that is defined as:
public class SleepAccelerometerService extends Service implements SensorEventListener
Essentially, I am making an app that monitors accelerometer activity for various reasons while the user sleeps with his or her phone/device on the bed. This is a long-running service that MUST NOT be killed during...
I'm trying to get TTS to run in the background. But, I never get any sound. I have a broadcast receiver which starts a service. I put my TTS code in both of those, but it never speaks. I know the method is being called (I put a breakpoint on it), but it still doesn't work.
Here's my log, but it doesn't seem to contain anything about the...
anyone knows any web service of that kind which is easy to integrate with asp.net?
...