I'm developing a Windows desktop application which connects with a Microsoft Band to set alarms as reminders but I cannot find API to do that, is it possible?
No, the alarms functionality within the Band is not exposed via the SDK. You will have to create a phone application that wakes up at such scheduled times and uses the SDK to send notifications to a custom Tile and/or haptic notifications.
Related
I am designing a Notification Engine (Java Based) which will be used as an one stop shop for various other systems to send notification to different channels (push notifications, SMS, email etc). I wish to build this system to use Kafka as a message broker component (there will be many other components as well).
My query is specific to app push notifications (our current system uses FCM topic based subscribed notifications coming from individual systems who publish). The New Notification Engine will be working as the Kafka Producer and publish messages in regular intervals ( as configured in the Scheduler Component of this system) to the topics. How do the app user get the notifications as soon as they are published ? I am assuming the apps here have to work as Kafka Consumer. What is the best way to achieve this ? Is Kafka REST Proxy an option for the Mobile Apps to act like Kafka Consumers ? Would it be overload for mobile app to handle all the consumer responsibility ?
I see from the Band SDK that a windows phone app can only use the client tile manager to access its own tile pages. The SDK also indicates that a tile can keep up to 8 message notifications in a FIFO queue.
I would assume that the built-in tile does the same thing, since when it displays a notification sent to my windows phone app - it hangs around until it gets kicked out.
I see that an existing WP app is able to clear the whole queue from the notification center without any dummy notifications showing up on the phone (like to clear the queue) Does this take some privileged API access?
or if you're clever enough you win the prize?
thanks for any clues.
The Tiles built into the Band's firmware do not, necessarily, have the same behavior or limitations as custom Tiles created by applications via the Band SDK, so you have to be careful when making comparisons. Nor can the built-in Tiles be manipulated by applications via the Band SDK.
To which application are you referring that can clear the notification Tile?
I want to create a chat application for ios, android and windows phones as well as it should work with browsers in the future. My search led me to using Signal R with Azure Mobile Services(AMS).
My questions:
1) SignalR uses Websockets under the hood. Is websocket supported in Android, IOS, windows phones and all mobile/desktop browsers??
2) If not, how will it effect using SignalR with AMS?
3) Or should I just use Push notifications supported in AMS?
4) Any sample app/code snippet you can share. Note that I will be using Xamarin for my app development.
5) Any advice you can give for same.
Azure Mobile Services has SignalR integrated, and Azure Mobile Services provide a SDK for client apps, I suppose it is provide out-of-the box
See
Real-time with ASP.NET SignalR and Azure Mobile .NET Backend
Master the Managed Azure Mobile Services Backend–Part Four
High value mobile backend capabilities included
You will find many capabilities included in Mobile Services and readily available for your Web API. Mobile push notifications, real-time notifications with SignalR (auto-scaled out), social auth for your consumer apps, offline data sync for occasionally connected scenarios, to name a few.
Samples:
https://github.com/gshackles/RealTimeGallery
Sample to help developers to implement Push Notification, through Azure Notification Hubs, in mobile applications.
Note:
Azure Mobile Service is based in WebAPI!
For that you want, you should not use only Push Notification because Push Notification in iOS could not be read by the application if the user ignore it, only in android or windows you can get and save it. Another thing that can be a problem is the fact if the app is running you should not show the push notification and you should show a pop up with the notification... and the push notification can have a delay from the Push Notification Service (Apple, GCM, WNS...). Push notification are a notification that something happened in the app when the user is not using it.
In my opinion you should use AMS+SignalR for realtime communication and then Push Notification for update the user then he not using the app.
Using SignalR is efficient to save yourself from hitting any push notification cap if you ant to limit your costs. But you'll need to either turn notifications on/off at the right time when the app becomes active or inactive, otherwise the app may go in the background and push notifications won't be sent.
You can use a pure push approach where notifications are shown when the app is inactive/in the background, and whenthe app is active, you simply intercept the notification in the app, consume it and cancel it so it doesn't get shown. I have written a blog post on this approach along with 3 samples in Github for iOS, Android and Windows Universal at http://www.ageofmobility.com/2014/10/06/azurechatr-building-a-cross-platform-chat-app-for-windows-ios-android/.
I am creating a Windows Phone 8.1 App,in which I am capable of receiving a raw push notification using WNS.
I discovered following two scenarios:
1)Notification delivery event,used when app is running i.e. in foreground
2)Background task triggered by the raw notification,used when app is not running .
I am able to receive Push notification when application is in foreground and when not running(in background).To receive notification in background I used background task.
Means I can receive notification in these scenarios:
1)when app is in foreground
2)when app is in background
I am able to get notification when app is in background as I registered background task.
Will that background task work when app is not in memory?
I am not able to receive notification when application is closed.
My question is:Can I be able to get that raw push notification when my app is closed and I registered with background task?
Any help is appreciated.
Thanks.
Yes, you should be able to get the raw push notification when your Windows Phone XAML or Silverlight 8.1 app is closed and you've registered a PushNotificationTrigger. See http://code.msdn.microsoft.com/windowsapps/Raw-notifications-sample-3bc28c5d for a sample that does this (it's a universal app that works across windows\window phone 8.1).
One common issue for PushNotificationTrigger not firing is if you have not called BackgroundExecutionManager.RequestAccessAsync() and validated its return value before registering your background task. This is required for both Windows and Windows Phone when using PushNotificationTrigger (note: all triggers requires this call for Windows Phone unlike Windows).
I think, Windows Azure Mobile Services can do that. If you want to try this is the link. Windows Azure is trial for 90 days.
Windows Azure Free Trial 90 Days. Click to Register.
Here is the Mobile Services Tutorials.
Windows Azure Mobile Services .Net Backend. Tutorial
Windows Azure Mobile Services Javascript Backend. Tutorial
The tutorial for Windows Phone 7 push notifications says that to implement Push Notifications, you need to call Microsoft Push Notification service which manages the sending of the notification to WP7 devices.
Does that imply that to send an AMZ SNS message, I need to create an intermediary web service that routes the SNS message to Microsoft Push Notification service?
What are the options for Android and iOS devices?
Amazon has API libraries for both Android an IOS, so you can implement them directly.
See:
http://aws.amazon.com/sdkforandroid/
http://aws.amazon.com/sdkforios/
There is also a windows/.net library that you might be able to use directly inside a windows phone.
http://aws.amazon.com/net/
I don't know anything about the windows phone platform and your on your own for that one.
Android has cloud-to-device-messaging (c2dm), which is a labs project by google. At this time it is free. I don't know about wp7 or. I believe iOS has their own system as well.
Microsoft forked AWS' .NET SDK to create a version for WP7.
https://github.com/Microsoft-Interop/AWS-SDK-for-WP