Xamarin: Difference between revisions

From Yggenyk
Jump to navigation Jump to search
No edit summary
 
(28 intermediate revisions by the same user not shown)
Line 12: Line 12:
* [https://github.com/pierceboggan/smarter-apps Learn how to build smarter mobile apps using Microsoft Cognitive Services & Xamarin]
* [https://github.com/pierceboggan/smarter-apps Learn how to build smarter mobile apps using Microsoft Cognitive Services & Xamarin]


==SkiaSharp==
==Android==
* [https://fiddle.skia.org/ Skia Fiddle]
====Android services====
* [https://fiddle.skia.org/named/ Named Fiddles]
* [https://developer.xamarin.com/guides/android/application_fundamentals/services/ Android services]
* [https://developer.xamarin.com/guides/android/application_fundamentals/services/part_1_-_started_services/ Part 1 - Started Services]
* [https://developer.xamarin.com/guides/android/application_fundamentals/services/creating-a-service/started-services/ Started Services with Xamarin.Android]


<syntaxhighlight lang="C#" line='line'>
====Android Emulator====
    using (new Transform(canvas))
Android Emulator Hardware Acceleration
    {
* [https://developer.xamarin.com/guides/android/getting_started/installation/android-emulator/hardware-acceleration/#disable-hyperv How to prepare your computer for maximum Android SDK Emulator performance]


    }
====Android Camera====
* [https://github.com/googlesamples/android-Camera2Video googlesamples/android-Camera2Video]


    public class Transform : IDisposable
==iOS==
    {
* [https://blog.xamarin.com/visual-studio-2017-version-15-6-preview-available-today/ Visual Studio 2017 Version 15.6 Preview Available Today!]
        private readonly SKCanvas _canvas;
Automatic macOS Provisioning
* [https://developer.xamarin.com/guides/cross-platform/windows/ios-simulator/ Remoted iOS Simulator (for Windows)]


        public Transform(SKCanvas canvas)
==MvvmCross==
        {
* [https://github.com/willsb/Mvx.Flashlight Mvx.Flashlight]
            _canvas = canvas;
* [https://github.com/Cheesebaron/Cheesebaron.MvxPlugins Cheesebaron.MvxPlugins]
            canvas.Save();
        }


        public void Dispose()
====Bindings====
        {
* [https://blog.ostebaronen.dk/2018/01/mvvmcross-binding-target.html MvvmCross Binding Target]
            _canvas.Restore();
        }
    }
</syntaxhighlight >
<source lang="cpp">
    // Transform point from current transformation matrix to original grid
    var originalPoints = new[] { new SKPoint(0, 0) };
    var pointInCurrentTransformationMatrix = new[] { new SKPoint(0, 0) };
    canvas.TotalMatrix.MapPoints(originalPoints, pointInCurrentTransformationMatrix);


    // Transform point from original grid to current transformation matrix
==UWP==
    canvas.TotalMatrix.TryInvert(out var inverseMatrix);
* [https://www.nuget.org/packages/Microsoft.Net.Native.SharedLibrary-x64/ Microsoft.Net.Native.SharedLibrary-x64]
    var snappedPixelPointsInCurrentTransformationMatrix = new[] { new SKPoint(0, 0) };
* [http://www.damirscorner.com/blog/posts/20120923-UsingSuspensionManagerForSavingApplicationState.html Using SuspensionManager for Saving Application State]
    inverseMatrix.MapPoints(snappedPixelPointsInCurrentTransformationMatrix, originalPoints);
* [https://docs.microsoft.com/en-us/windows/uwpcommunitytoolkit/ UWP Community Toolkit]
</source>
====Reflection and Default.rd.xml====
* [https://marcominerva.wordpress.com/2016/02/22/pay-attention-to-net-native-when-using-reflection-mvvm-scenario/ Pay attention to .NET Native when using Reflection (MVVM scenario)]


==Android services==
====Navigation====
* [https://developer.xamarin.com/guides/android/application_fundamentals/services/ Android services]
* [https://blog.mzikmund.com/2017/03/modifying-uwp-navigation-backstack-with-mvvmcross/ Modifying UWP navigation backstack with MvvmCross]
* [https://developer.xamarin.com/guides/android/application_fundamentals/services/part_1_-_started_services/ Part 1 - Started Services]
* [https://docs.microsoft.com/en-us/uwp/api/windows.ui.xaml.navigation.pagestackentry PageStackEntry Class]
* [https://developer.xamarin.com/guides/android/application_fundamentals/services/creating-a-service/started-services/ Started Services with Xamarin.Android]
* [http://www.mobilemotion.eu/?p=962 Re-implementing WinRT’s navigation system]
 
====Migrating ot UWP====
* [https://msdn.microsoft.com/library/mt148501.aspx?f=255&MSPPError=-2147217396 Migrate apps to the Universal Windows Platform (UWP)]

Latest revision as of 06:10, 25 March 2018


The Accord.NET Image Processing and Machine Learning Framework

Accord.NET is a framework for scientific computing in .NET. The framework is comprised of multiple librares encompassing a wide range of scientific computing applications, such as statistical data processing, machine learning, pattern recognition, including but not limited to, computer vision and computer audition. The framework offers a large number of probability distributions, hypothesis tests, kernel functions and support for most popular performance measurements techniques.* Accord .NET Framework

Facial Recognition

Adding Facial Recognition to Your Mobile Apps By Pierce Boggan

Android

Android services

Android Emulator

Android Emulator Hardware Acceleration

Android Camera

iOS

Automatic macOS Provisioning

MvvmCross

Bindings

UWP

Reflection and Default.rd.xml

Navigation

Migrating ot UWP

id=siteTree