public override IOResponse InvokeService (IORequest request, IOService service)
{
this.IOUserAgent = IPhoneUtils.GetInstance().GetUserAgent();
INotification notificationService = (INotification)IPhoneServiceLocator.GetInstance().GetService("notify");
try {
notificationService.StartNotifyActivity();
} catch(Exception e) {
SystemLogger.Log(SystemLogger.Module.PLATFORM, "Cannot StartNotifyActivity. Message: " + e.Message);
}
IOResponse response = base.InvokeService (request, service);
try {
notificationService.StopNotifyActivity();
} catch(Exception e) {
SystemLogger.Log(SystemLogger.Module.PLATFORM, "Cannot StopNotifyActivity. Message: " + e.Message);
}
return response;
}
}