I need to inject a service based on domain property, so far I came up with the following:
ApplicationHolder.application.getServiceClass("package.${property}Service").clazz
but loading it this way doesn't inject it's dependent services. Am I doing it wrong?
...
Hello folks
I have an issue here, I guess you all know what is AD service account and why it is used for, if not please see the below description ?
SSL-Explorer requires a dedicated Active Directory account to use for authenticating AD users. This account serves as a link to your Active Directory database. If the Service Account is not...
I have a app that only consists of 2 services and a broadcast receiver (they check the internet periodically). I need to store preferences that can be shared across those services. Is this the same as for an activity? Just use getsharedpreferences()? This doesn't seem to be documented very well.
...
My dev box is a Windows 7 (x64) machine. I've got some code (C#, .net 2.0) that in certain circumstances, checks to see if a service is running and then stops it.
ServiceController matchedService = //My Service!
//If statements and such
matchedService.Stop();
matchedService.WaitForStatus(ServiceControllerStatus.Stopped);
Now, I can...
Hi All,
I am developing an application using services and Remote interface.
I have a question about passing the reference of my Remote interface throughout Activities.
In my first Activity, I bind my service with my activity, in order to get a reference to my interface I use
private ServiceConnection mConnection = new ServiceConnec...
Hello,
I wanted to know what is the difference between Context.startService(intent) and startService(intent) and does it matter which one is used?
Thank you
...
Hi,
I need to find a service that will allow me to send and receive SMS on a server for a project. The project requires that a user will have up to 8 keyword options to send, and will receive a different response back based on the keyword that they enter. Does anyone know of services that I could look into that will allow this?
Thanks...
hi,
I get null pointer exception at line mService.start() when i try to bind to an already started service. I do the same thing from different activity(where the service gets started) everythig goes right. All these activities are part of one application.
What do you think I do wrong?
public class RouteOnMap extends MapActivity{
p...
Hi folks,
I have an Activity (A) and a Service (S) which gets started by A like this:
Intent i = new Intent();
i.putExtra("updateInterval", 10);
i.setClassName("com.blah", "com.blah.S");
startService(i);
A have a function like this one in A:
public void someInfoArrived(Info i){...}
Now I want to call A.someInfoArrived(i) from with...
Hello.
There are several examples of using MEF to plugin whole controller/view packages into a MVC application, but i didn't found one, using MEF to plugin funcional parts, used by other controllers.
For example, think of a NewsService with a simple interface like
interface INewsService
{
List<NewsItem> GetAllNews();
}
That gets ...
Hi,
I'm looking for a design pattern to handle exceptions generated by the web service.
I have looked at the SOAP examples and it's not suitable for my project.
I make the calls to the web services through AJAX. If the call fails or business logic isn't met I'd like to pass a custom object to the browser which will contain some inf...
I found this nice snippet of code online:
rkApp = Registry.LocalMachine.OpenSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run", true);
Which runs great but alas on windows 7 and vista I suspect, it crashes cause it doesn't have permission to write there.
So then I research (on stackoverflow of course) how to avoid this, quick...
I need to send a few but important email notifications to individual users. For instance, when they register their software I send them a confirmation email.
Right now, I am using 'sendmail' from my Perl CGI script to do the job.
Most of my automated email are lost or marked as junk. Unfortunately, I am using shared hosting services an...
I am working on web project. We are using flex as UI layer. My question is often we are writing core service layer separately from web/UI layer so we can reuse same services for different UI layer/technology. So practically is it possible to reuse same core layer services without any changes/addition in API with different kind of UI tech...
Hi all,
As writen in my title,
background:
I have 2 different type of applications (WPF-silverlight) which can talk each other - Doctor application and Patient application - but it doesn't mean only 2 apps will run, for instance:
i can run 3 doctor app and 7 patient app.
and all of those apps is communicate using wcf via tcp connection...
Hi ,
Currently I am looking at securing our web services. At the moment we are not using WCF so this is not an option. One approach I have seen and implemented locally fairly easily was the approach described in article:
http://www.codeproject.com/KB/aspnet/wsFormsAuthentication.aspx
Which describes adding a HttpModule which prompts fo...
Hi
I'm wondering which is the best way to communicate between a Service and an activity..
Broadcast intent
Callback
others?...
Bye
...
I'm using IErrorHandler to do exception handling in WCF and now I want to log the exceptions, along with the stack trace and the user that caused the exception.
The only way I can see to get the user that caused the exception is:
OperationContext.Current.IncomingMessageProperties.Security.ServiceSecurityContext.PrimaryIdentity
...But ...
I have been tasked with creating a set of web services. We are a Microsoft shop, so I will be using WCF for this project. There is an interesting design consideration that I haven't been able to figure out a solution for yet. I'll try to explain it with an example:
My WCF service exposes a method named Foo().
10 different users call...
I have a windows service that do something periodically.
on user account runs systray application (written in C#) that communicate with windows service (thru .net remoting) and shows a status and some option to users.
Everything works well beside that systray app uses 20-30MB of RAM !
it have to work in terminal environment, when 50 use...