On windows phone 7 it was not possible to access sms data. Is it possible on Windows Phone 8?
No.
Source: the official WPDev Feedback Forum:
SMS Access API:
Cliff Simpkins (Sr Product Manager, Windows Phone Developer) responded:
There isn’t a new API in the WP8 Dev Platform
No.
At least it's not mentioned in new features available in Windows Phone 8.0 SDK.
Source
MSDN
WindowsPhoneGeek
Related
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 have a application that has a mobile client and a Windows 8 client. I want to implement push notification service between two app.
I found that windows 8 use WNS (windows Notification Service) and windows Phone 8 use MPNS (Microsoft Push Notification Service) for push notification service and they are two different server.
Is there any way to use WNS from windows Phone 8?
Or any way to achieve this?
any advice or any tutorial are welcome.
Thanks.
No wns is only working for win8. You can look into notification hub from azure.
You cannot send it directly as far as I know. You have to go through a server and again have a look at azure.
WNS is supported on Windows Phone as of Windows Phone 8.1. If you're building an app for both Windows 8 and Windows Phone, you should use WNS.
It is not possible to use WNS on Windows Phone 8.0, but WP8.1 is a free upgrade for your users.
I am searching for Windows Phone 8 API that allows me to read Bluetooth RSSI value. However, I couldn't find any resource that is useful for me.
Does the Windows Phone 8 API support reading Bluetooth RSSI value?
Looking forward for your help.
Best Regards
32feet has a wrapper BluetoothDeviceInfo.Rssi. They say that it requires
Requires .NET Compact Framework v3.5 or above and Windows CE.NET 4.2
or above, or .NET Framework v3.5 for desktop Windows XP, Vista, 7 and
8. A subset of functionality is available for Windows Phone 8 and Windows Embedded Handheld 8 in the InTheHand.Phone.Bluetooth.dll
library.
I have an application for Windows Phone 7. I have created visual studio 2012 in windows 8 desktop. I am trying to use the application in Windows Phone 8 device also with some changes involved. How can I programmatically detect whether the device is Windows Phone 7 or Windows Phone 8?
Just as you would on any other platform with C#: Environment.OSVersion
You can use this toolkit to check the version of the phone:
http://mangopollo.codeplex.com/
bool IsWP8() : Returns if the phone running the application is a
Windows Phone 8
EDIT: If you don't want to use the whole toolkit here is how it checks it:
public static bool IsWP8 { get { return Environment.OSVersion.Version >= TargetedVersion; } }
private static Version TargetedVersion = new Version(8, 0);
Creds to original author.
You shouldn't need to.
Either it is a Windows Phone 7 app and will work on both Windows Phone 7 and Windows Phone 8 devices or it is a Windows Phone 8 application.
A Windows Phone 7 app running on Windows Phone 8 shouldn't be able to do anything that a Windows Phone 7 device shouldn't be able to do.
This article has some good strategies as well.
http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh202996(v=vs.105).aspx
It is not just about run-time either, for example, your code may function one way on wp7 and another on wp8 depending on availability of an API. In this case a #define may the best way to go, because you really don't care what kind of device you are running on, but what SDK you were built against.
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