Xamarin WP8 DataTransferManager - windows-phone-8

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.

Related

Titanium Documentation for Windows Phone 8 SDK

I have an application built with the Titanium SDK that runs fine on iOS and Android. Now that Windows Phone can be targeted using Appcelerator Studio, I tried to publish the app to this platform. It published and ran but the app looks horrible and behaves unexpected and clearly needs some work.
When I search through Appcelerator's documentation for the Titanium SDK, the properties and methods for say "Ti.UI.View" do not have the Windows supported logo next to them? How do I know what properties and methods of the various classes are supported / I can use? I will post an example link below. It is for Ti.UI.View
http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.View-property-touchEnabled
Is there another source of documentation I am missing? Does anyone know if Appcelerator plan on updating their docs?
If the property does not clarify anything supports all e.g: BackgroundColor, but if the property supported only some are shown as follows: e.g BackgroundDisabledColor (Windows and Android)
I'm not sure if the documentation is up-to 100%
Documentation for windows:
Windows Phone specific UI capabilities
Windows UI Components and Conventions

Windows 8.1 Facebook App Events

I'm writing a Windows 8.1 universal App (WinRT).
I need to integrate with Facebook to track App Events.
I made the same thing in an Android App using the AppEventsLogger.
I added the "Facebook SDK for .NET" to my project using NuGet, but I cannot find any way to track the App Events (like activateApp, deactivateApp, logEvent)
Are these functionalities I need included in the SDK I'm using?
Can I track these events in any other way in a WinRT Application?
Thank you all.

If I use Javascript for my scripts in Unity, will I be able to export the project to Windows Phone?

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

Windows Store WinJS App and LESS

Is it possible to use LESS files in a WinJS application for the Windows Store?
I like how the Web Essentials extension works with web apps and would like to have this functionality in my WinJS app.
Yes, as long as you've got it setup to compile and you add the output CSS files to your project, it works fine. I'm using it in a WinJS project.

LibSpotify and Windows Store App

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.