I'm having some fun with FMRadio class, in Windows Phone 8, but there is something I couldn't figure out how to do, retrieve station information.
Using the built-in radio app, for some stations some information appear on screen. This can be the name of the station, the name of the current show, the name of the current music. Does anyone know how to retrieve this kind of information? I believe it's retrieved from the FM signal itself.
Thanks
From the documentation:
Caution:
FM radio is supported only in apps that target Windows Phone OS 7.1.
If you use the FMRadio class in apps that target Windows Phone OS 8.0
or later, a RadioDisabledException indicates that the FM radio feature
is not available. On Windows Phone 8 devices with a build of 8.0.10322
or greater, the run-time exception may not occur if you use the
FMRadio API. However, the FMRadio API is not supported for apps that
target Windows Phone OS 8.0.
None of the information you want was made available, and the radio support has been deprecated/removed.
Related
As I mentioned in the title, I plan to write an sensor-based application for windows phone platform, but I don't know if windows phone allow application (using some codes) to turn off/on the screen.
Microsoft certification will not allow application to do so, even though if your able to do with some hacks. You cant turn off the screen from your application. This type of app cannot be made for Windows Phone, the API's do not exist, and if someone found a workaround it would be removed from the store. Unfortunately non of the developers have developed such app for windows. One app is available on Windows phone store One Touch Lockscreen, Find here
I'm building an application that is using push notifications, but I want the possibility to send "test" message's to certain phones. I don't know which phones it will be at launch. The way I would like to solve this is by using the "DeviceUniqueId" and using a second app to retrieve it with an name. But I also read questions that it can change, for example when the app is published by a different publisher.
So my question is:
When is the DeviceUniqueId the same and when is it different?
For WP 7.1 apps running on WP 8 devices the value of DeviceExtendedProperties("DeviceUniqueId") will be unique across all applications and will not change if the phone is updated with a new version of the operating system.
For WP 8.0 apps running on WP 8 devices the value of DeviceExtendedProperties("DeviceUniqueId") will be unique per device and per app publisher.
Source
I'm building a Windows Phone application and my client has given me a list of languages that he would like the App to be localized for.
The problem is that some of those languages are not supported by Windows Phone and I then decided to check out the list of supported langauges which is available here. I noticed that there are two OS option for Windows Phone, i.e. 7.0 and 7.1 but during development I am not sure of how to check for which OS the phone is running so that I know which list of languages to supply to the user.
I'd like to know how to check if the Windows Phone OS is 7.0 or 7.1 (I'm assuming that his caters for later OS versions that might have come after the list was created)
Check this Windows Phone Team Blog post.
Microsoft already stopped the support for OS 7.0, so you don't need to worry about 7.0. GO ahead with 7.1
Microsoft is closing it's marketplace for devices running Windows Phone 7.0. So you shouldn't need to check if it's a 7.0 device, since your app probably won't be installed on one of those.
Here is an article describing this.
http://www.mofonu.com/2012/04/26/windows-phone-marketplace-closing-its-doors-to-devices-not-running-mango/
How i can retrieve information about installed devices in windows phone (e.g. gps, bluetooth, accelerometer)?
In windows mobile I can use Status or SystemState class. And what about Windows Phone?
I'm beginner with this technology, and I have to do this for university.
There is a Device Status sample on MSDN which can guide you through using the Devicesstatus class which can be used to query for the presence of a keyboards and other optional hardware components -- it is my understanding that a location sensor (GPS or otherwise), bluetooth and possibly the accelerometer are all part of the minimum hardware specification so these are not reported via this API (as there is nothing to query)
I want to develop an application for Windows 7.5 mango OS phone like HTC Mozart, I am already having Visual Studio 2008, will the apps built by Windows Mobile 5 smartphone SDK be supported in a windows phone?
No, the Windows Phone SDK is the only one that is supported. In short, Windows Mobile != Windows Phone.
Also the UI is drastically different and the underlying runtime and .NET framework is also different. You might be able to port the logic of your code across easily to the new SDK, but the UI will need rewriting.
There are also a lot of freedoms lost in the new iteration as "the user is king". This means you need to review what your current app requires and provides to see if it is even a good fit for the new range of phones.
No, Windows mobile SDK wont work for Windows phone 7 applications.
See, the .NET Framework for windows phone 7 has changed completely . Infact the classes and APIs have changed .you can carry forward your previous experience of Windows Phone development into this new one but that certainly might not be the same code and services working in the same platform