Hi Jesse,

yes this was a way I tried a few month ago and it works with a Windows Runtime Component written in C++/CX (a simple hello world thing, call async from JS). But you will be very limited in Windows Runtime Components, particular in creating XAML UI components. This is not allowed/available: http://social.msdn.microsoft.com/Forums/en-US/bd764f1e-887f-49b5-beb6-848cea93fb44/lauch-xaml-ui-from-c-runtime-component-in-html5javascipt-ws-app?forum=winappswithhtml5

So the only way (if I understand this correctly) is to port the WinJS project over to a XAML C# or C++/CX project. To get this working. Is there a near or far plan on doing this? Maybe as a separate platform in the cordova-windows repo named "windows8xaml".

I will need this for our APP project, I will do the porting my self when there is no work done yet and hopefully get this running :-)

Mit freundlichen Grüßen / Best regards

*Daniel Toplak*

Am 09.12.2013 21:42, schrieb Jesse:
Windows 8 apps *will* be able to include plugins authored in other languages, but it is not yet supported. For now, you can create/add a new portable-library project to your solution, and access it from async javascript.

More details here:
http://msdn.microsoft.com/en-us/library/windows/apps/br230301%28v=vs.110%29.aspx

Unfortunately, you will have to set this up yourself, and plugins authored this way are not yet distributable/installable with plugman/cordova-cli.


@purplecabbage
risingj.com <http://risingj.com>


On Mon, Dec 9, 2013 at 12:32 PM, Daniel Toplak <[email protected] <mailto:[email protected]>> wrote:

    Hi,

    are there any work done on porting the windows 8 platform to XAML
    C# or C++ implementation?
    AFAIK if I am correct this is the only way to fully support native
    XAML C#/C++ plugins on Windows 8 and Windows 8 RT store APPs.


    Mit freundlichen Grüßen / Best regards

    *Daniel Toplak*

    Am 07.07.2013 22:16, schrieb Jesse MacFadyen:

        No immediate plans. Maybe post 3.0.0

        Cheers,
           Jesse

        Sent from my iPhone5

        On Jul 7, 2013, at 2:18 AM, Daniel Toplak
        <[email protected] <mailto:[email protected]>> wrote:

        Hi,

        any news here?

        Greets Daniel

        Am 02.07.2013 01:44, schrieb Toplak Daniel:

            Hi,

            we are very interested in phonegap/cordova and we like the
            concept of HTML5/JS/CSS + native plugin APPs.
            We have created a proof of concept to embed a OpenGL
            Render Engine into a the Html-Views (not WebGL).
            The native plugin which renders on a native view is
            running on iOS and Android very well.

            Now we whant to go a bit further and whant to bring this
            technic to Windows 8 (RT) platform to support the Windows
            8 Desktop and the Windows RT Tablets.
            For this we would like to try to get a DirectX Engine
            running as a native plugin. But here comes the hurdle:
            Cordova-windows-8 is build on top of the Windows
            HTML/JS/CSS stack not as a XAML APP. We were able to build
            a Windows Runtime Component DLL in C++ but there we are
            not able to access the XAML GUI to create a view as the
            DirectX Rendering Context.

            So are there any plans to port the cordova-windows-8 over
            to a XAML APP like the cordova-windows-phone8?

            Mit freundlichen Grüßen / Best regards

            CADENAS GmbH
            Head of Mobile Development
            Daniel Toplak




Reply via email to