Unverified Commit 0574e8d4 authored by Martin Finkel's avatar Martin Finkel Committed by GitHub

Feature/xamarin forms (#28)

* Add Forms.Android setup

* Add Forms.iOS setup

* Add Xamarin.Forms support to README

* implicitly call attach/detach

* bump TargetFrameworkVersion to 8.1
parent 11045053
......@@ -10,7 +10,7 @@
<TargetPlatformVersion>10.0.16299.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.16299.0</TargetPlatformMinVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'Xamarin.iOS10'">
<PropertyGroup Condition="$(TargetFramework.StartsWith('Xamarin.iOS'))">
<DefineConstants>$(DefineConstants);MONO;IOS;COCOA</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'Xamarin.Mac20'">
......@@ -22,7 +22,7 @@
<PropertyGroup Condition="'$(TargetFramework)' == 'Xamarin.WatchOS10'">
<DefineConstants>$(DefineConstants);MONO;COCOA</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'MonoAndroid80'">
<PropertyGroup Condition="$(TargetFramework.StartsWith('MonoAndroid'))">
<DefineConstants>$(DefineConstants);MONO;ANDROID</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp2.0'">
......
......@@ -13,7 +13,7 @@
<AssemblyName>LibVLCSharp.Android.AWindow</AssemblyName>
<FileAlignment>512</FileAlignment>
<AndroidUseLatestPlatformSdk>True</AndroidUseLatestPlatformSdk>
<TargetFrameworkVersion>v8.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v8.1</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
......
......@@ -17,7 +17,7 @@
<AndroidResgenClass>Resource</AndroidResgenClass>
<GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
<AndroidUseLatestPlatformSdk>True</AndroidUseLatestPlatformSdk>
<TargetFrameworkVersion>v8.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v8.1</TargetFrameworkVersion>
<AndroidManifest>Properties\AndroidManifest.xml</AndroidManifest>
<MonoAndroidResourcePrefix>Resources</MonoAndroidResourcePrefix>
<MonoAndroidAssetsPrefix>Assets</MonoAndroidAssetsPrefix>
......
......@@ -26,7 +26,6 @@ namespace LibVLCSharp.Android.Sample
_videoView = new VideoView(this);
AddContentView(_videoView, new LinearLayout.LayoutParams(ViewGroup.LayoutParams.WrapContent, ViewGroup.LayoutParams.WrapContent));
_videoView.Attach();
_videoView.MediaPlayer.Play(new Media(_videoView.Instance, "http://www.quirksmode.org/html5/videos/big_buck_bunny.mp4", Media.FromType.FromLocation));
}
......@@ -35,7 +34,6 @@ namespace LibVLCSharp.Android.Sample
base.OnPause();
_videoView.MediaPlayer.Stop();
_videoView.Detach();
_videoView.Dispose();
}
}
......

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26730.10
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LibVLCSharp.Forms.Sample", "LibVLCSharp.Forms.Sample\LibVLCSharp.Forms.Sample\LibVLCSharp.Forms.Sample.csproj", "{D054AF3C-A320-4E44-A417-33111EF116C3}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LibVLCSharp.Forms.Sample.iOS", "LibVLCSharp.Forms.Sample\LibVLCSharp.Forms.Sample.iOS\LibVLCSharp.Forms.Sample.iOS.csproj", "{D2486BCF-A218-4181-B1F8-E6D46DCADCDC}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LibVLCSharp.Forms.Sample.Android", "LibVLCSharp.Forms.Sample\LibVLCSharp.Forms.Sample.Android\LibVLCSharp.Forms.Sample.Android.csproj", "{C77C28DD-A2B2-403C-A907-76184BD5D11E}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Ad-Hoc|Any CPU = Ad-Hoc|Any CPU
Ad-Hoc|ARM = Ad-Hoc|ARM
Ad-Hoc|iPhone = Ad-Hoc|iPhone
Ad-Hoc|iPhoneSimulator = Ad-Hoc|iPhoneSimulator
Ad-Hoc|x64 = Ad-Hoc|x64
Ad-Hoc|x86 = Ad-Hoc|x86
AppStore|Any CPU = AppStore|Any CPU
AppStore|ARM = AppStore|ARM
AppStore|iPhone = AppStore|iPhone
AppStore|iPhoneSimulator = AppStore|iPhoneSimulator
AppStore|x64 = AppStore|x64
AppStore|x86 = AppStore|x86
Debug|Any CPU = Debug|Any CPU
Debug|ARM = Debug|ARM
Debug|iPhone = Debug|iPhone
Debug|iPhoneSimulator = Debug|iPhoneSimulator
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|ARM = Release|ARM
Release|iPhone = Release|iPhone
Release|iPhoneSimulator = Release|iPhoneSimulator
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{D054AF3C-A320-4E44-A417-33111EF116C3}.Ad-Hoc|Any CPU.ActiveCfg = Debug|Any CPU
{D054AF3C-A320-4E44-A417-33111EF116C3}.Ad-Hoc|Any CPU.Build.0 = Debug|Any CPU
{D054AF3C-A320-4E44-A417-33111EF116C3}.Ad-Hoc|ARM.ActiveCfg = Debug|Any CPU
{D054AF3C-A320-4E44-A417-33111EF116C3}.Ad-Hoc|ARM.Build.0 = Debug|Any CPU
{D054AF3C-A320-4E44-A417-33111EF116C3}.Ad-Hoc|iPhone.ActiveCfg = Debug|Any CPU
{D054AF3C-A320-4E44-A417-33111EF116C3}.Ad-Hoc|iPhone.Build.0 = Debug|Any CPU
{D054AF3C-A320-4E44-A417-33111EF116C3}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Debug|Any CPU
{D054AF3C-A320-4E44-A417-33111EF116C3}.Ad-Hoc|iPhoneSimulator.Build.0 = Debug|Any CPU
{D054AF3C-A320-4E44-A417-33111EF116C3}.Ad-Hoc|x64.ActiveCfg = Debug|Any CPU
{D054AF3C-A320-4E44-A417-33111EF116C3}.Ad-Hoc|x64.Build.0 = Debug|Any CPU
{D054AF3C-A320-4E44-A417-33111EF116C3}.Ad-Hoc|x86.ActiveCfg = Debug|Any CPU
{D054AF3C-A320-4E44-A417-33111EF116C3}.Ad-Hoc|x86.Build.0 = Debug|Any CPU
{D054AF3C-A320-4E44-A417-33111EF116C3}.AppStore|Any CPU.ActiveCfg = Debug|Any CPU
{D054AF3C-A320-4E44-A417-33111EF116C3}.AppStore|Any CPU.Build.0 = Debug|Any CPU
{D054AF3C-A320-4E44-A417-33111EF116C3}.AppStore|ARM.ActiveCfg = Debug|Any CPU
{D054AF3C-A320-4E44-A417-33111EF116C3}.AppStore|ARM.Build.0 = Debug|Any CPU
{D054AF3C-A320-4E44-A417-33111EF116C3}.AppStore|iPhone.ActiveCfg = Debug|Any CPU
{D054AF3C-A320-4E44-A417-33111EF116C3}.AppStore|iPhone.Build.0 = Debug|Any CPU
{D054AF3C-A320-4E44-A417-33111EF116C3}.AppStore|iPhoneSimulator.ActiveCfg = Debug|Any CPU
{D054AF3C-A320-4E44-A417-33111EF116C3}.AppStore|iPhoneSimulator.Build.0 = Debug|Any CPU
{D054AF3C-A320-4E44-A417-33111EF116C3}.AppStore|x64.ActiveCfg = Debug|Any CPU
{D054AF3C-A320-4E44-A417-33111EF116C3}.AppStore|x64.Build.0 = Debug|Any CPU
{D054AF3C-A320-4E44-A417-33111EF116C3}.AppStore|x86.ActiveCfg = Debug|Any CPU
{D054AF3C-A320-4E44-A417-33111EF116C3}.AppStore|x86.Build.0 = Debug|Any CPU
{D054AF3C-A320-4E44-A417-33111EF116C3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D054AF3C-A320-4E44-A417-33111EF116C3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D054AF3C-A320-4E44-A417-33111EF116C3}.Debug|ARM.ActiveCfg = Debug|Any CPU
{D054AF3C-A320-4E44-A417-33111EF116C3}.Debug|ARM.Build.0 = Debug|Any CPU
{D054AF3C-A320-4E44-A417-33111EF116C3}.Debug|iPhone.ActiveCfg = Debug|Any CPU
{D054AF3C-A320-4E44-A417-33111EF116C3}.Debug|iPhone.Build.0 = Debug|Any CPU
{D054AF3C-A320-4E44-A417-33111EF116C3}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
{D054AF3C-A320-4E44-A417-33111EF116C3}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
{D054AF3C-A320-4E44-A417-33111EF116C3}.Debug|x64.ActiveCfg = Debug|Any CPU
{D054AF3C-A320-4E44-A417-33111EF116C3}.Debug|x64.Build.0 = Debug|Any CPU
{D054AF3C-A320-4E44-A417-33111EF116C3}.Debug|x86.ActiveCfg = Debug|Any CPU
{D054AF3C-A320-4E44-A417-33111EF116C3}.Debug|x86.Build.0 = Debug|Any CPU
{D054AF3C-A320-4E44-A417-33111EF116C3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D054AF3C-A320-4E44-A417-33111EF116C3}.Release|Any CPU.Build.0 = Release|Any CPU
{D054AF3C-A320-4E44-A417-33111EF116C3}.Release|ARM.ActiveCfg = Release|Any CPU
{D054AF3C-A320-4E44-A417-33111EF116C3}.Release|ARM.Build.0 = Release|Any CPU
{D054AF3C-A320-4E44-A417-33111EF116C3}.Release|iPhone.ActiveCfg = Release|Any CPU
{D054AF3C-A320-4E44-A417-33111EF116C3}.Release|iPhone.Build.0 = Release|Any CPU
{D054AF3C-A320-4E44-A417-33111EF116C3}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
{D054AF3C-A320-4E44-A417-33111EF116C3}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
{D054AF3C-A320-4E44-A417-33111EF116C3}.Release|x64.ActiveCfg = Release|Any CPU
{D054AF3C-A320-4E44-A417-33111EF116C3}.Release|x64.Build.0 = Release|Any CPU
{D054AF3C-A320-4E44-A417-33111EF116C3}.Release|x86.ActiveCfg = Release|Any CPU
{D054AF3C-A320-4E44-A417-33111EF116C3}.Release|x86.Build.0 = Release|Any CPU
{D2486BCF-A218-4181-B1F8-E6D46DCADCDC}.Ad-Hoc|Any CPU.ActiveCfg = Ad-Hoc|iPhone
{D2486BCF-A218-4181-B1F8-E6D46DCADCDC}.Ad-Hoc|ARM.ActiveCfg = Ad-Hoc|iPhone
{D2486BCF-A218-4181-B1F8-E6D46DCADCDC}.Ad-Hoc|iPhone.ActiveCfg = Ad-Hoc|iPhone
{D2486BCF-A218-4181-B1F8-E6D46DCADCDC}.Ad-Hoc|iPhone.Build.0 = Ad-Hoc|iPhone
{D2486BCF-A218-4181-B1F8-E6D46DCADCDC}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Ad-Hoc|iPhoneSimulator
{D2486BCF-A218-4181-B1F8-E6D46DCADCDC}.Ad-Hoc|iPhoneSimulator.Build.0 = Ad-Hoc|iPhoneSimulator
{D2486BCF-A218-4181-B1F8-E6D46DCADCDC}.Ad-Hoc|x64.ActiveCfg = Ad-Hoc|iPhone
{D2486BCF-A218-4181-B1F8-E6D46DCADCDC}.Ad-Hoc|x86.ActiveCfg = Ad-Hoc|iPhone
{D2486BCF-A218-4181-B1F8-E6D46DCADCDC}.AppStore|Any CPU.ActiveCfg = AppStore|iPhone
{D2486BCF-A218-4181-B1F8-E6D46DCADCDC}.AppStore|ARM.ActiveCfg = AppStore|iPhone
{D2486BCF-A218-4181-B1F8-E6D46DCADCDC}.AppStore|iPhone.ActiveCfg = AppStore|iPhone
{D2486BCF-A218-4181-B1F8-E6D46DCADCDC}.AppStore|iPhone.Build.0 = AppStore|iPhone
{D2486BCF-A218-4181-B1F8-E6D46DCADCDC}.AppStore|iPhoneSimulator.ActiveCfg = AppStore|iPhoneSimulator
{D2486BCF-A218-4181-B1F8-E6D46DCADCDC}.AppStore|iPhoneSimulator.Build.0 = AppStore|iPhoneSimulator
{D2486BCF-A218-4181-B1F8-E6D46DCADCDC}.AppStore|x64.ActiveCfg = AppStore|iPhone
{D2486BCF-A218-4181-B1F8-E6D46DCADCDC}.AppStore|x86.ActiveCfg = AppStore|iPhone
{D2486BCF-A218-4181-B1F8-E6D46DCADCDC}.Debug|Any CPU.ActiveCfg = Debug|iPhone
{D2486BCF-A218-4181-B1F8-E6D46DCADCDC}.Debug|ARM.ActiveCfg = Debug|iPhone
{D2486BCF-A218-4181-B1F8-E6D46DCADCDC}.Debug|iPhone.ActiveCfg = Debug|iPhone
{D2486BCF-A218-4181-B1F8-E6D46DCADCDC}.Debug|iPhone.Build.0 = Debug|iPhone
{D2486BCF-A218-4181-B1F8-E6D46DCADCDC}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
{D2486BCF-A218-4181-B1F8-E6D46DCADCDC}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
{D2486BCF-A218-4181-B1F8-E6D46DCADCDC}.Debug|x64.ActiveCfg = Debug|iPhone
{D2486BCF-A218-4181-B1F8-E6D46DCADCDC}.Debug|x86.ActiveCfg = Debug|iPhone
{D2486BCF-A218-4181-B1F8-E6D46DCADCDC}.Release|Any CPU.ActiveCfg = Release|iPhone
{D2486BCF-A218-4181-B1F8-E6D46DCADCDC}.Release|ARM.ActiveCfg = Release|iPhone
{D2486BCF-A218-4181-B1F8-E6D46DCADCDC}.Release|iPhone.ActiveCfg = Release|iPhone
{D2486BCF-A218-4181-B1F8-E6D46DCADCDC}.Release|iPhone.Build.0 = Release|iPhone
{D2486BCF-A218-4181-B1F8-E6D46DCADCDC}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
{D2486BCF-A218-4181-B1F8-E6D46DCADCDC}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
{D2486BCF-A218-4181-B1F8-E6D46DCADCDC}.Release|x64.ActiveCfg = Release|iPhone
{D2486BCF-A218-4181-B1F8-E6D46DCADCDC}.Release|x86.ActiveCfg = Release|iPhone
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.Ad-Hoc|Any CPU.ActiveCfg = Release|x86
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.Ad-Hoc|Any CPU.Build.0 = Release|x86
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.Ad-Hoc|Any CPU.Deploy.0 = Release|x86
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.Ad-Hoc|ARM.ActiveCfg = Release|ARM
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.Ad-Hoc|ARM.Build.0 = Release|ARM
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.Ad-Hoc|ARM.Deploy.0 = Release|ARM
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.Ad-Hoc|iPhone.ActiveCfg = Release|x86
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.Ad-Hoc|iPhone.Build.0 = Release|x86
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.Ad-Hoc|iPhone.Deploy.0 = Release|x86
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Release|x86
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.Ad-Hoc|iPhoneSimulator.Build.0 = Release|x86
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.Ad-Hoc|iPhoneSimulator.Deploy.0 = Release|x86
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.Ad-Hoc|x64.ActiveCfg = Release|x64
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.Ad-Hoc|x64.Build.0 = Release|x64
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.Ad-Hoc|x64.Deploy.0 = Release|x64
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.Ad-Hoc|x86.ActiveCfg = Release|x86
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.Ad-Hoc|x86.Build.0 = Release|x86
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.Ad-Hoc|x86.Deploy.0 = Release|x86
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.AppStore|Any CPU.ActiveCfg = Release|x86
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.AppStore|Any CPU.Build.0 = Release|x86
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.AppStore|Any CPU.Deploy.0 = Release|x86
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.AppStore|ARM.ActiveCfg = Release|ARM
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.AppStore|ARM.Build.0 = Release|ARM
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.AppStore|ARM.Deploy.0 = Release|ARM
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.AppStore|iPhone.ActiveCfg = Release|x86
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.AppStore|iPhone.Build.0 = Release|x86
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.AppStore|iPhone.Deploy.0 = Release|x86
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.AppStore|iPhoneSimulator.ActiveCfg = Release|x86
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.AppStore|iPhoneSimulator.Build.0 = Release|x86
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.AppStore|iPhoneSimulator.Deploy.0 = Release|x86
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.AppStore|x64.ActiveCfg = Release|x64
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.AppStore|x64.Build.0 = Release|x64
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.AppStore|x64.Deploy.0 = Release|x64
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.AppStore|x86.ActiveCfg = Release|x86
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.AppStore|x86.Build.0 = Release|x86
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.AppStore|x86.Deploy.0 = Release|x86
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.Debug|Any CPU.ActiveCfg = Debug|x86
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.Debug|ARM.ActiveCfg = Debug|ARM
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.Debug|ARM.Build.0 = Debug|ARM
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.Debug|ARM.Deploy.0 = Debug|ARM
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.Debug|iPhone.ActiveCfg = Debug|x86
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.Debug|iPhoneSimulator.ActiveCfg = Debug|x86
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.Debug|x64.ActiveCfg = Debug|x64
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.Debug|x64.Build.0 = Debug|x64
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.Debug|x64.Deploy.0 = Debug|x64
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.Debug|x86.ActiveCfg = Debug|x86
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.Debug|x86.Build.0 = Debug|x86
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.Debug|x86.Deploy.0 = Debug|x86
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.Release|Any CPU.ActiveCfg = Release|x86
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.Release|ARM.ActiveCfg = Release|ARM
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.Release|ARM.Build.0 = Release|ARM
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.Release|ARM.Deploy.0 = Release|ARM
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.Release|iPhone.ActiveCfg = Release|x86
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.Release|iPhoneSimulator.ActiveCfg = Release|x86
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.Release|x64.ActiveCfg = Release|x64
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.Release|x64.Build.0 = Release|x64
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.Release|x64.Deploy.0 = Release|x64
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.Release|x86.ActiveCfg = Release|x86
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.Release|x86.Build.0 = Release|x86
{90E38BDE-AE82-40C3-B108-9A17E5A9D19C}.Release|x86.Deploy.0 = Release|x86
{20FDA6ED-B68E-4610-807B-F358668F181E}.Ad-Hoc|Any CPU.ActiveCfg = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Ad-Hoc|Any CPU.Build.0 = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Ad-Hoc|Any CPU.Deploy.0 = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Ad-Hoc|ARM.ActiveCfg = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Ad-Hoc|ARM.Build.0 = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Ad-Hoc|ARM.Deploy.0 = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Ad-Hoc|iPhone.ActiveCfg = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Ad-Hoc|iPhone.Build.0 = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Ad-Hoc|iPhone.Deploy.0 = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Ad-Hoc|iPhoneSimulator.Build.0 = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Ad-Hoc|iPhoneSimulator.Deploy.0 = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Ad-Hoc|x64.ActiveCfg = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Ad-Hoc|x64.Build.0 = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Ad-Hoc|x64.Deploy.0 = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Ad-Hoc|x86.ActiveCfg = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Ad-Hoc|x86.Build.0 = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Ad-Hoc|x86.Deploy.0 = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.AppStore|Any CPU.ActiveCfg = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.AppStore|Any CPU.Build.0 = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.AppStore|Any CPU.Deploy.0 = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.AppStore|ARM.ActiveCfg = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.AppStore|ARM.Build.0 = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.AppStore|ARM.Deploy.0 = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.AppStore|iPhone.ActiveCfg = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.AppStore|iPhone.Build.0 = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.AppStore|iPhone.Deploy.0 = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.AppStore|iPhoneSimulator.ActiveCfg = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.AppStore|iPhoneSimulator.Build.0 = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.AppStore|iPhoneSimulator.Deploy.0 = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.AppStore|x64.ActiveCfg = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.AppStore|x64.Build.0 = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.AppStore|x64.Deploy.0 = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.AppStore|x86.ActiveCfg = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.AppStore|x86.Build.0 = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.AppStore|x86.Deploy.0 = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Debug|ARM.ActiveCfg = Debug|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Debug|ARM.Build.0 = Debug|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Debug|ARM.Deploy.0 = Debug|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Debug|iPhone.ActiveCfg = Debug|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Debug|iPhone.Build.0 = Debug|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Debug|iPhone.Deploy.0 = Debug|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Debug|iPhoneSimulator.Deploy.0 = Debug|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Debug|x64.ActiveCfg = Debug|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Debug|x64.Build.0 = Debug|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Debug|x64.Deploy.0 = Debug|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Debug|x86.ActiveCfg = Debug|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Debug|x86.Build.0 = Debug|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Debug|x86.Deploy.0 = Debug|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Release|Any CPU.Build.0 = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Release|Any CPU.Deploy.0 = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Release|ARM.ActiveCfg = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Release|ARM.Build.0 = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Release|ARM.Deploy.0 = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Release|iPhone.ActiveCfg = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Release|iPhone.Build.0 = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Release|iPhone.Deploy.0 = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Release|iPhoneSimulator.Deploy.0 = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Release|x64.ActiveCfg = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Release|x64.Build.0 = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Release|x64.Deploy.0 = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Release|x86.ActiveCfg = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Release|x86.Build.0 = Release|Any CPU
{20FDA6ED-B68E-4610-807B-F358668F181E}.Release|x86.Deploy.0 = Release|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.Ad-Hoc|Any CPU.ActiveCfg = Release|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.Ad-Hoc|Any CPU.Build.0 = Release|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.Ad-Hoc|ARM.ActiveCfg = Release|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.Ad-Hoc|ARM.Build.0 = Release|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.Ad-Hoc|iPhone.ActiveCfg = Release|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.Ad-Hoc|iPhone.Build.0 = Release|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Release|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.Ad-Hoc|iPhoneSimulator.Build.0 = Release|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.Ad-Hoc|x64.ActiveCfg = Release|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.Ad-Hoc|x64.Build.0 = Release|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.Ad-Hoc|x86.ActiveCfg = Release|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.Ad-Hoc|x86.Build.0 = Release|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.AppStore|Any CPU.ActiveCfg = Release|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.AppStore|Any CPU.Build.0 = Release|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.AppStore|ARM.ActiveCfg = Release|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.AppStore|ARM.Build.0 = Release|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.AppStore|iPhone.ActiveCfg = Release|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.AppStore|iPhone.Build.0 = Release|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.AppStore|iPhoneSimulator.ActiveCfg = Release|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.AppStore|iPhoneSimulator.Build.0 = Release|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.AppStore|x64.ActiveCfg = Release|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.AppStore|x64.Build.0 = Release|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.AppStore|x86.ActiveCfg = Release|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.AppStore|x86.Build.0 = Release|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.Debug|ARM.ActiveCfg = Debug|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.Debug|ARM.Build.0 = Debug|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.Debug|iPhone.ActiveCfg = Debug|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.Debug|iPhone.Build.0 = Debug|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.Debug|x64.ActiveCfg = Debug|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.Debug|x64.Build.0 = Debug|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.Debug|x86.ActiveCfg = Debug|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.Debug|x86.Build.0 = Debug|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.Release|Any CPU.Build.0 = Release|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.Release|ARM.ActiveCfg = Release|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.Release|ARM.Build.0 = Release|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.Release|iPhone.ActiveCfg = Release|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.Release|iPhone.Build.0 = Release|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.Release|x64.ActiveCfg = Release|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.Release|x64.Build.0 = Release|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.Release|x86.ActiveCfg = Release|Any CPU
{B445DF73-AC9E-4276-9FBA-7CB5AD5D2518}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {F6D05029-56B8-4E45-AF2D-0E76295DDBA2}
EndGlobalSection
EndGlobal
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{C77C28DD-A2B2-403C-A907-76184BD5D11E}</ProjectGuid>
<ProjectTypeGuids>{EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<OutputType>Library</OutputType>
<RootNamespace>LibVLCSharp.Forms.Sample.Droid</RootNamespace>
<AssemblyName>LibVLCSharp.Forms.Sample.Android</AssemblyName>
<TargetFrameworkVersion>v8.1</TargetFrameworkVersion>
<AndroidApplication>True</AndroidApplication>
<AndroidResgenFile>Resources\Resource.designer.cs</AndroidResgenFile>
<AndroidResgenClass>Resource</AndroidResgenClass>
<AndroidManifest>Properties\AndroidManifest.xml</AndroidManifest>
<MonoAndroidResourcePrefix>Resources</MonoAndroidResourcePrefix>
<MonoAndroidAssetsPrefix>Assets</MonoAndroidAssetsPrefix>
<AndroidUseLatestPlatformSdk>false</AndroidUseLatestPlatformSdk>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug</OutputPath>
<DefineConstants>DEBUG;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<AndroidLinkMode>None</AndroidLinkMode>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<AndroidManagedSymbols>true</AndroidManagedSymbols>
<AndroidUseSharedRuntime>false</AndroidUseSharedRuntime>
</PropertyGroup>
<ItemGroup>
<Reference Include="Mono.Android" />
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="VideoLAN.LibVLC.Android">
<Version>3.0.0</Version>
</PackageReference>
<PackageReference Include="Xamarin.Forms" Version="3.0.0.446417" />
<PackageReference Include="Xamarin.Android.Support.Design" Version="25.4.0.2" />
<PackageReference Include="Xamarin.Android.Support.v7.AppCompat" Version="25.4.0.2" />
<PackageReference Include="Xamarin.Android.Support.v4" Version="25.4.0.2" />
<PackageReference Include="Xamarin.Android.Support.v7.CardView" Version="25.4.0.2" />
<PackageReference Include="Xamarin.Android.Support.v7.MediaRouter" Version="25.4.0.2" />
</ItemGroup>
<ItemGroup>
<Compile Include="MainActivity.cs" />
<Compile Include="Resources\Resource.Designer.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\AboutResources.txt" />
<None Include="Assets\AboutAssets.txt" />
</ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\drawable\icon.png" />
<AndroidResource Include="Resources\drawable-hdpi\icon.png" />
<AndroidResource Include="Resources\drawable-xhdpi\icon.png" />
<AndroidResource Include="Resources\drawable-xxhdpi\icon.png" />
</ItemGroup>
<ItemGroup>
<None Include="Properties\AndroidManifest.xml" />
</ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\layout\Tabbar.axml" />
<AndroidResource Include="Resources\layout\Toolbar.axml" />
<AndroidResource Include="Resources\values\styles.xml">
<SubType>Designer</SubType>
</AndroidResource>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\LibVLCSharp.Forms\LibVLCSharp.Forms.csproj">
<Project>{656D01BE-FBEA-491A-AB2C-4B6B375B52A9}</Project>
<Name>LibVLCSharp.Forms</Name>
</ProjectReference>
<ProjectReference Include="..\LibVLCSharp.Forms.Sample\LibVLCSharp.Forms.Sample.csproj">
<Project>{D054AF3C-A320-4E44-A417-33111EF116C3}</Project>
<Name>LibVLCSharp.Forms.Sample</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
</Project>
\ No newline at end of file
using Android.App;
using Android.Content.PM;
using Android.OS;
using LibVLCSharp.Forms.Shared;
namespace LibVLCSharp.Forms.Sample.Droid
{
[Activity(Label = "LibVLCSharp.Forms.Sample", Icon = "@drawable/icon", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity
{
protected override void OnCreate(Bundle bundle)
{
TabLayoutResource = Resource.Layout.Tabbar;
ToolbarResource = Resource.Layout.Toolbar;
base.OnCreate(bundle);
LibVLCSharpFormsRenderer.Init();
global::Xamarin.Forms.Forms.Init(this, bundle);
LoadApplication(new App());
}
}
}
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="com.companyname.LibVLCSharp.Forms.Sample">
<uses-sdk android:minSdkVersion="15" />
<application android:label="LibVLCSharp.Forms.Sample.Android"></application>
</manifest>
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Android.App;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("LibVLCSharp.Forms.Sample.Android")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("LibVLCSharp.Forms.Sample.Android")]
[assembly: AssemblyCopyright("Copyright © 2014")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
// Add some common permissions, these can be removed if not needed
[assembly: UsesPermission(Android.Manifest.Permission.Internet)]
[assembly: UsesPermission(Android.Manifest.Permission.WriteExternalStorage)]
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent">
<Button android:id="@+id/myButton" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="@string/hello" />
</LinearLayout>
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.TabLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/sliding_tabs"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/colorPrimary"
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
app:tabIndicatorColor="@android:color/white"
app:tabGravity="fill"
app:tabMode="fixed" />
<android.support.v7.widget.Toolbar
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/colorPrimary"
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
android:popupTheme="@style/ThemeOverlay.AppCompat.Light" />
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="hello">Hello World, Click Me!</string>
<string name="app_name">LibVLCSharp.Forms.Sample.Droid</string>
</resources>
<?xml version="1.0" encoding="utf-8" ?>
<resources>
<style name="MainTheme" parent="MainTheme.Base">
</style>
<!-- Base theme applied no matter what API -->
<style name="MainTheme.Base" parent="Theme.AppCompat.Light.DarkActionBar">
<!--If you are using revision 22.1 please use just windowNoTitle. Without android:-->
<item name="windowNoTitle">true</item>
<!--We will be using the toolbar so no need to show ActionBar-->
<item name="windowActionBar">false</item>
<!-- Set theme colors from http://www.google.com/design/spec/style/color.html#color-color-palette -->
<!-- colorPrimary is used for the default action bar background -->
<item name="colorPrimary">#2196F3</item>
<!-- colorPrimaryDark is used for the status bar -->
<item name="colorPrimaryDark">#1976D2</item>
<!-- colorAccent is used as the default value for colorControlActivated
which is used to tint widgets -->
<item name="colorAccent">#FF4081</item>
<!-- You can also set colorControlNormal, colorControlActivated
colorControlHighlight and colorSwitchThumbNormal. -->
<item name="windowActionModeOverlay">true</item>
<item name="android:datePickerDialogTheme">@style/AppCompatDialogStyle</item>
</style>
<style name="AppCompatDialogStyle" parent="Theme.AppCompat.Light.Dialog">
<item name="colorAccent">#FF4081</item>
</style>
</resources>
using System;
using System.Collections.Generic;
using System.Linq;
using Foundation;
using LibVLCSharp.Forms.Shared;
using UIKit;
namespace LibVLCSharp.Forms.Sample.iOS
{
// The UIApplicationDelegate for the application. This class is responsible for launching the
// User Interface of the application, as well as listening (and optionally responding) to
// application events from iOS.
[Register("AppDelegate")]
public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate
{
//
// This method is invoked when the application has loaded and is ready to run. In this
// method you should instantiate the window, load the UI into it and then make the window
// visible.
//
// You have 17 seconds to return from this method, or iOS will terminate your application.
//
public override bool FinishedLaunching(UIApplication app, NSDictionary options)
{
LibVLCSharpFormsRenderer.Init();
global::Xamarin.Forms.Forms.Init();
LoadApplication(new App());
return base.FinishedLaunching(app, options);
}
}
}
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
</dict>
</plist>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>UIDeviceFamily</key>
<array>
<integer>1</integer>
<integer>2</integer>
</array>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>