I am attempting to use the RDP control in a WinRT XAML app. The MS sample is a JS contraption that seems to use the ActiveX component. How can you incorporate an ActiveX control into a XAML app ?
On page 5 in Migrating your Build app to Windows 8 Consumer Preview whitepaper you can find the section:
ActiveX object removal in Windows Store apps with JavaScript
Previously, it was possible to instantiate a small set of ActiveX
objects.
These included some XML-related ActiveX objects. Ability to
instantiate these has been removed.
Related
Windows Phone API has the namespace DataTransferManager to share files from internal storage.
I'm trying to use this feature on my Xamarin App.
I got a WP8 XAML page displayed via Xamarin's PageRenderer. Inside this page I call DataTransferManager.GetForCurrentView() like described in many tutorials. But at runtime the App crashes with NotSupportedException.
Please help me on how I can share files (no pictures) from my App.
Thanks
I found a solution: Upgrading the WinPhone Project to WP8.1.
So far there are no errors with PCL and 8.1.
As above. Will I be able to publish the app to Windows Phone which is using Javascript inside Unity project?
unity is a cross platform engine so what you code inside it can be used all across platforms . no matter what language you use
I'm new to Windows Phone 8 development. I'm coming from an ASP.NET Web Forms background where settings are stored in Web.Config. As some of you know, the Web.Config settings are hierarchical in nature where values are overridden depending on their location (root Web.config, machine.config, app level Web.config)
I am creating an app that calls into a third party API. The third party API uses OAuth which requires personal key information. I plan on open sourcing the code so I don't want to expose those keys.
If this was ASP.NET, I'd store the keys in a Web.config file outside of the app. This way, I'd be safe to publish my app to the public.
How would I achieve the same with a Windows Phone 8 app?
App.config functionality does not exist in Silverlight and WP apps. You can use IsolatedStorageSettings.ApplicationSettings to save/receive settings.
If you still want to use something similar to App.config then you can check this link for a similar functionality implementation.
Who knows if we can reference Microsoft.Phone.DeviceManufacturers component within official windows phone 8 sdk? I want to develop a background service using ServiceAgent class.
From MSDN (http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj208461(v=vs.105).aspx)
"This API is not intended to be used directly from your code."
So, no you can't use this for a normal SDK app which you distribute via the Store - this is a restricted API. You may be able to use this in an app which you load on a dev-unlocked phone.
I'd like to start work on a Windows Store App client for Spotify, using LibSpotify. However, it seems that I'm unable to use the libspotify dll from inside a Metro app, presumably because it uses parts of the win32 api that are off-limits to the Metro Sandbox.
Loading in my own simple test dll using LoadPackagedLibrary works ok, but loading in libspotify gives error 1114 - ERROR_DLL_INIT_FAILED.
Is there any hope for me?
Thanks
Tom
If you are trying to create a Metro-Style-App - you have no hope until Spotify releases an updated library or someone reverse engineers their library to make it work in WinRT.
If you want to create a Metro style app that is not WinRT - based - there are WPF libraries that let you theme your application to look Metro, but you won't be able to sell it in Windows Store unless you work for Spotify and get into a deal with Microsoft.
You can only use the WinRT library in Windows 8 Metro Apps, not Win32.