Use a DrawingSurface with the 3D Starter Kit WP8 - xaml

The default Windows Phone 8 D3D + XAML template works fine with a DrawingSurface. However the 3D Starter Kit does not.
The problem is that it seems to be that the C++ is returning a IDrawingSurfaceBackgroundContentProvider instead of the DrawingSurface equivalent.
I've attempted to change the 3D Starter Kit sample to be closer to the normal template, but am just getting errors.
Does anyone know how to do this?

If you create the Visual C++ Windows Phone Template, Windows Phone Direct3D with XAML app, you'll see that it uses a DrawingSurfaceBackgroundGrid.
It's the Visual C# Windows Phone template, Windows Phone XAML with Direct3D App that uses a DrawingSurface.

Related

Can I run a XAML Unity App in 3D mode using the Mixed Reality

I'm using the latest Unity version (2017.3.0f3) and check my player enable Window Mixed Reality. After building a new project from Unity with Build Type XAML, I see nothing but a black screen. When I use Build Type D3D, it works well.
Is there any problem with XAML type. Almost Mixed Reality tutorial on Microsoft, they recommend using D3D.

Using Portable Class Libraries with Windows 8 / Windows Phone 8 MVVM - Page Navigation

I'm developing an app for both Windows 8 and Windows Phone 8.
I chose to implement a Portable Class Library and share it between those two platforms.
The only problem is that I can't figure out how to handle Page Navigation in the PCL.
I've used as an example the folowing tutorial: using portable class library
Any help will be highly appreciated. Thanks.
The best approach is to create your own abstraction around navigation.
I'd create an interface say INavigationService, and then in your non-PCL assemblies for each platform create an implementation of that interface wrapping the appropriate control (Frame for WinRT and PhoneNavigationFrame for Windows Phone 8).
I'd recommend looking at the source of Caliburn.Micro as it has this similar approach to abstract navigation.
Here is a sample that shows how to do this: Sharing Code: Adding NavigationService

is there something like a hubtile (WP7) in win 8 metro style?

i want to port one of my windows phone 7 apps to the windows 8 metro style plattform.
the problem is, that i need a element like the hubtile which i use from the silverlight toolkit for windows phone.
is there something equal in the windows 8 metro style platform? maybe open source like the silverlight toolkit.
i dont want to add the livetile outside my app, this is easy. i want to have something like hubtile for WP7 for win8. This means a tile which is inside my application.
If I'm right I'm planning to do the same task. I didn't find any reference of a control which performs like a HubTile. Thus, I decided importing the one from the Silverlight Toolkit (for Windows Phone). Luckily it worked almost smoothly, you can see my sample at:
https://github.com/hmadrigal/playground-dotnet/tree/master/MsWinPhone.EmbedFont (tested on Windows 8 RP and Visual Studio 2012 RC)
Kind regards,
Herber
you can work with the live tiles of course and in several ways. You can use badge notifications, toast notifications, and so on.
I'll suggest you to take a look to this documentation.
And also take a look to those two samples: App tiles and badge sample and Push and periodic notifications client-side sample
By the way don't forget to enable the features you need in the package manifest.

How to draw graphics object in windows 8 winRT

How i can draw hand free graphic objects in windows 8, like paint can. I implemented such things in windows phone with Inkpresenter. But in winRT it seems that no such items are present. So i decided to use WritablebitmapEX, but idont know hot to implement this in windows 8. No sample code present in the downloading site. please any one help me to solve this issue.
http://social.msdn.microsoft.com/Forums/en-US/winappswithcsharp/thread/282a211e-e3bf-4184-8868-40208aa596dd
there is a good quickstart page on the Microsoft Site
http://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh974457.aspx

how to add spectrum while playing audio files in windows 8 xaml C# apps

i have created a player using media element in windows 8 xaml apps.i want to add spectrum to my mediaelment when playing audio files.how to add spectrum to mediaelement using xaml C# in windows 8?
how to diagnose audio in adding spectrum to media element in windows 8 xaml apps using C#
Are you talking about an audio visualizer? Try these examples here and here.