i started to devellop application to get setting system parameters of device automatically with windows phone 7
my problem is how can setting APN and proxy of the device programmatically( windows API or program c#) in windows phone 7 or windows phone 8
please if an expert in windows phone have an idea help me .
thanks :)
According to my knowledge there's no way to access such settings in WP7 but there's a hop in WP8
Check this link
http://msdn.microsoft.com/library/windowsphone/develop/ff626516(v=vs.105).aspx
Related
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.
In Windows Phone 8 Silverlight I use
Environment.OSVersion.ToString()
to get Windows Phone version and
DeviceStatus.DeviceManufacturer+" "+DeviceStatus.DeviceName
to get device name.
These APIs no longer work with Windows Phone 8.1 XAML. I have found
Windows.Security.ExchangeActiveSyncProvisioning.EasClientDeviceInformation()
this seems to return the manufacturer and device name but OS is returned as just "Windows Phone".
Is there a way to get the exact Windows phone version?
This is currently not possible In Windows Runtime 8.1 (Phone and Windows). It does look like it might be planned thanks to Morten Nielsen and Pete Brown
EDIT: This is now possible in Windows 10. See this SO answer as well as this article for more useful features.
For 8.1, you can use this project on Github https://github.com/Microsoft/phone-info that includes an example application for retrieving both static and dynamic properties of a Windows Phone device.
For Windows 10, the APIs that were used to gather these data on (8 and 8.1) have changed. I have found one blog post https://www.suchan.cz/2015/08/uwp-quick-tip-getting-device-os-and-app-info/ for someone who has created a helper class that retrieves the following properties from a Windows 10 UWP app
current OS family - phone/desktop/...
current OS build number - 10.0.10240.16413
current OS architecture - x86/x64/ARM
current App Display Name
current App Version - 3.0.2.0
current Device manufacturer - Nokia
current Device model - Lumia 1520
In his post he shows how to get basic data about current device, operating system and application.
give it a try maybe it helps
In Windows Phone 8.1:
Windows.Security.ExchangeActiveSyncProvisioning.EasClientDeviceInformation().FriendlyName
It worked for me!
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()
I am trying to access images on a Nokia Lumia 610 from a Windows 8 C# application. As it has been pointed out in other posts, such an access has only been possible via Zune and Window Phones would not even be directly visible in Windows 8.
However, using the Windows 8 RTM version I now noticed that the Lumia 610 becomes visible as a device. Still StorageDevice.FromId() raises an exception.
So my question: does the previously valid information ("access to folders on Windows Phones is only possible via Zune") still hold? If not, how can I create a StorageFolder object for a Windows Phone in a Metro/C# application?
Thanks!
I don't think you'd be able to use any WP7 device as a StorageDevice. If I recall correctly, Windows Phone 7 uses IsolatedStorage for storing any and all content, and as such you can't access the files on a Windows Phone through Windows Explorer without rooting/jailbreaking your Windows Phone. And even then, you wouldn't be able to access it through a Windows 8 App AND pass certification at the same time.
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.