WP7 Reminder with NavigationUri when phone is blocked issue - c#

When Reminder created with set path in NavigationUri param have such issue:
when phone is blocked (under locked screen) and reminder shown, it's impossible to navigate to the app using Tap on title or content of the reminder message.
Is it possible to solve such problem, or it's ussual behaviour for reminder and lock screen?

It's the normal behavior for Windows Phone 7, the user needs to unlock the phone to interact with notifications. There's nothing you can do about it.
There's a few obvious reasons for this behavior. Imagine that the user has put a pin-code on the lockscreen. Someone picking up the phone would be able to bypass the pin-code by tapping on a notification. Or even if there's no code, I may trigger something involuntarily if the phone is inside my pocket when a notification is displayed.

Related

How to set daily toast in app

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

Show pending push notification count in Windows Phone

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.

Disable default Windows Phone NFC Reader

I'm developing a NFC Application on Windows Phone 8
My question is: How to Disable the default NFC Reader of Windows Phone OS?
Everytime I tap a NFC tag, an MessageBox show up, asking if i want to receive the link/file/text. If I tap OK, it will open the default application to "read" that info.
When I tap Cancel, I will be able to back to my app, and do what ever I want with the data i received in NFC tag.
So how can I disable default reader, or hide the message box. I have try NavigationService.GoBack() on Dispatcher, no luck. It's is an OS's element, so we cannot control from our app
thanks
From http://www.mopius.com/faq/
Q:
How to disable the phone's NFC prompts?
A:
When tapping tags that contain certain standardized / well-known
contents, Windows Phone 8 always shows the dialog for the user to
choose what to do with – e.g., to visit the URL or to launch the app.
This prompt even appears if the tag is a LaunchApp tag and the
respective app is already running – the user will nevertheless be
asked to launch the app (again), causing the phone to re-start the
running app.
Unfortunately, this behavior of the Windows Phone 8 OS can’t be
changed at the moment. We already reported the concern to Microsoft
and hope that future versions of WP improve the behavior, in order to
enable a better user experience for NFC apps.
See the sample app somewhere in the middle of this page and try to write the Windows.MySubType tag: http://developer.nokia.com/community/wiki/Use_NFC_tags_with_Windows_Phone_8
Afterwards the app is able to read the tag without being interupted by a phone prompt.
Starting with Windows Phone 8.1 we've addressed this problem (check the Windows Phone Developer Preview program if your phone isn't running 8.1 yet). To silence the OS from popping up for a URL for example, ensure you have a "WindowsUri" subscription. The same goes for other types that generate pop-ups. If you want to silence all pop-ups for all types, you can add a subscription for the "NDEF" message type. Of course, your app must be in the foreground with the subscription enabled for this to have an effect.
Pretty much when a message comes in the OS will see if the foreground app has an explicit subscription for that type, and if so will assume that the app is handling it and that the OS doesn't need to pop-up.

Toast is not shown while application is launching in windows phone

I am developing a Windows Phone 8 application, and I've implemented a background agent which does some work and also updates my application's Tile and shows a toast notification to the user.
It works, except when I am launching the application (more specifically when control is in the Application_Launching event) in which case the Toast notification is not shown, but the Tile still gets updated. Has anyone ran into this before?
A toast will not be displayed if the current foreground application is the caller of the Show method. Toast notification only display in the running background agent or some of the work are finish.

Can I display a form on top of or beside the Windows Vista Login screen?

I have a need to display alerts and such on-screen at any time the computer is running. We have a service running collecting these events, so that's not a problem - but I need to find a way to display critical alerts, even if the user hasn't logged in yet; that is, they're sitting at the 'Press Ctrl-Alt-Delete to log in' prompt.
Is this possible? If so, can it be done via managed code (C#)?
In Windows XP and earlier, the system you'd be working with is GINA. This changed in Vista and Windows 7 to "Credential Providers". See here for some background.

Categories

Resources