Xamarin: Difference between revisions

From Yggenyk
Jump to navigation Jump to search
No edit summary
 
(19 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]
 
<syntaxhighlight lang="C#" line='line'>
    using (new Transform(canvas))
    {
 
    }
 
    public class Transform : IDisposable
    {
        private readonly SKCanvas _canvas;
 
        public Transform(SKCanvas canvas)
        {
            _canvas = canvas;
            canvas.Save();
        }
 
        public void Dispose()
        {
            _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
    canvas.TotalMatrix.TryInvert(out var inverseMatrix);
    var snappedPixelPointsInCurrentTransformationMatrix = new[] { new SKPoint(0, 0) };
    inverseMatrix.MapPoints(snappedPixelPointsInCurrentTransformationMatrix, originalPoints);
</source>
 
==Android services==
* [https://developer.xamarin.com/guides/android/application_fundamentals/services/ Android services]
* [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/part_1_-_started_services/ Part 1 - Started Services]
Line 56: Line 19:


====Android Emulator====
====Android Emulator====
* [https://developer.xamarin.com/guides/android/getting_started/installation/android-emulator/hardware-acceleration/#disable-hyperv Android Emulator Hardware Acceleration
Android Emulator Hardware Acceleration
How to prepare your computer for maximum Android SDK Emulator performance]
* [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]
 
==iOS==
* [https://blog.xamarin.com/visual-studio-2017-version-15-6-preview-available-today/ Visual Studio 2017 Version 15.6 Preview Available Today!]
Automatic macOS Provisioning
* [https://developer.xamarin.com/guides/cross-platform/windows/ios-simulator/ Remoted iOS Simulator (for Windows)]


==MvvmCross==
==MvvmCross==
Line 63: Line 34:
* [https://github.com/Cheesebaron/Cheesebaron.MvxPlugins Cheesebaron.MvxPlugins]
* [https://github.com/Cheesebaron/Cheesebaron.MvxPlugins Cheesebaron.MvxPlugins]


====Navigation====
====Bindings====
* [https://blog.mzikmund.com/2017/03/modifying-uwp-navigation-backstack-with-mvvmcross/ Modifying UWP navigation backstack with MvvmCross]
* [https://blog.ostebaronen.dk/2018/01/mvvmcross-binding-target.html MvvmCross Binding Target]


====UWP====
==UWP==
* [https://www.nuget.org/packages/Microsoft.Net.Native.SharedLibrary-x64/ Microsoft.Net.Native.SharedLibrary-x64]
* [https://www.nuget.org/packages/Microsoft.Net.Native.SharedLibrary-x64/ Microsoft.Net.Native.SharedLibrary-x64]
* [http://www.damirscorner.com/blog/posts/20120923-UsingSuspensionManagerForSavingApplicationState.html Using SuspensionManager for Saving Application State]
* [http://www.damirscorner.com/blog/posts/20120923-UsingSuspensionManagerForSavingApplicationState.html Using SuspensionManager for Saving Application State]
* [https://docs.microsoft.com/en-us/windows/uwpcommunitytoolkit/ UWP Community Toolkit]
* [https://docs.microsoft.com/en-us/windows/uwpcommunitytoolkit/ UWP Community Toolkit]
=====Reflection and Default.rd.xml=====
====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)]
* [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)]


=====Migrating=====
====Navigation====
* [https://blog.mzikmund.com/2017/03/modifying-uwp-navigation-backstack-with-mvvmcross/ Modifying UWP navigation backstack with MvvmCross]
* [https://docs.microsoft.com/en-us/uwp/api/windows.ui.xaml.navigation.pagestackentry PageStackEntry Class]
* [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)]
* [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