FM Radio API and Trigger Radio On Off - c#

no fm radio api found for windows phone 8.1 , and UWP
and how trigger radio on/off
i found 'using Microsoft.Devices.Radio' but not works on windows phone 8.1 only works for windows phone 7

In UWP it is now Windows.Devices.Radios, you can refer to the Radio class, but FM is not currently available. You can refer to RadioKind enumeration
Seems this will be supported in the future, I think you may submit a request to add this new feature for development through the Windows Feedback tool.

Yes, it is possible. Make a new project in Visual Studio for Windows Phone 8.0/8.1 Silverlight App after installing the installing the appropriate sdk.
and also create two project with win phone silverlight and class and another UWP and reference it in UWP app , now we able to use silverlight api in uwp

Related

Windows Phone 8.1 XAML Ad Mediator

I'm trying to integrate AdMediator into an Windows Phone 8.1 XAML project. I installed the AdMediator extension and when i access the Ad Networks it only shows Microsoft Advertising, AdDulex,Smaato. Does this mean Admob does not work inside AdMediator, or it needs to be installed manually.
Admob only works on Windows Phone 8.1 Silverlight apps. At the moment, there's no SDK for XAML based apps. See this

Does IBM MobileFirst support native C#/Xaml apps for windows phone 8.1/windows 8.1?

To further clarify the title.
I don't mean HTML5 hybrid apps or apps that have been developed for windows 8/ windows phone 8 and run on windows 8.1/ windows phone 8.1
I would like to know if IBM MobileFirst supports native apps written for windows 8.1 and/or windows phone 8.1 .
For example a universal app.
From what I have read and the tutorials I've seen there is no way to generate dlls for windows 8.1 and windows phone 8.1. Am I missing something?
Have you taken a look at the IBM MobileFirst Platform Developer Center or the IBM MobileFirst Platform Knowledge Center? you'll find your answers there...
Windows Phone 8 - There are tutorials for Native Windows Phone 8.x development (more to come in the future).
https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-native-wp8-development-6-3/
http://www-01.ibm.com/support/knowledgecenter/SSZH4A_6.2.0/com.ibm.worklight.dev.doc/dev/c_developing_native_apps_wp8.html
Windows 8 - Native Windows 8 support is also available (but not yet mentioned in the dev center)
http://www-01.ibm.com/support/knowledgecenter/SSHS8R_6.3.0/com.ibm.worklight.dev.doc/dev/c_developing_native_apps_w8.html
Search the Knowledge Center for more information...
#corus I was able to reproduce your problem consistently! What fixed was the changing the build action of the wlclient.properties file to Content.
Go to solution explorer
Right click on wlclient.properties and select "Properties"
Set the "Build action" property to "Content" (this is missing in the knowledge center)
Also set the "Copy to output directory" to "always"
This should fix the crash issue.
#corcus Part 1 - Currently upto IBM MF 6.3 - there is no formal support in the product UI but we have been qualifying Visual Studio 2013 in the meanwhile (https://www.ibm.com/developerworks/community/blogs/worklightsmobileplayground/entry/ibm_worklight_and_microsoft_visual_studio_2013?lang=en)
Part 2 - our current WindowsPhone8 environment is Silverlight based. What you can try doing is Create a native app with Windows8 environment (this will create a C# app). Open it in VS2013 and then add a Windows Phone 8.1 project to it. Then add the DLL references to the phone project and copy the assets to the Phone Project (or Shared Project) and try running on the Win 8.1 phone. This should work (I have tried Hybrid and it works, but not native - hence not saying conclusively)

Visual Studio 2013 windows phone project templates doubts

I have updated my code to WP 8.1 and wanted to organise it better by using Class Libraries.
The doubt comes when I find there are 2 Class library project templates for Windows Phone:
Class Library (Windows Phone)
Class Library (Windows Phone
Silverlight)
If i select template 1, i see the assemblies referenced by default are .NET for Windows Store Apps and Windows Phone 8.1
If i select template 2, i got asked the target version of the Windows Phone OS (8.0 or 8.1) and the assemblies references by default are .NET for Windows Phone and Windows Phone.
Do you know the differences between them?
I have looked into the matter and seems it depends if you want to load the .NET runtime namespaces or not, am i correct? Are there any more differences?
The class library type will depend on whether your main app will be a Windows Phone 8.1 Silverlight app, or Windows Phone 8.1 XAML app.
The advantage of WP8.1 XAML app is that it is converged with Windows 8.1 - you can even create an Universal App that shares almost all code and xaml between the Win8 and WP8.1 apps.
The advantage of WP8.1 Silverlight app is that it is more closer to the old WP8.0 app - less changes are required, and also it has access to some APIs not available to WP8.1 XAML apps.

Upgraded my app to Windows Phone 8.1. Still no PlaceholderText on TextBox/PasswordBox

So i needed some placeholder text on a PasswordBox for my Windows Phone app. My app was created as a Windows Phone 8.0 project. Then came the 8.1 update and i found out that it contained a property on TextBox's and PasswordBox's named PlaceholderText. So i upgraded to 8.1 by right clicking my project and press "retarget for windows phone 8.1", after that i checked for updates to NuGet packets(There was non).
Thing is that my .xaml doc still can't find that property PlaceholderText. So what could i be missing?
According to this thread Placeholdertext is only applicable for WP 8.1 Universal (RunTime) apps.
Make sure that yours is not a WP Silverlight app.
Hope it helps!

Win Phone System.Windows.Controls.Control not found

I'm developing a universal windows 8.1 app, though I'm primarily working on the windows phone version.
System.Controls.control should work for windows phone, but whenever I add System.Windows.Controls.dll to my Win Phone 8.1 references, my project won't compile and it says:
Cannot find type System.Windows.Controls.Control in module System.Windows.dll
This happens whether or not i actually say "using system.win.." etc, it happens as soon as I add it to my project references. This dll is from my programfiles(x86)/microsoftsdks/silverlight directory.
Any ideas on how to fix this issue?
You're trying to use Silverlight controls in a WinRT app. That won't work. New UI controls are a part of Windows.UI.Xaml.Controls.
Find the list of controls which are in that namespace here. Also, please read more about the two different XAML models available in Windows Phone 8.1.

Categories