Setting phone ringtone via NFC in Windows Phone 8 - c#

is it possible to switch off phone ringtone or better, setting a custom profile, via NFC using Windows Phone 8 API ?

That's not a built-in capability of WP8. You could build an app that adds a ringtone. First, you'll need to create a custom protocol for your app (e.g. "addRingtone://foo"). Next, you'll need to add intercept that deeplink and invoke the SaveRingTask.

Related

Substitute for EasClientDeviceInformation() in Windows 10

In one of our projects on Win-RT targeting Windows 8.1 , we had used EasClientDeviceInformation() to get the client device information. But, now we want our app to be working on windows 10. So is there anything else that we could be using?
You need not change your code at all. EasClientDeviceInformation API is available on Windows 10 and you can use it in universal windows app and it would work on both Desktop and Phone. MSDN Page for this API lists the detail.

Disabling Screen Capture in Windows Phone 8 mobile application programmatically

I'm a newbie to Windows Phone application development.
My project requires disabling the screen capture feature provided by default in Windows Phone 8.
Target Platform - Windows 8
After a long search, found a property "IsScreenCaptureEnabled" in the PhoneApplicationPage class, which can be used to enable/disable the screen capture in windows phones.
Unfortunately, the property is available only from Windows 8.1 and available from Windows Phone 8 Update 3 (GDR3)
For reference,
http://code.msdn.microsoft.com/windowsapps/Disable-screen-capture-00efe630
http://code.msdn.microsoft.com/windowsapps/Disable-screen-capture-00efe630/sourcecode?fileId=86655&pathId=2647585
It is also supported for GRD2.
See this link.Hope that helps.

Windows Store App: how to programmatically launch bluetooth settings app

I am trying to port an app I built on Windows Phone 8 to a Windows Store App 8.1. One of the features I had on my mobile version was the ability for the user to "launch" the in-built Bluetooth settings app from code using:
ms-settings-bluetooth:
Is it possible to do this in a Windows Store App?
I was looking for a solution to the same question. I thought I'd add the answer I found here. It seems that the URI is not supported on Windows store as suggested by the reserved URIs listed here
http://msdn.microsoft.com/en-us/library/windows/apps/hh452686.aspx
This has been answered elsewhere. It looks like you can only show the settings panel and not specifically Bluetooth.
http://social.msdn.microsoft.com/Forums/windowsapps/en-US/a30564be-c91d-4ad4-a402-de1d2cd4f0cc/how-to-open-the-bluetooth-settings-panel-in-a-windows-store-app?forum=winappswithcsharp
Windows.UI.ApplicationSettings.SettingsPane.Show()

What is the equivilant of NSUserDefaults on Windows Phone 7 with C#?

I'm trying to store small settings related data, like I would with NSUserDefaults on iOS.
What is the equivilant with Windows Phone 7?
Not sure what exacly is NSUserDefaults, but for Windows Phone 7 you can use ApplicationSettings. Basically, a dictionary that works well for a small set of settings.

How to add Flurry Agent in Windows Phone 7?

I was created one app for windows phone 7 and I want to add flurry analysis for my app, then I implemented start session and end session in App.xaml.cs file.
Now I want to include Flurry Agent for LogError and LogEvent for my app?
Good news! We now support WP7. As you set up a new project in our system, you simply select WP7 as a platform for the right version of the SDK.
What have you tried?
According to http://www.flurry.com/product/analytics/technical-info.html they don't support Windows Phone 7 (yet).

Categories

Resources