Is it possible to trigger push notifications (on iOS and/or Android) from a web application while offline?
As I understand it, even with a Service Worker background process, push notifications are always triggered via a server - which seems to preclude reliable offline reminders or anything like that.
There is Notifications which works offline, but you cannot call it from "background" (e.g. when your web page is closed).
"Background task" (or similar feature) is not available yet on the web, and I'm not sure it's a good idea to bring that power to the web. The closest thing you can do that sounds like "background" is MediaSession that allows you to play music and handle media controls on your hardware devices.
Related
I have a 3d widget that contains a web browser. I need to replicate the web browser content on the client side. I need whatever changes that are made to the web browser on the server side to be synced with all the clients. For example, if a youtube video is loaded on the server, I want all the clients to be able to watch it through the same replicated web browser.
I've been working on a replication project with Web Browsers and Video Streaming in general for the last couple of weeks. As far as I'm aware, you can't actually "replicate" it because the Web Browser Plugin (the normal one that UE has without needing to download it from the Marketplace) is pretty much an unfinished prototype that lacks a lot of control. Rather, you can replicate it but it won't work, so to say. It just means it does the functions it's supposed to do instead of anything being shared across clients and the server.
What you can do instead is actually Execute Javascript commands from inside your Web Browser Widget, which you call from your Actor Blueprint or Character Blueprint with Multicast Events.
Just to make it simpler, what you can do is send a "request" to the server if the Actor you're using the event from isn't a Server (UE4 has an "isServer" boolean you can call from pretty much anywhere), and then actually execute that with a Multicast Event if it is a Server.
Another difficult part about it is the fact that you can't really achieve Sound Attenuation with Browsers unless you brute-force it with Sphere/Box Collisions and the Youtube API which lets you change the volume of the Youtube video.
For more information about using Multicasts properly, I suggest you to look at this blog. Didn't understand a lick until I read this.
I'm developing an ToDo app, and I'm planning to use UILocalNotification. I have integrated CoreData with iCloud support.
I have searched a lot on Google how to share the notifications between the devices, but I can't find anything.
So i hope some of you people out there can help a new Swift developere here, so my question is:
1: Can i share notifications between devices without using a server to send push notifications?
2: How many NSLocalnotification can i have on a device?
//Kim
If you are using Core Data with iCloud to keep the data in sync between devices you can somewhat achieve what your after. What you would need to do is detect when new changes are imported from iCloud and refresh the notifications at that point. I have used that approach successfully before but it does come with a few caveats. In particular:
- Without storing additional information the same notification will be shown on multiple devices.
- The synchronising of the notifications is reliant on the iCloud data being updated. This means that without a means to refresh the iCloud data in the background other devices will not be in sync. It may be possible to work around this using an extension or background services but I'm not too familiar with them.
I've got an app that's been started on the Microsoft stack as a smart client (notionally WCF/WS enabled) with a small client app that gets deployed and the rest of the app running in our private cloud. It's only real dependency is internet connectivity, .net 4 and a windows operating system.
I am under pressure to convert over to a browser based architecture for all future development. Based on other web apps I've worked on, I'm concerned that the way that client IT organizations can control the browser, it will cause more problems down the line than what I really want to deal with.
Do you have experience making this kind of decision? What technical factors did you consider when deciding to go smart-client vs. browser? What resources were helpful in making this decision?
My app is a healthcare app targeted at healthcare providers (eg. hospitals), so everywhere I go, I have to worry about the Healthcare CIO looking over my shoulder.
Interesting. Originally I'm from C# winform and WPF Desktop programmer, and later being assigned to do web development. Haven't touch Smart Client yet but I think it should almost be the same with Native app. Based on experience, the technical things to consider are:
Multi browser support
Especially for reporting and graphic processing, without some library / plugins / framework for your component, it will be insanely hard to keep your app multibrowser. Especially in css style and less in javascript.
Client programming(javascript)
You will lose the ability to create controls and animation using C# controls. Instead you must using javascript (jquery or other library) in exchange. Javascript is not fully OOP, and intepret language (no compile error), making it harder (maybe there is some framework like coffeeScript which I haven't yet explore). In addition, it is harder to make since it will need server request / response activity in between the process, which I will describe later.
Request / Response Client-Server Architecture
This means that most process in client will need to request for the server (request for data to display, request to modify the data, etc). It also means that you lose the ability of control event, even if you use asp.net webform (it still need some tweaks for the event to work). However I assume you already used the WCF so this kind of architecture must be that hard.
Security
Don't keep important information such as password, etc in client (hidden field, javascript variable, etc). The concept should be the same with multitenant client, however in browser, user has free access to debug your webpage.
Concurrent and Multithreading
In browser, it is easier for multitab page and concurrent process will be very highly to occur. Your code must able to handle the multi threading for client side. For server side, you can still use your WCF to handle concurrencies.
My 2 cents.
Obviously the web application has its own challenges. I hope this link can help you in some aspects: http://msdn.microsoft.com/en-us/library/ee658099.aspx
Along with those you need to focus on non-function requirements like extensibility and scalability etc. too.
I need to develop a system to stream media over the web to subscribers (like Netflix). It's very important that my consumers can't "save on disk" my videos, since I'll be billing them by the minute watched...
I would like to know how video-streaming-DRM software, like the one behind Netflix, actually work. How the encryption happens? Do they use symmetric keys? I don't need specifics about the implementation, not now at least, but rather a overview of the whole system (client and server)
Extra Info:
-I will be the one uploading videos. The user wont upload videos
-I intend to build this as a Azure Cloud Native App
-I have not yet decided on the client side yet. Since my target public is quite narrow, I'm considering if I should build a app client or web-client... in case of web I would like to leverage the new DRM capabilities ...
-The server side will be C#
-It's safe to assume that the end-user will have a "decent 3ยบ world" internet connection (at least 1 Mb/s)
Although quite reasonable, your question does not really fit the Stack Overflow's format. But I'll give you some hints and resources to check out:
Microsoft PlayReady Overview - check it and related pages (like Learn More, White Paper)
EZDRM
Content Protection with Windows Azure Media Services
Task Preset for Windows Azure Media Encryptor
Clients of DRM protected content can be developed in Silverlgiht, Windows Store App, iOS native app (this one is not open to the wide public!). Never tried Android and HTML 5.
In short - don't worry! If you use a DRM solution, your users will not be able to save the videos. However, one can always do a screen capture using [Expression Encoder Screen Capture | Camtasia Studio | Any screen capturing software]. So there is no full 100% content protection.
I want to implement push notification in j2me application.
In this the want to keep notification when i get the certain value from the web service.
I had never done this functionality.Can anyone please help me how to get the notification message at particular time interval.
Java ME phones don't have a regular platform for push notifications. At least not like Apple does in iOS. What exactly are you trying to do? Do you need your notifications to arrive when your app is not running? Because that's impossible in most phones supporting Java ME...
You can use Alert For that as shown in this Example. If you need Alert after a particular time interval then you have to create Threads for that which will run continuously. One thing I want to mention here is that this is possible only when your application is running.