I couldn't find this information, do we get notification callbacks when our app is running in background? I understand tiles will get updated, but if we can get callbacks in realtime, we can get our stuff done.
Im sure this is not possible in wp7, is there a way in RT metro app?
The answer is yes — please see Raw notifications sample on MSDN.
Also, look at Quickstart: Creating and registering a raw notification background task (Windows Store apps using C#/VB/C++ and XAML) (Windows) article on MSDN.
UPDATE: For server-side implementation info you can try another great quickstart.
Related
Is there any way that I could modify Windows 10/11 alarms trough code, and have them added to the Alarms & Clock app? If needed, I'm using UWP with C#. I know, it is quite a short question, but there's nothing more to it
Modifying Windows 10/11 alarms trough C# code
Currently there is no such api could edit alarm with code, and there is no uri scheme could use to launch alarm and add scheme also. If you do want this feature please feel free post your requirement with windows feedback hub app.
I would like to create a ScreenCaptureLib.dll which is intended to be built for Universal Windows.
We already have the following using Windows.Forms:
https://github.com/ShareX/ShareX/tree/master/ShareX.ScreenCaptureLib
Obviously none of the Windows Forms code does not work and I would like some pointers in the right direction to get started.
You may follow the official document for Record the screen with ScreenCapture, but please notice that:
The ScreenCapture API is only available on mobile devices.
And for now there is no API can be used directly to capture the screen on a desktop from an UWP app. However, as a workaround method, we can render the XAML tree to a bitmap, to do this, please refer to Capturing Snapshot in Windows 8.1 Store App.
You may also submit a request to add this new feature for developing through the Windows Feedback tool.
Update:
The ScreenCapture feature is only supported for mobile devices running Windows Phone 8.1. This API is not supported on Windows 10.
I am looking for events that I can subscribe to receive notification of call events (outgoing or incoming) on Windows Phone 8. Also if possible try to get outgoing\incoming phone number however I couldn't find any Windows Phone API for doing this. Is there any way I can do using C# or Native C++ on WP8 platform? Is there any Private API I can use to perform this?
One would wonder why you would want to do this..
However for obvious reasons Microsoft does not allow apps to get info such as incoming/outgoing calls. That is why you couldn't find any documentation for it. So the answer to your question is going to be a NO I'm afraid.
the narrator API (System.Speech) is not available for windows store.
Is there an alternative API or method for using this?
I found that there is a text-to-speech function as part of the Microsoft translator service, however since the narrator is already available, it would be silly to have to use this service for that, so I'd rather use it directly if possible.
I thought of maybe running a command through CMD.exe to text-to-speech something, but in windows store apps it's impossible to launch external processes, also I haven't found a command line interface for the narrator anyway.
Does anybody know of any method of doing this?
Windows 8.1 has offline text to speech support. Here's MSDN sample.
Are you trying to implement accessibility? If so, then this may be what your looking for:
https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.automation.automationproperties
You can set the Name attached property to whatever you would like to have read.
I have been trying to find a way to control my winmo phone from my pc. (HTC S740)
What I want is to be able to call a number from an application, answer the phone from an application and hangup the phone from an application. It should also be able to track how long the ongoing call has been.
Any libraries out there that lets me make such an application with C#?
(The phone is connected to the pc via usb in Windows 7.)
You can use RAPI to invoke functionality on the device. You might need to write a wrapper.
I believe that this answer by ctacke should help you perform the task.
You can look at OpenNETCF library, which have many utilities to call native APIs that can help you, but i didn't hear of any library to help control your phone remotely.