I've been learning about the push notifications on Windows Phone 7, and I was searching for a way to know how many Toast notifications a certain app got.
For example: Between 5 PM and 7 PM, my app would receive 7 Toast notifications when the user opens the app. It would display somewhere that it got those 7 notifications (and if possible the time and content of them).
Is this possible, and if so, how?
I've searched for some tutorials on this but all I find is the send and receive tutorials.
If wp7 receive toast notification and user doesnt tap on it, toast notification just disappear.
So answer on your question is : NOT POSSIBLE.
Idea: you can create something like "confirmation request". When user tap on notification, you can send info to server. When user doesnt tap on notification I recommend use TILE notification...you can display number of unconfirmed notifications...and when user run app you can download all unconfirmed notifications's data.
Related
Hello I am working on a windows phone 8.1 (RT) application and I am receiving push notifications on the app. What I want to do is, check if the user tapped on the push notification to launch the app. Because in my case suppose the push notification says "new story about Batman", now when the user taps on the push notification I need my app to navigate to the storyPage.xaml and update the view about the new story about Batman. I tried to search online but I couldn't find anything useful and I know it's possible because we all use whatsapp. when we tap on the notification about the message, that particular chat opens. I found This Link but I don't know where to put this code. How can I achieve this? I need help Thanks.
While sending push notification, you toast xml should have launch parameters.
When the user taps or clicks the notification, the associated app is automatically launched, and so its OnLaunched method is invoked. If we want to determine whether the app is activated by a toast notification click, we can use the Arguments property of the LaunchActivatedEventArgs object that is passed to this method.
Please have a look on this blog: https://marcominerva.wordpress.com/2013/03/25/how-to-pass-arguments-to-an-app-activated-by-a-toast-notification/
I wrote a Windows Phone 8.1 (WINPRT) App. One of the features of this app is alarm/reminder.
For Example: user sets the Reminder at 7AM in app's Reminder Page. App must give alarm/reminder daily at 7AM. Now as I got to know, that alarm and reminder are not available in Windows Phone 8.1, so I thought of using Toast.
How will this app give a toast at user set time everyday.?
Also, how to make this app run in background for this purpose.
Any other better solution for this problem?
If your app is running a background process, it will be invoked every 30 minutes or so. You won't be able to get it to send out a toast notification exactly at 7am as far as I know, but you can get it within 15 minutes or so of 7am.
You can also schedule a toast notification to occur. Details here.
Have you looked into this?
https://msdn.microsoft.com/en-us/library/windows/apps/hh202965%28v=vs.105%29.aspx?f=255&MSPPError=-2147217396
I think this might answer your question
I have successfully been able to send and receive notifications between my windows 8.1 application and my server using WNS. The only problem is when my toast notification comes through to my device it shows for about 10 seconds then disappears. This is no good for me as if my user was not with their device they would miss the notification completely. So what I want to know is where I fix this problem?
1.Is there a setting in the device that I can change to have the notification continue for more than 10 seconds. Or to make sure the notification keeps working till the user has touched the notification or device.
2. Or do I need to specify in the server that the same notification needs to be sent every say 10 minutes till the user has client app side has acknowledged that the notification has been seen?
What is the best way to do this?
Stuart's answer is correct. A Toast notification is not meant to be continuously visible, but a Live Tile notification can be. I think you would be best off by throwing a toast notification to immediately notify the customer and then have a live tile that shows the information as well.
Throwing a notification every 10 minutes is incredibly annoying. I would delete your app in a heartbeat if you did that to my phone/machine.
I am creating an WebView app i.e it contains only WebBrowser control which opens some enterprise mobile web app. I am using Urban Airship for push notifications.
Now I want to show the pending tile/toast notification count as badge on tile as well as on lock screen. How do I perform that? Is there any event which occurs when notification is pushed, if yes how can I use to maintain the count? Can I use background task? I am thinking to clear the badge when app is launched.
I am totally new in push notifications for Windows Phone. I searched a lot but didn't get expected results.
Get tile notifications count Windows phone
Count unreaded Number of missed call and message in windows phone
Here is a good sample of tile notification in msdn. You don't even need a background agent for this task, it will be done by the system. There is also a toast notification sample.
A very straight forward question, but I know there would be no easy answer. I am looking for ideas on how to communicate to Windows Phone 7 back and forth using our application written in c#.
Our purpose is to receive user responses back to application.
Thanks
The simple answer goes something like this...
1) When you need a response, send a push notification to the phone app. This requires the user to opt in to receipt of push notifications for that app.
2) On startup of the phone app, have it query a service to retrieve outstanding information requests. This service will be the phone app's sole means of communicating with the underlying app, so make sure you can do all you need through the service (get and submit data, mainly)
3) Display the required form to gather user input, and submit the values supplied.
Of course, you can make the scenario as complex or as simple as you like - add a count to the push notification (tile) to show the user they have outstanding data entry requirements - in case they miss the toast notification, have a background job that polls for work to complete, that kind of thing, but in my own opinion, a simple push tile notification should give you what you need.
You can use sockets with the latest WP7. http://msdn.microsoft.com/en-us/library/hh202874(v=vs.92).aspx