This commit is contained in:
Javier Suárez Ruiz 2018-04-26 21:02:03 +02:00
Родитель 1fe06a1a2c
Коммит be67a35ec0
282 изменённых файлов: 25514 добавлений и 0 удалений

Двоичный файл не отображается.

Просмотреть файл

@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27428.2037
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BatteryPlugin", "BatteryPlugin\BatteryPlugin.csproj", "{CF64E64C-1F3A-4245-A443-AE9899B2A703}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{CF64E64C-1F3A-4245-A443-AE9899B2A703}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CF64E64C-1F3A-4245-A443-AE9899B2A703}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CF64E64C-1F3A-4245-A443-AE9899B2A703}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CF64E64C-1F3A-4245-A443-AE9899B2A703}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {D2386B5B-68D7-4680-8EBE-B30350D26095}
EndGlobalSection
EndGlobal

Просмотреть файл

@ -0,0 +1,38 @@
using System;
namespace Plugin.BatteryPlugin.Abstractions
{
public abstract class BaseBatteryImplementation : IBattery, IDisposable
{
private bool disposed = false;
~BaseBatteryImplementation()
{
Dispose(false);
}
public virtual int GetBatteryStatus()
{
throw new NotImplementedException();
}
public virtual void Dispose(bool disposing)
{
if (!disposed)
{
if (disposing)
{
// Dispose only
}
disposed = true;
}
}
public void Dispose()
{
Dispose(true);
GC.SuppressFinalize(this);
}
}
}

Просмотреть файл

@ -0,0 +1,32 @@
using Android.Content;
using Android.OS;
using Android.App;
using System;
using Plugin.BatteryPlugin.Abstractions;
namespace Plugin.BatteryPlugin
{
public class BatteryImplementation : BaseBatteryImplementation
{
public override int GetBatteryStatus()
{
try
{
using (var filter = new IntentFilter(Intent.ActionBatteryChanged))
{
using (var battery = Application.Context.RegisterReceiver(null, filter))
{
var level = battery.GetIntExtra(BatteryManager.ExtraLevel, -1);
var scale = battery.GetIntExtra(BatteryManager.ExtraScale, -1);
return (int)Math.Floor(level * 100D / scale);
}
}
}
catch
{
return 0;
}
}
}
}

Просмотреть файл

@ -0,0 +1,13 @@
using Plugin.BatteryPlugin.Abstractions;
using UIKit;
namespace Plugin.BatteryPlugin
{
public class BatteryImplementation : BaseBatteryImplementation
{
public override int GetBatteryStatus()
{
return (int)(UIDevice.CurrentDevice.BatteryLevel * 100F);
}
}
}

Просмотреть файл

@ -0,0 +1,22 @@
using Plugin.BatteryPlugin.Abstractions;
namespace Plugin.BatteryPlugin
{
public class BatteryImplementation : BaseBatteryImplementation
{
public override int GetBatteryStatus()
{
var defaultBattery = Windows.Devices.Power.Battery.AggregateBattery;
var finalReport = defaultBattery.GetReport();
var percent = -1;
if (finalReport.RemainingCapacityInMilliwattHours.HasValue && finalReport.FullChargeCapacityInMilliwattHours.HasValue)
{
percent = (int)((finalReport.RemainingCapacityInMilliwattHours.Value /
(double)finalReport.FullChargeCapacityInMilliwattHours.Value) * 100);
}
return percent;
}
}
}

Просмотреть файл

@ -0,0 +1,112 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard1.0;netstandard2.0;MonoAndroid44;Xamarin.iOS10;uap10.0.15063</TargetFrameworks>
<AssemblyName>Plugin.BatteryPlugin</AssemblyName>
<RootNamespace>Plugin.BatteryPlugin</RootNamespace>
<PackageId>Plugin.BatteryPlugin</PackageId>
<Product>$(AssemblyName) ($(TargetFramework))</Product>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyFileVersion>1.0.0.0</AssemblyFileVersion>
<Version>1.0.0.0</Version>
<PackageVersion>1.0.0.0</PackageVersion>
<PackOnBuild>true</PackOnBuild>
<NeutralLanguage>en</NeutralLanguage>
<LangVersion>default</LangVersion>
<DefineConstants>TRACE;RELEASE;NETSTANDARD1_0;</DefineConstants>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<GenerateDocumentationFile Condition=" '$(Configuration)' == 'Release' ">true</GenerateDocumentationFile>
<UseFullSemVerForNuGet>false</UseFullSemVerForNuGet>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
<!--TODO: Fill these in-->
<PackageLicenseUrl>LINK TO LICENSE</PackageLicenseUrl>
<PackageProjectUrl>LINK TO PROJECT</PackageProjectUrl>
<RepositoryUrl>LINK TO PROJECT</RepositoryUrl>
<PackageReleaseNotes>RELEASE NOTES</PackageReleaseNotes>
<PackageIconUrl>ICON URL</PackageIconUrl>
<PackageTags>xamarin, windows, ios, android, xamarin.forms, plugin, BatteryPlugin</PackageTags>
<Title>BatteryPlugin Plugin for Xamarin and Windows</Title>
<Summary>Summary of nuget</Summary>
<Description>Plugin Description</Description>
<Owners>YOU</Owners>
<Authors>YOU</Authors>
<Copyright>Copyright 2018</Copyright>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)'=='Debug' ">
<DebugType>full</DebugType>
<DebugSymbols>true</DebugSymbols>
<GenerateDocumentationFile>false</GenerateDocumentationFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)'=='Release' ">
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<DebugType>pdbonly</DebugType>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="MSBuild.Sdk.Extras" Version="1.2.0" PrivateAssets="All" />
<Compile Include="**\*.shared.cs" />
</ItemGroup>
<ItemGroup Condition=" $(TargetFramework.StartsWith('netstandard')) ">
<Compile Include="**\*.netstandard.cs" />
</ItemGroup>
<ItemGroup Condition=" $(TargetFramework.StartsWith('uap10.0')) ">
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform" Version="5.2.3" />
<Compile Include="**\*.uwp.cs" />
</ItemGroup>
<ItemGroup Condition=" $(TargetFramework.StartsWith('MonoAndroid')) ">
<Compile Include="**\*.android.cs" />
</ItemGroup>
<ItemGroup Condition=" $(TargetFramework.StartsWith('Xamarin.iOS')) ">
<Compile Include="**\*.ios.cs" />
</ItemGroup>
<!--
<ItemGroup Condition=" '$(TargetFramework)' == 'Xamarin.TVOS10' ">
<Compile Include="Platforms\TVOS\**\*.cs" />
</ItemGroup>
-->
<!--
<ItemGroup Condition=" '$(TargetFramework)' == 'Xamarin.WatchOS10' ">
<Compile Include="Platforms\WatchOS\**\*.cs" />
</ItemGroup>
-->
<!--
<ItemGroup Condition=" '$(TargetFramework)' == 'Xamarin.Mac20' ">
<Compile Include="Platforms\macOS\**\*.cs" />
</ItemGroup>
-->
<!--
<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.0' ">
<Compile Include="Platforms\DotNet\**\*.cs" />
</ItemGroup>
-->
<!--
<ItemGroup Condition=" '$(TargetFramework)' == 'Tizen40' ">
<Compile Include="Platforms\Tizen\**\*.cs" />
<PackageReference Include="Tizen.NET" Version="4.0.0" />
</ItemGroup>
-->
<!--
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
<Compile Include="Platforms\DotNet\**\*.cs" />
</ItemGroup>
-->
<Import Project="$(MSBuildSDKExtrasTargets)" Condition="Exists('$(MSBuildSDKExtrasTargets)')" />
</Project>

Просмотреть файл

@ -0,0 +1,64 @@
using Plugin.BatteryPlugin.Abstractions;
using System;
namespace Plugin.BatteryPlugin
{
/// <summary>
/// Cross platform Battery implemenations
/// </summary>
public class CrossBattery
{
static Lazy<IBattery> Implementation = new Lazy<IBattery>(() => CreateBattery(), System.Threading.LazyThreadSafetyMode.PublicationOnly);
/// <summary>
/// Gets if the plugin is supported on the current platform.
/// </summary>
public static bool IsSupported => Implementation.Value == null ? false : true;
/// <summary>
/// Current plugin implementation to use
/// </summary>
public static IBattery Current
{
get
{
var ret = implementation.Value;
if (ret == null)
{
throw NotImplementedInReferenceAssembly();
}
return ret;
}
}
static IBattery CreateBattery()
{
#if NETSTANDARD1_0 || NETSTANDARD2_0
return null;
#else
return new BatteryImplementation();
#endif
}
internal static Exception NotImplementedInReferenceAssembly()
{
return new NotImplementedException("This functionality is not implemented in the portable version of this assembly. You should reference the NuGet package from your main application project in order to reference the platform-specific implementation.");
}
/// <summary>
/// Dispose of everything
/// </summary>
public static void Dispose()
{
if (Implementation != null && Implementation.IsValueCreated)
{
Implementation.Value.Dispose();
Implementation = new Lazy<IBattery>(() => CreateBattery(), System.Threading.LazyThreadSafetyMode.PublicationOnly);
}
}
}
}

Просмотреть файл

@ -0,0 +1,9 @@
using System;
namespace Plugin.BatteryPlugin.Abstractions
{
public interface IBattery : IDisposable
{
int GetBatteryStatus();
}
}

Просмотреть файл

@ -0,0 +1,222 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27428.2037
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BatterySample01.Android", "BatterySample01\BatterySample01.Android\BatterySample01.Android.csproj", "{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BatterySample01.iOS", "BatterySample01\BatterySample01.iOS\BatterySample01.iOS.csproj", "{C73FC766-70B4-44A1-9BD6-EF44D5F683AD}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BatterySample01.UWP", "BatterySample01\BatterySample01.UWP\BatterySample01.UWP.csproj", "{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}"
EndProject
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "BatterySample01", "BatterySample01\BatterySample01\BatterySample01.shproj", "{3EB3B4C8-3C00-4E3B-9255-206A3063EAA3}"
EndProject
Global
GlobalSection(SharedMSBuildProjectFiles) = preSolution
BatterySample01\BatterySample01\BatterySample01.projitems*{3eb3b4c8-3c00-4e3b-9255-206a3063eaa3}*SharedItemsImports = 13
BatterySample01\BatterySample01\BatterySample01.projitems*{9c54281d-a024-4dcf-8bef-ddbc3e2b1777}*SharedItemsImports = 4
BatterySample01\BatterySample01\BatterySample01.projitems*{c73fc766-70b4-44a1-9bd6-ef44d5f683ad}*SharedItemsImports = 4
BatterySample01\BatterySample01\BatterySample01.projitems*{dc6fb16a-d0eb-4617-9873-ac8a379fcc9e}*SharedItemsImports = 4
EndGlobalSection
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
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Ad-Hoc|Any CPU.ActiveCfg = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Ad-Hoc|Any CPU.Build.0 = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Ad-Hoc|Any CPU.Deploy.0 = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Ad-Hoc|ARM.ActiveCfg = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Ad-Hoc|ARM.Build.0 = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Ad-Hoc|ARM.Deploy.0 = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Ad-Hoc|iPhone.ActiveCfg = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Ad-Hoc|iPhone.Build.0 = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Ad-Hoc|iPhone.Deploy.0 = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Ad-Hoc|iPhoneSimulator.Build.0 = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Ad-Hoc|iPhoneSimulator.Deploy.0 = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Ad-Hoc|x64.ActiveCfg = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Ad-Hoc|x64.Build.0 = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Ad-Hoc|x64.Deploy.0 = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Ad-Hoc|x86.ActiveCfg = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Ad-Hoc|x86.Build.0 = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Ad-Hoc|x86.Deploy.0 = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.AppStore|Any CPU.ActiveCfg = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.AppStore|Any CPU.Build.0 = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.AppStore|Any CPU.Deploy.0 = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.AppStore|ARM.ActiveCfg = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.AppStore|ARM.Build.0 = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.AppStore|ARM.Deploy.0 = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.AppStore|iPhone.ActiveCfg = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.AppStore|iPhone.Build.0 = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.AppStore|iPhone.Deploy.0 = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.AppStore|iPhoneSimulator.ActiveCfg = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.AppStore|iPhoneSimulator.Build.0 = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.AppStore|iPhoneSimulator.Deploy.0 = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.AppStore|x64.ActiveCfg = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.AppStore|x64.Build.0 = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.AppStore|x64.Deploy.0 = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.AppStore|x86.ActiveCfg = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.AppStore|x86.Build.0 = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.AppStore|x86.Deploy.0 = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Debug|ARM.ActiveCfg = Debug|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Debug|ARM.Build.0 = Debug|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Debug|ARM.Deploy.0 = Debug|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Debug|iPhone.ActiveCfg = Debug|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Debug|iPhone.Build.0 = Debug|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Debug|iPhone.Deploy.0 = Debug|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Debug|iPhoneSimulator.Deploy.0 = Debug|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Debug|x64.ActiveCfg = Debug|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Debug|x64.Build.0 = Debug|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Debug|x64.Deploy.0 = Debug|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Debug|x86.ActiveCfg = Debug|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Debug|x86.Build.0 = Debug|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Debug|x86.Deploy.0 = Debug|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Release|Any CPU.Build.0 = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Release|Any CPU.Deploy.0 = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Release|ARM.ActiveCfg = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Release|ARM.Build.0 = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Release|ARM.Deploy.0 = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Release|iPhone.ActiveCfg = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Release|iPhone.Build.0 = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Release|iPhone.Deploy.0 = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Release|iPhoneSimulator.Deploy.0 = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Release|x64.ActiveCfg = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Release|x64.Build.0 = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Release|x64.Deploy.0 = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Release|x86.ActiveCfg = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Release|x86.Build.0 = Release|Any CPU
{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}.Release|x86.Deploy.0 = Release|Any CPU
{C73FC766-70B4-44A1-9BD6-EF44D5F683AD}.Ad-Hoc|Any CPU.ActiveCfg = Ad-Hoc|iPhone
{C73FC766-70B4-44A1-9BD6-EF44D5F683AD}.Ad-Hoc|ARM.ActiveCfg = Ad-Hoc|iPhone
{C73FC766-70B4-44A1-9BD6-EF44D5F683AD}.Ad-Hoc|iPhone.ActiveCfg = Ad-Hoc|iPhone
{C73FC766-70B4-44A1-9BD6-EF44D5F683AD}.Ad-Hoc|iPhone.Build.0 = Ad-Hoc|iPhone
{C73FC766-70B4-44A1-9BD6-EF44D5F683AD}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Ad-Hoc|iPhoneSimulator
{C73FC766-70B4-44A1-9BD6-EF44D5F683AD}.Ad-Hoc|iPhoneSimulator.Build.0 = Ad-Hoc|iPhoneSimulator
{C73FC766-70B4-44A1-9BD6-EF44D5F683AD}.Ad-Hoc|x64.ActiveCfg = Ad-Hoc|iPhone
{C73FC766-70B4-44A1-9BD6-EF44D5F683AD}.Ad-Hoc|x86.ActiveCfg = Ad-Hoc|iPhone
{C73FC766-70B4-44A1-9BD6-EF44D5F683AD}.AppStore|Any CPU.ActiveCfg = AppStore|iPhone
{C73FC766-70B4-44A1-9BD6-EF44D5F683AD}.AppStore|ARM.ActiveCfg = AppStore|iPhone
{C73FC766-70B4-44A1-9BD6-EF44D5F683AD}.AppStore|iPhone.ActiveCfg = AppStore|iPhone
{C73FC766-70B4-44A1-9BD6-EF44D5F683AD}.AppStore|iPhone.Build.0 = AppStore|iPhone
{C73FC766-70B4-44A1-9BD6-EF44D5F683AD}.AppStore|iPhoneSimulator.ActiveCfg = AppStore|iPhoneSimulator
{C73FC766-70B4-44A1-9BD6-EF44D5F683AD}.AppStore|iPhoneSimulator.Build.0 = AppStore|iPhoneSimulator
{C73FC766-70B4-44A1-9BD6-EF44D5F683AD}.AppStore|x64.ActiveCfg = AppStore|iPhone
{C73FC766-70B4-44A1-9BD6-EF44D5F683AD}.AppStore|x86.ActiveCfg = AppStore|iPhone
{C73FC766-70B4-44A1-9BD6-EF44D5F683AD}.Debug|Any CPU.ActiveCfg = Debug|iPhone
{C73FC766-70B4-44A1-9BD6-EF44D5F683AD}.Debug|Any CPU.Build.0 = Debug|iPhone
{C73FC766-70B4-44A1-9BD6-EF44D5F683AD}.Debug|ARM.ActiveCfg = Debug|iPhone
{C73FC766-70B4-44A1-9BD6-EF44D5F683AD}.Debug|iPhone.ActiveCfg = Debug|iPhone
{C73FC766-70B4-44A1-9BD6-EF44D5F683AD}.Debug|iPhone.Build.0 = Debug|iPhone
{C73FC766-70B4-44A1-9BD6-EF44D5F683AD}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
{C73FC766-70B4-44A1-9BD6-EF44D5F683AD}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
{C73FC766-70B4-44A1-9BD6-EF44D5F683AD}.Debug|x64.ActiveCfg = Debug|iPhone
{C73FC766-70B4-44A1-9BD6-EF44D5F683AD}.Debug|x86.ActiveCfg = Debug|iPhone
{C73FC766-70B4-44A1-9BD6-EF44D5F683AD}.Release|Any CPU.ActiveCfg = Release|iPhone
{C73FC766-70B4-44A1-9BD6-EF44D5F683AD}.Release|ARM.ActiveCfg = Release|iPhone
{C73FC766-70B4-44A1-9BD6-EF44D5F683AD}.Release|iPhone.ActiveCfg = Release|iPhone
{C73FC766-70B4-44A1-9BD6-EF44D5F683AD}.Release|iPhone.Build.0 = Release|iPhone
{C73FC766-70B4-44A1-9BD6-EF44D5F683AD}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
{C73FC766-70B4-44A1-9BD6-EF44D5F683AD}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
{C73FC766-70B4-44A1-9BD6-EF44D5F683AD}.Release|x64.ActiveCfg = Release|iPhone
{C73FC766-70B4-44A1-9BD6-EF44D5F683AD}.Release|x86.ActiveCfg = Release|iPhone
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.Ad-Hoc|Any CPU.ActiveCfg = Release|x86
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.Ad-Hoc|Any CPU.Build.0 = Release|x86
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.Ad-Hoc|Any CPU.Deploy.0 = Release|x86
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.Ad-Hoc|ARM.ActiveCfg = Release|ARM
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.Ad-Hoc|ARM.Build.0 = Release|ARM
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.Ad-Hoc|ARM.Deploy.0 = Release|ARM
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.Ad-Hoc|iPhone.ActiveCfg = Release|x86
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.Ad-Hoc|iPhone.Build.0 = Release|x86
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.Ad-Hoc|iPhone.Deploy.0 = Release|x86
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Release|x86
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.Ad-Hoc|iPhoneSimulator.Build.0 = Release|x86
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.Ad-Hoc|iPhoneSimulator.Deploy.0 = Release|x86
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.Ad-Hoc|x64.ActiveCfg = Release|x64
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.Ad-Hoc|x64.Build.0 = Release|x64
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.Ad-Hoc|x64.Deploy.0 = Release|x64
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.Ad-Hoc|x86.ActiveCfg = Release|x86
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.Ad-Hoc|x86.Build.0 = Release|x86
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.Ad-Hoc|x86.Deploy.0 = Release|x86
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.AppStore|Any CPU.ActiveCfg = Release|x86
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.AppStore|Any CPU.Build.0 = Release|x86
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.AppStore|Any CPU.Deploy.0 = Release|x86
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.AppStore|ARM.ActiveCfg = Release|ARM
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.AppStore|ARM.Build.0 = Release|ARM
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.AppStore|ARM.Deploy.0 = Release|ARM
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.AppStore|iPhone.ActiveCfg = Release|x86
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.AppStore|iPhone.Build.0 = Release|x86
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.AppStore|iPhone.Deploy.0 = Release|x86
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.AppStore|iPhoneSimulator.ActiveCfg = Release|x86
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.AppStore|iPhoneSimulator.Build.0 = Release|x86
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.AppStore|iPhoneSimulator.Deploy.0 = Release|x86
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.AppStore|x64.ActiveCfg = Release|x64
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.AppStore|x64.Build.0 = Release|x64
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.AppStore|x64.Deploy.0 = Release|x64
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.AppStore|x86.ActiveCfg = Release|x86
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.AppStore|x86.Build.0 = Release|x86
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.AppStore|x86.Deploy.0 = Release|x86
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.Debug|Any CPU.ActiveCfg = Debug|x86
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.Debug|Any CPU.Build.0 = Debug|x86
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.Debug|Any CPU.Deploy.0 = Debug|x86
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.Debug|ARM.ActiveCfg = Debug|ARM
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.Debug|ARM.Build.0 = Debug|ARM
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.Debug|ARM.Deploy.0 = Debug|ARM
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.Debug|iPhone.ActiveCfg = Debug|x86
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.Debug|iPhoneSimulator.ActiveCfg = Debug|x86
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.Debug|x64.ActiveCfg = Debug|x64
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.Debug|x64.Build.0 = Debug|x64
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.Debug|x64.Deploy.0 = Debug|x64
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.Debug|x86.ActiveCfg = Debug|x86
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.Debug|x86.Build.0 = Debug|x86
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.Debug|x86.Deploy.0 = Debug|x86
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.Release|Any CPU.ActiveCfg = Release|x86
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.Release|ARM.ActiveCfg = Release|ARM
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.Release|ARM.Build.0 = Release|ARM
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.Release|ARM.Deploy.0 = Release|ARM
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.Release|iPhone.ActiveCfg = Release|x86
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.Release|iPhoneSimulator.ActiveCfg = Release|x86
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.Release|x64.ActiveCfg = Release|x64
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.Release|x64.Build.0 = Release|x64
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.Release|x64.Deploy.0 = Release|x64
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.Release|x86.ActiveCfg = Release|x86
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.Release|x86.Build.0 = Release|x86
{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}.Release|x86.Deploy.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {19AFE9AF-DE57-44C9-8391-9080C749E435}
EndGlobalSection
EndGlobal

Просмотреть файл

@ -0,0 +1,19 @@
Any raw assets you want to be deployed with your application can be placed in
this directory (and child directories) and given a Build Action of "AndroidAsset".
These files will be deployed with you package and will be accessible using Android's
AssetManager, like this:
public class ReadAsset : Activity
{
protected override void OnCreate (Bundle bundle)
{
base.OnCreate (bundle);
InputStream input = Assets.Open ("my_asset.txt");
}
}
Additionally, some Android functions will automatically load asset files:
Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf");

Просмотреть файл

@ -0,0 +1,87 @@
<?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>{DC6FB16A-D0EB-4617-9873-AC8A379FCC9E}</ProjectGuid>
<ProjectTypeGuids>{EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<OutputType>Library</OutputType>
<RootNamespace>BatterySample01.Droid</RootNamespace>
<AssemblyName>BatterySample01.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>true</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="Xamarin.Forms" Version="2.5.0.280555" />
<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>
<Import Project="..\BatterySample01\BatterySample01.projitems" Label="Shared" />
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
</Project>

Просмотреть файл

@ -0,0 +1,22 @@
using Android.App;
using Android.Content.PM;
using Android.OS;
namespace BatterySample01.Droid
{
[Activity(Label = "BatterySample01", 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);
global::Xamarin.Forms.Forms.Init(this, bundle);
LoadApplication(new App());
}
}
}

Просмотреть файл

@ -0,0 +1,5 @@
<?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.BatterySample01">
<uses-sdk android:minSdkVersion="15" />
<application android:label="BatterySample01.Android"></application>
</manifest>

Просмотреть файл

@ -0,0 +1,34 @@
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("BatterySample01.Android")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("BatterySample01.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)]

Просмотреть файл

@ -0,0 +1,50 @@
Images, layout descriptions, binary blobs and string dictionaries can be included
in your application as resource files. Various Android APIs are designed to
operate on the resource IDs instead of dealing with images, strings or binary blobs
directly.
For example, a sample Android app that contains a user interface layout (main.xml),
an internationalization string table (strings.xml) and some icons (drawable-XXX/icon.png)
would keep its resources in the "Resources" directory of the application:
Resources/
drawable-hdpi/
icon.png
drawable-ldpi/
icon.png
drawable-mdpi/
icon.png
layout/
main.xml
values/
strings.xml
In order to get the build system to recognize Android resources, set the build action to
"AndroidResource". The native Android APIs do not operate directly with filenames, but
instead operate on resource IDs. When you compile an Android application that uses resources,
the build system will package the resources for distribution and generate a class called
"Resource" that contains the tokens for each one of the resources included. For example,
for the above Resources layout, this is what the Resource class would expose:
public class Resource {
public class drawable {
public const int icon = 0x123;
}
public class layout {
public const int main = 0x456;
}
public class strings {
public const int first_string = 0xabc;
public const int second_string = 0xbcd;
}
}
You would then use R.drawable.icon to reference the drawable/icon.png file, or Resource.layout.main
to reference the layout/main.xml file, or Resource.strings.first_string to reference the first
string in the dictionary file values/strings.xml.

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 1.4 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 1.7 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 2.3 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 1.4 KiB

Просмотреть файл

@ -0,0 +1,4 @@
<?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>

Просмотреть файл

@ -0,0 +1,11 @@
<?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" />

Просмотреть файл

@ -0,0 +1,9 @@
<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" />

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 2.1 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 1.4 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 3.2 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 5.3 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 7.6 KiB

Просмотреть файл

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="hello">Hello World, Click Me!</string>
<string name="app_name">BatterySample01.Droid</string>
</resources>

Просмотреть файл

@ -0,0 +1,30 @@
<?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>

Просмотреть файл

@ -0,0 +1,8 @@
<Application
x:Class="BatterySample01.UWP.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:BatterySample01.UWP"
RequestedTheme="Light">
</Application>

Просмотреть файл

@ -0,0 +1,91 @@
using System;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
namespace BatterySample01.UWP
{
/// <summary>
/// Provides application-specific behavior to supplement the default Application class.
/// </summary>
sealed partial class App : Application
{
/// <summary>
/// Initializes the singleton application object. This is the first line of authored code
/// executed, and as such is the logical equivalent of main() or WinMain().
/// </summary>
public App()
{
this.InitializeComponent();
this.Suspending += OnSuspending;
}
/// <summary>
/// Invoked when the application is launched normally by the end user. Other entry points
/// will be used such as when the application is launched to open a specific file.
/// </summary>
/// <param name="e">Details about the launch request and process.</param>
protected override void OnLaunched(LaunchActivatedEventArgs e)
{
Frame rootFrame = Window.Current.Content as Frame;
// Do not repeat app initialization when the Window already has content,
// just ensure that the window is active
if (rootFrame == null)
{
// Create a Frame to act as the navigation context and navigate to the first page
rootFrame = new Frame();
rootFrame.NavigationFailed += OnNavigationFailed;
Xamarin.Forms.Forms.Init(e);
if (e.PreviousExecutionState == ApplicationExecutionState.Terminated)
{
//TODO: Load state from previously suspended application
}
// Place the frame in the current Window
Window.Current.Content = rootFrame;
}
if (rootFrame.Content == null)
{
// When the navigation stack isn't restored navigate to the first page,
// configuring the new page by passing required information as a navigation
// parameter
rootFrame.Navigate(typeof(MainPage), e.Arguments);
}
// Ensure the current window is active
Window.Current.Activate();
}
/// <summary>
/// Invoked when Navigation to a certain page fails
/// </summary>
/// <param name="sender">The Frame which failed navigation</param>
/// <param name="e">Details about the navigation failure</param>
void OnNavigationFailed(object sender, NavigationFailedEventArgs e)
{
throw new Exception("Failed to load Page " + e.SourcePageType.FullName);
}
/// <summary>
/// Invoked when application execution is being suspended. Application state is saved
/// without knowing whether the application will be terminated or resumed with the contents
/// of memory still intact.
/// </summary>
/// <param name="sender">The source of the suspend request.</param>
/// <param name="e">Details about the suspend request.</param>
private void OnSuspending(object sender, SuspendingEventArgs e)
{
var deferral = e.SuspendingOperation.GetDeferral();
//TODO: Save application state and stop any background activity
deferral.Complete();
}
}
}

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 261 B

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 305 B

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 347 B

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 431 B

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 758 B

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 1.7 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 2.1 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 2.5 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 3.5 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 8.6 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 1019 B

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 1.3 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 1.4 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 1.9 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 3.6 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 394 B

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 483 B

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 563 B

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 658 B

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 1.1 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 196 B

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 253 B

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 1.6 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 314 B

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 422 B

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 392 B

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 921 B

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 1.1 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 1.3 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 1.7 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 3.6 KiB

Просмотреть файл

@ -0,0 +1,159 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<ProjectGuid>{9C54281D-A024-4DCF-8BEF-DDBC3E2B1777}</ProjectGuid>
<OutputType>AppContainerExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>BatterySample01.UWP</RootNamespace>
<AssemblyName>BatterySample01.UWP</AssemblyName>
<DefaultLanguage>en-US</DefaultLanguage>
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
<TargetPlatformVersion>10.0.16299.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.16299.0</TargetPlatformMinVersion>
<MinimumVisualStudioVersion>14</MinimumVisualStudioVersion>
<EnableDotNetNativeCompatibleProfile>true</EnableDotNetNativeCompatibleProfile>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<PackageCertificateKeyFile>BatterySample01.UWP_TemporaryKey.pfx</PackageCertificateKeyFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\ARM\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>ARM</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM'">
<OutputPath>bin\ARM\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>ARM</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x64\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<OutputPath>bin\x64\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<OutputPath>bin\x86\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
</PropertyGroup>
<ItemGroup>
<Compile Include="App.xaml.cs">
<DependentUpon>App.xaml</DependentUpon>
</Compile>
<Compile Include="MainPage.xaml.cs">
<DependentUpon>MainPage.xaml</DependentUpon>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<AppxManifest Include="Package.appxmanifest">
<SubType>Designer</SubType>
</AppxManifest>
<None Include="BatterySample01.UWP_TemporaryKey.pfx" />
</ItemGroup>
<ItemGroup>
<Content Include="Properties\Default.rd.xml" />
<Content Include="Assets\LockScreenLogo.scale-100.png" />
<Content Include="Assets\LockScreenLogo.scale-125.png" />
<Content Include="Assets\LockScreenLogo.scale-150.png" />
<Content Include="Assets\LockScreenLogo.scale-200.png" />
<Content Include="Assets\LockScreenLogo.scale-400.png" />
<Content Include="Assets\SplashScreen.scale-100.png" />
<Content Include="Assets\SplashScreen.scale-125.png" />
<Content Include="Assets\SplashScreen.scale-150.png" />
<Content Include="Assets\SplashScreen.scale-200.png" />
<Content Include="Assets\SplashScreen.scale-400.png" />
<Content Include="Assets\Square150x150Logo.scale-100.png" />
<Content Include="Assets\Square150x150Logo.scale-125.png" />
<Content Include="Assets\Square150x150Logo.scale-150.png" />
<Content Include="Assets\Square150x150Logo.scale-200.png" />
<Content Include="Assets\Square150x150Logo.scale-400.png" />
<Content Include="Assets\Square44x44Logo.scale-100.png" />
<Content Include="Assets\Square44x44Logo.scale-125.png" />
<Content Include="Assets\Square44x44Logo.scale-150.png" />
<Content Include="Assets\Square44x44Logo.scale-200.png" />
<Content Include="Assets\Square44x44Logo.scale-400.png" />
<Content Include="Assets\Square44x44Logo.targetsize-16_altform-unplated.png" />
<Content Include="Assets\Square44x44Logo.targetsize-24_altform-unplated.png" />
<Content Include="Assets\Square44x44Logo.targetsize-32_altform-unplated.png" />
<Content Include="Assets\Square44x44Logo.targetsize-48_altform-unplated.png" />
<Content Include="Assets\Square44x44Logo.targetsize-256_altform-unplated.png" />
<Content Include="Assets\StoreLogo.png" />
<Content Include="Assets\Wide310x150Logo.scale-100.png" />
<Content Include="Assets\Wide310x150Logo.scale-125.png" />
<Content Include="Assets\Wide310x150Logo.scale-150.png" />
<Content Include="Assets\Wide310x150Logo.scale-200.png" />
<Content Include="Assets\Wide310x150Logo.scale-400.png" />
</ItemGroup>
<ItemGroup>
<ApplicationDefinition Include="App.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</ApplicationDefinition>
<Page Include="MainPage.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Xamarin.Forms" Version="2.5.0.280555" />
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform" Version="6.0.1"/>
</ItemGroup>
<Import Project="..\BatterySample01\BatterySample01.projitems" Label="Shared" />
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '14.0' ">
<VisualStudioVersion>14.0</VisualStudioVersion>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />
</Project>

Просмотреть файл

@ -0,0 +1,15 @@
<forms:WindowsPage
x:Class="BatterySample01.UWP.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:forms="using:Xamarin.Forms.Platform.UWP"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:BatterySample01.UWP"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
</Grid>
</forms:WindowsPage>

Просмотреть файл

@ -0,0 +1,12 @@
namespace BatterySample01.UWP
{
public sealed partial class MainPage
{
public MainPage()
{
this.InitializeComponent();
LoadApplication(new BatterySample01.App());
}
}
}

Просмотреть файл

@ -0,0 +1,49 @@
<?xml version="1.0" encoding="utf-8"?>
<Package
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest"
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
IgnorableNamespaces="uap mp">
<Identity
Name="e623fefb-9fff-4563-b313-55d422d91ee7"
Publisher="CN=bc0ce5e3-12ac-464a-819d-2350f316dd4e"
Version="1.0.0.0" />
<mp:PhoneIdentity PhoneProductId="ec0cc741-fd3e-485c-81be-68815c480690" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>
<Properties>
<DisplayName>BatterySample01.UWP</DisplayName>
<PublisherDisplayName>bc0ce5e3-12ac-464a-819d-2350f316dd4e</PublisherDisplayName>
<Logo>Assets\StoreLogo.png</Logo>
</Properties>
<Dependencies>
<TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.0.0" MaxVersionTested="10.0.0.0" />
</Dependencies>
<Resources>
<Resource Language="x-generate"/>
</Resources>
<Applications>
<Application Id="App"
Executable="$targetnametoken$.exe"
EntryPoint="BatterySample01.UWP.App">
<uap:VisualElements
DisplayName="BatterySample01.UWP"
Square150x150Logo="Assets\Square150x150Logo.png"
Square44x44Logo="Assets\Square44x44Logo.png"
Description="BatterySample01.UWP"
BackgroundColor="transparent">
<uap:DefaultTile Wide310x150Logo="Assets\Wide310x150Logo.png"/>
<uap:SplashScreen Image="Assets\SplashScreen.png" />
</uap:VisualElements>
</Application>
</Applications>
<Capabilities>
<Capability Name="internetClient" />
</Capabilities>
</Package>

Просмотреть файл

@ -0,0 +1,29 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 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("BatterySample01.UWP")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("BatterySample01.UWP")]
[assembly: AssemblyCopyright("Copyright © 2015")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// 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")]
[assembly: ComVisible(false)]

Просмотреть файл

@ -0,0 +1,31 @@
<!--
This file contains Runtime Directives used by .NET Native. The defaults here are suitable for most
developers. However, you can modify these parameters to modify the behavior of the .NET Native
optimizer.
Runtime Directives are documented at http://go.microsoft.com/fwlink/?LinkID=391919
To fully enable reflection for App1.MyClass and all of its public/private members
<Type Name="App1.MyClass" Dynamic="Required All"/>
To enable dynamic creation of the specific instantiation of AppClass<T> over System.Int32
<TypeInstantiation Name="App1.AppClass" Arguments="System.Int32" Activate="Required Public" />
Using the Namespace directive to apply reflection policy to all the types in a particular namespace
<Namespace Name="DataClasses.ViewModels" Seralize="All" />
-->
<Directives xmlns="http://schemas.microsoft.com/netfx/2013/01/metadata">
<Application>
<!--
An Assembly element with Name="*Application*" applies to all assemblies in
the application package. The asterisks are not wildcards.
-->
<Assembly Name="*Application*" Dynamic="Required All" />
<!-- Add your application specific runtime directives here. -->
</Application>
</Directives>

Просмотреть файл

@ -0,0 +1,27 @@
using Foundation;
using UIKit;
namespace BatterySample01.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)
{
global::Xamarin.Forms.Forms.Init();
LoadApplication(new App());
return base.FinishedLaunching(app, options);
}
}
}

Просмотреть файл

@ -0,0 +1,126 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">iPhoneSimulator</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{C73FC766-70B4-44A1-9BD6-EF44D5F683AD}</ProjectGuid>
<ProjectTypeGuids>{FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<OutputType>Exe</OutputType>
<RootNamespace>BatterySample01.iOS</RootNamespace>
<IPhoneResourcePrefix>Resources</IPhoneResourcePrefix>
<AssemblyName>BatterySample01.iOS</AssemblyName>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhoneSimulator' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\iPhoneSimulator\Debug</OutputPath>
<DefineConstants>DEBUG</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
<MtouchArch>x86_64</MtouchArch>
<MtouchLink>SdkOnly</MtouchLink>
<MtouchDebug>true</MtouchDebug>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhoneSimulator' ">
<DebugType>none</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\iPhoneSimulator\Release</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<MtouchLink>None</MtouchLink>
<MtouchArch>x86_64</MtouchArch>
<ConsolePause>false</ConsolePause>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhone' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\iPhone\Debug</OutputPath>
<DefineConstants>DEBUG</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
<MtouchArch>ARM64</MtouchArch>
<CodesignKey>iPhone Developer</CodesignKey>
<MtouchDebug>true</MtouchDebug>
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhone' ">
<DebugType>none</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\iPhone\Release</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<MtouchArch>ARM64</MtouchArch>
<ConsolePause>false</ConsolePause>
<CodesignKey>iPhone Developer</CodesignKey>
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Ad-Hoc|iPhone' ">
<DebugType>none</DebugType>
<Optimize>True</Optimize>
<OutputPath>bin\iPhone\Ad-Hoc</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>False</ConsolePause>
<MtouchArch>ARM64</MtouchArch>
<BuildIpa>True</BuildIpa>
<CodesignProvision>Automatic:AdHoc</CodesignProvision>
<CodesignKey>iPhone Distribution</CodesignKey>
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'AppStore|iPhone' ">
<DebugType>none</DebugType>
<Optimize>True</Optimize>
<OutputPath>bin\iPhone\AppStore</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>False</ConsolePause>
<MtouchArch>ARM64</MtouchArch>
<CodesignProvision>Automatic:AppStore</CodesignProvision>
<CodesignKey>iPhone Distribution</CodesignKey>
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
</PropertyGroup>
<ItemGroup>
<Compile Include="Main.cs" />
<Compile Include="AppDelegate.cs" />
<None Include="Entitlements.plist" />
<None Include="Info.plist" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<BundleResource Include="Resources\Default-568h%402x.png" />
<BundleResource Include="Resources\Default-Portrait.png" />
<BundleResource Include="Resources\Default-Portrait%402x.png" />
<BundleResource Include="Resources\Default.png" />
<BundleResource Include="Resources\Default%402x.png" />
<BundleResource Include="Resources\Icon-60%402x.png" />
<BundleResource Include="Resources\Icon-60%403x.png" />
<BundleResource Include="Resources\Icon-76.png" />
<BundleResource Include="Resources\Icon-76%402x.png" />
<BundleResource Include="Resources\Icon-Small-40.png" />
<BundleResource Include="Resources\Icon-Small-40%402x.png" />
<BundleResource Include="Resources\Icon-Small-40%403x.png" />
<BundleResource Include="Resources\Icon-Small.png" />
<BundleResource Include="Resources\Icon-Small%402x.png" />
<BundleResource Include="Resources\Icon-Small%403x.png" />
<InterfaceDefinition Include="Resources\LaunchScreen.storyboard" />
</ItemGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Xml" />
<Reference Include="System.Core" />
<Reference Include="Xamarin.iOS" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Xamarin.Forms" Version="2.5.0.280555" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets" />
<Import Project="..\BatterySample01\BatterySample01.projitems" Label="Shared" />
</Project>

Просмотреть файл

@ -0,0 +1,7 @@
<?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>

Просмотреть файл

@ -0,0 +1,52 @@
<?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>
</array>
<key>CFBundleDisplayName</key>
<string>BatterySample01</string>
<key>CFBundleIdentifier</key>
<string>com.yourcompany.BatterySample01</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>CFBundleIconFiles</key>
<array>
<string>Icon-60@2x</string>
<string>Icon-60@3x</string>
<string>Icon-76</string>
<string>Icon-76@2x</string>
<string>Default</string>
<string>Default@2x</string>
<string>Default-568h@2x</string>
<string>Default-Portrait</string>
<string>Default-Portrait@2x</string>
<string>Icon-Small-40</string>
<string>Icon-Small-40@2x</string>
<string>Icon-Small-40@3x</string>
<string>Icon-Small</string>
<string>Icon-Small@2x</string>
<string>Icon-Small@3x</string>
</array>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>CFBundleName</key>
<string>BatterySample01</string>
</dict>
</plist>

Просмотреть файл

@ -0,0 +1,15 @@
using UIKit;
namespace BatterySample01.iOS
{
public class Application
{
// This is the main entry point of the application.
static void Main(string[] args)
{
// if you want to use a different Application Delegate class from "AppDelegate"
// you can specify it here.
UIApplication.Main(args, null, "AppDelegate");
}
}
}

Просмотреть файл

@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 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("BatterySample01.iOS")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("BatterySample01.iOS")]
[assembly: AssemblyCopyright("Copyright © 2014")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("72bdc44f-c588-44f3-b6df-9aace7daafdd")]
// 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")]

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 8.7 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 10 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 34 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 7.1 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 8.2 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 1.7 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 21 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 1.2 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 2.2 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 729 B

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 1.2 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 12 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 1.1 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 955 B

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 7.1 KiB

Просмотреть файл

@ -0,0 +1,39 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="6245" systemVersion="13F34" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="X5k-f2-b5h">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6238"/>
</dependencies>
<scenes>
<!--View Controller-->
<scene sceneID="gAE-YM-kbH">
<objects>
<viewController id="X5k-f2-b5h" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="Y8P-hJ-Z43"/>
<viewControllerLayoutGuide type="bottom" id="9ZL-r4-8FZ"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="yd7-JS-zBw">
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" misplaced="YES" image="Icon-60.png" translatesAutoresizingMaskIntoConstraints="NO" id="23">
<rect key="frame" x="270" y="270" width="60" height="60"/>
<rect key="contentStretch" x="0.0" y="0.0" width="0.0" height="0.0"/>
</imageView>
</subviews>
<color key="backgroundColor" red="0.20392156862745098" green="0.59607843137254901" blue="0.85882352941176465" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstItem="23" firstAttribute="centerY" secondItem="yd7-JS-zBw" secondAttribute="centerY" priority="1" id="39"/>
<constraint firstItem="23" firstAttribute="centerX" secondItem="yd7-JS-zBw" secondAttribute="centerX" priority="1" id="41"/>
</constraints>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="XAI-xm-WK6" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="349" y="339"/>
</scene>
</scenes>
<resources>
<image name="Icon-60.png" width="180" height="180"/>
</resources>
</document>

Просмотреть файл

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8" ?>
<Application xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="BatterySample01.App">
<Application.Resources>
<!-- Application resource dictionary -->
</Application.Resources>
</Application>

Просмотреть файл

@ -0,0 +1,30 @@
using BatterySample01.Views;
using Xamarin.Forms;
namespace BatterySample01
{
public partial class App : Application
{
public App ()
{
InitializeComponent();
MainPage = new MainView();
}
protected override void OnStart ()
{
// Handle when your app starts
}
protected override void OnSleep ()
{
// Handle when your app sleeps
}
protected override void OnResume ()
{
// Handle when your app resumes
}
}
}

Просмотреть файл

@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
<HasSharedItems>true</HasSharedItems>
<SharedGUID>{3EB3B4C8-3C00-4E3B-9255-206A3063EAA3}</SharedGUID>
</PropertyGroup>
<PropertyGroup Label="Configuration">
<Import_RootNamespace>BatterySample01</Import_RootNamespace>
</PropertyGroup>
<ItemGroup>
<EmbeddedResource Include="$(MSBuildThisFileDirectory)App.xaml" />
</ItemGroup>
<ItemGroup>
<Compile Include="$(MSBuildThisFileDirectory)App.xaml.cs">
<DependentUpon>App.xaml</DependentUpon>
</Compile>
<Compile Include="$(MSBuildThisFileDirectory)Views\MainView.xaml.cs">
<DependentUpon>MainView.xaml</DependentUpon>
<SubType>Code</SubType>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="$(MSBuildThisFileDirectory)Views\MainView.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</EmbeddedResource>
</ItemGroup>
</Project>

Просмотреть файл

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectGuid>{3EB3B4C8-3C00-4E3B-9255-206A3063EAA3}</ProjectGuid>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.Common.Default.props" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.Common.props" />
<Import Project="BatterySample01.projitems" Label="Shared" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.CSharp.targets" />
</Project>

Просмотреть файл

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="BatterySample01.Views.MainView">
<ContentPage.Content>
<StackLayout>
<Button
x:Name="GetBatteryLevelBtn"
Text="Get Battery Level"/>
<Label
x:Name="BatteryLevelLabel"
FontSize="Large"
HorizontalOptions="Center"/>
</StackLayout>
</ContentPage.Content>
</ContentPage>

Просмотреть файл

@ -0,0 +1,62 @@
using System;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace BatterySample01.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class MainView : ContentPage
{
public MainView ()
{
InitializeComponent ();
GetBatteryLevelBtn.Clicked += (sender, args) =>
{
#if __ANDROID__
try
{
using (var filter = new Android.Content.IntentFilter(Android.Content.Intent.ActionBatteryChanged))
{
using (var battery = Android.App.Application.Context.RegisterReceiver(null, filter))
{
var level = battery.GetIntExtra(Android.OS.BatteryManager.ExtraLevel, -1);
var scale = battery.GetIntExtra(Android.OS.BatteryManager.ExtraScale, -1);
BatteryLevelLabel.Text = string.Format("{0} %", (int)Math.Floor(level * 100D / scale));
}
}
}
catch
{
BatteryLevelLabel.Text = "Unable to gather battery level, ensure you have android.permission.BATTERY_STATS set in AndroidManifest.";
}
#else
#if __IOS__
try
{
BatteryLevelLabel.Text = string.Format("{0} %", (int)(UIKit.UIDevice.CurrentDevice.BatteryLevel * 100F));
}
catch
{
BatteryLevelLabel.Text = "Unable to gather battery level";
}
#else
// UWP
var battery = Windows.Devices.Power.Battery.AggregateBattery;
var finalReport = battery.GetReport();
var finalPercent = -1;
if (finalReport.RemainingCapacityInMilliwattHours.HasValue && finalReport.FullChargeCapacityInMilliwattHours.HasValue)
{
finalPercent = (int)((finalReport.RemainingCapacityInMilliwattHours.Value /
(double)finalReport.FullChargeCapacityInMilliwattHours.Value) * 100);
}
BatteryLevelLabel.Text = string.Format("{0} %", finalPercent);
#endif
#endif
};
}
}
}

Просмотреть файл

@ -0,0 +1,261 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27428.2037
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BatterySample02.Android", "BatterySample02\BatterySample02.Android\BatterySample02.Android.csproj", "{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BatterySample02.iOS", "BatterySample02\BatterySample02.iOS\BatterySample02.iOS.csproj", "{8BC45DB9-C87D-4412-87A0-C295A2298273}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BatterySample02.UWP", "BatterySample02\BatterySample02.UWP\BatterySample02.UWP.csproj", "{A1BD257E-5261-421F-97A1-1460EC81B6E5}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BatterySample02", "BatterySample02\BatterySample02\BatterySample02.csproj", "{A69A76C8-143E-4210-BB88-5B0DAACBFC89}"
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
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Ad-Hoc|Any CPU.ActiveCfg = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Ad-Hoc|Any CPU.Build.0 = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Ad-Hoc|Any CPU.Deploy.0 = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Ad-Hoc|ARM.ActiveCfg = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Ad-Hoc|ARM.Build.0 = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Ad-Hoc|ARM.Deploy.0 = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Ad-Hoc|iPhone.ActiveCfg = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Ad-Hoc|iPhone.Build.0 = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Ad-Hoc|iPhone.Deploy.0 = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Ad-Hoc|iPhoneSimulator.Build.0 = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Ad-Hoc|iPhoneSimulator.Deploy.0 = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Ad-Hoc|x64.ActiveCfg = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Ad-Hoc|x64.Build.0 = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Ad-Hoc|x64.Deploy.0 = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Ad-Hoc|x86.ActiveCfg = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Ad-Hoc|x86.Build.0 = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Ad-Hoc|x86.Deploy.0 = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.AppStore|Any CPU.ActiveCfg = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.AppStore|Any CPU.Build.0 = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.AppStore|Any CPU.Deploy.0 = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.AppStore|ARM.ActiveCfg = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.AppStore|ARM.Build.0 = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.AppStore|ARM.Deploy.0 = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.AppStore|iPhone.ActiveCfg = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.AppStore|iPhone.Build.0 = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.AppStore|iPhone.Deploy.0 = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.AppStore|iPhoneSimulator.ActiveCfg = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.AppStore|iPhoneSimulator.Build.0 = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.AppStore|iPhoneSimulator.Deploy.0 = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.AppStore|x64.ActiveCfg = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.AppStore|x64.Build.0 = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.AppStore|x64.Deploy.0 = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.AppStore|x86.ActiveCfg = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.AppStore|x86.Build.0 = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.AppStore|x86.Deploy.0 = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Debug|ARM.ActiveCfg = Debug|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Debug|ARM.Build.0 = Debug|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Debug|ARM.Deploy.0 = Debug|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Debug|iPhone.ActiveCfg = Debug|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Debug|iPhone.Build.0 = Debug|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Debug|iPhone.Deploy.0 = Debug|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Debug|iPhoneSimulator.Deploy.0 = Debug|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Debug|x64.ActiveCfg = Debug|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Debug|x64.Build.0 = Debug|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Debug|x64.Deploy.0 = Debug|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Debug|x86.ActiveCfg = Debug|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Debug|x86.Build.0 = Debug|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Debug|x86.Deploy.0 = Debug|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Release|Any CPU.Build.0 = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Release|Any CPU.Deploy.0 = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Release|ARM.ActiveCfg = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Release|ARM.Build.0 = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Release|ARM.Deploy.0 = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Release|iPhone.ActiveCfg = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Release|iPhone.Build.0 = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Release|iPhone.Deploy.0 = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Release|iPhoneSimulator.Deploy.0 = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Release|x64.ActiveCfg = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Release|x64.Build.0 = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Release|x64.Deploy.0 = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Release|x86.ActiveCfg = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Release|x86.Build.0 = Release|Any CPU
{C0F35C3B-AEC8-4C09-8D86-48C5F75FA96D}.Release|x86.Deploy.0 = Release|Any CPU
{8BC45DB9-C87D-4412-87A0-C295A2298273}.Ad-Hoc|Any CPU.ActiveCfg = Ad-Hoc|iPhone
{8BC45DB9-C87D-4412-87A0-C295A2298273}.Ad-Hoc|ARM.ActiveCfg = Ad-Hoc|iPhone
{8BC45DB9-C87D-4412-87A0-C295A2298273}.Ad-Hoc|iPhone.ActiveCfg = Ad-Hoc|iPhone
{8BC45DB9-C87D-4412-87A0-C295A2298273}.Ad-Hoc|iPhone.Build.0 = Ad-Hoc|iPhone
{8BC45DB9-C87D-4412-87A0-C295A2298273}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Ad-Hoc|iPhoneSimulator
{8BC45DB9-C87D-4412-87A0-C295A2298273}.Ad-Hoc|iPhoneSimulator.Build.0 = Ad-Hoc|iPhoneSimulator
{8BC45DB9-C87D-4412-87A0-C295A2298273}.Ad-Hoc|x64.ActiveCfg = Ad-Hoc|iPhone
{8BC45DB9-C87D-4412-87A0-C295A2298273}.Ad-Hoc|x86.ActiveCfg = Ad-Hoc|iPhone
{8BC45DB9-C87D-4412-87A0-C295A2298273}.AppStore|Any CPU.ActiveCfg = AppStore|iPhone
{8BC45DB9-C87D-4412-87A0-C295A2298273}.AppStore|ARM.ActiveCfg = AppStore|iPhone
{8BC45DB9-C87D-4412-87A0-C295A2298273}.AppStore|iPhone.ActiveCfg = AppStore|iPhone
{8BC45DB9-C87D-4412-87A0-C295A2298273}.AppStore|iPhone.Build.0 = AppStore|iPhone
{8BC45DB9-C87D-4412-87A0-C295A2298273}.AppStore|iPhoneSimulator.ActiveCfg = AppStore|iPhoneSimulator
{8BC45DB9-C87D-4412-87A0-C295A2298273}.AppStore|iPhoneSimulator.Build.0 = AppStore|iPhoneSimulator
{8BC45DB9-C87D-4412-87A0-C295A2298273}.AppStore|x64.ActiveCfg = AppStore|iPhone
{8BC45DB9-C87D-4412-87A0-C295A2298273}.AppStore|x86.ActiveCfg = AppStore|iPhone
{8BC45DB9-C87D-4412-87A0-C295A2298273}.Debug|Any CPU.ActiveCfg = Debug|iPhone
{8BC45DB9-C87D-4412-87A0-C295A2298273}.Debug|ARM.ActiveCfg = Debug|iPhone
{8BC45DB9-C87D-4412-87A0-C295A2298273}.Debug|iPhone.ActiveCfg = Debug|iPhone
{8BC45DB9-C87D-4412-87A0-C295A2298273}.Debug|iPhone.Build.0 = Debug|iPhone
{8BC45DB9-C87D-4412-87A0-C295A2298273}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
{8BC45DB9-C87D-4412-87A0-C295A2298273}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
{8BC45DB9-C87D-4412-87A0-C295A2298273}.Debug|x64.ActiveCfg = Debug|iPhone
{8BC45DB9-C87D-4412-87A0-C295A2298273}.Debug|x86.ActiveCfg = Debug|iPhone
{8BC45DB9-C87D-4412-87A0-C295A2298273}.Release|Any CPU.ActiveCfg = Release|iPhone
{8BC45DB9-C87D-4412-87A0-C295A2298273}.Release|ARM.ActiveCfg = Release|iPhone
{8BC45DB9-C87D-4412-87A0-C295A2298273}.Release|iPhone.ActiveCfg = Release|iPhone
{8BC45DB9-C87D-4412-87A0-C295A2298273}.Release|iPhone.Build.0 = Release|iPhone
{8BC45DB9-C87D-4412-87A0-C295A2298273}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
{8BC45DB9-C87D-4412-87A0-C295A2298273}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
{8BC45DB9-C87D-4412-87A0-C295A2298273}.Release|x64.ActiveCfg = Release|iPhone
{8BC45DB9-C87D-4412-87A0-C295A2298273}.Release|x86.ActiveCfg = Release|iPhone
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.Ad-Hoc|Any CPU.ActiveCfg = Release|x86
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.Ad-Hoc|Any CPU.Build.0 = Release|x86
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.Ad-Hoc|Any CPU.Deploy.0 = Release|x86
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.Ad-Hoc|ARM.ActiveCfg = Release|ARM
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.Ad-Hoc|ARM.Build.0 = Release|ARM
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.Ad-Hoc|ARM.Deploy.0 = Release|ARM
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.Ad-Hoc|iPhone.ActiveCfg = Release|x86
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.Ad-Hoc|iPhone.Build.0 = Release|x86
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.Ad-Hoc|iPhone.Deploy.0 = Release|x86
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Release|x86
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.Ad-Hoc|iPhoneSimulator.Build.0 = Release|x86
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.Ad-Hoc|iPhoneSimulator.Deploy.0 = Release|x86
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.Ad-Hoc|x64.ActiveCfg = Release|x64
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.Ad-Hoc|x64.Build.0 = Release|x64
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.Ad-Hoc|x64.Deploy.0 = Release|x64
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.Ad-Hoc|x86.ActiveCfg = Release|x86
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.Ad-Hoc|x86.Build.0 = Release|x86
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.Ad-Hoc|x86.Deploy.0 = Release|x86
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.AppStore|Any CPU.ActiveCfg = Release|x86
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.AppStore|Any CPU.Build.0 = Release|x86
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.AppStore|Any CPU.Deploy.0 = Release|x86
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.AppStore|ARM.ActiveCfg = Release|ARM
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.AppStore|ARM.Build.0 = Release|ARM
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.AppStore|ARM.Deploy.0 = Release|ARM
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.AppStore|iPhone.ActiveCfg = Release|x86
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.AppStore|iPhone.Build.0 = Release|x86
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.AppStore|iPhone.Deploy.0 = Release|x86
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.AppStore|iPhoneSimulator.ActiveCfg = Release|x86
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.AppStore|iPhoneSimulator.Build.0 = Release|x86
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.AppStore|iPhoneSimulator.Deploy.0 = Release|x86
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.AppStore|x64.ActiveCfg = Release|x64
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.AppStore|x64.Build.0 = Release|x64
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.AppStore|x64.Deploy.0 = Release|x64
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.AppStore|x86.ActiveCfg = Release|x86
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.AppStore|x86.Build.0 = Release|x86
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.AppStore|x86.Deploy.0 = Release|x86
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.Debug|Any CPU.ActiveCfg = Debug|x86
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.Debug|ARM.ActiveCfg = Debug|ARM
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.Debug|ARM.Build.0 = Debug|ARM
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.Debug|ARM.Deploy.0 = Debug|ARM
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.Debug|iPhone.ActiveCfg = Debug|x86
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.Debug|iPhoneSimulator.ActiveCfg = Debug|x86
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.Debug|x64.ActiveCfg = Debug|x64
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.Debug|x64.Build.0 = Debug|x64
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.Debug|x64.Deploy.0 = Debug|x64
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.Debug|x86.ActiveCfg = Debug|x86
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.Debug|x86.Build.0 = Debug|x86
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.Debug|x86.Deploy.0 = Debug|x86
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.Release|Any CPU.ActiveCfg = Release|x86
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.Release|ARM.ActiveCfg = Release|ARM
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.Release|ARM.Build.0 = Release|ARM
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.Release|ARM.Deploy.0 = Release|ARM
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.Release|iPhone.ActiveCfg = Release|x86
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.Release|iPhoneSimulator.ActiveCfg = Release|x86
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.Release|x64.ActiveCfg = Release|x64
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.Release|x64.Build.0 = Release|x64
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.Release|x64.Deploy.0 = Release|x64
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.Release|x86.ActiveCfg = Release|x86
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.Release|x86.Build.0 = Release|x86
{A1BD257E-5261-421F-97A1-1460EC81B6E5}.Release|x86.Deploy.0 = Release|x86
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.Ad-Hoc|Any CPU.ActiveCfg = Debug|Any CPU
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.Ad-Hoc|Any CPU.Build.0 = Debug|Any CPU
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.Ad-Hoc|ARM.ActiveCfg = Debug|Any CPU
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.Ad-Hoc|ARM.Build.0 = Debug|Any CPU
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.Ad-Hoc|iPhone.ActiveCfg = Debug|Any CPU
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.Ad-Hoc|iPhone.Build.0 = Debug|Any CPU
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Debug|Any CPU
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.Ad-Hoc|iPhoneSimulator.Build.0 = Debug|Any CPU
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.Ad-Hoc|x64.ActiveCfg = Debug|Any CPU
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.Ad-Hoc|x64.Build.0 = Debug|Any CPU
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.Ad-Hoc|x86.ActiveCfg = Debug|Any CPU
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.Ad-Hoc|x86.Build.0 = Debug|Any CPU
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.AppStore|Any CPU.ActiveCfg = Debug|Any CPU
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.AppStore|Any CPU.Build.0 = Debug|Any CPU
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.AppStore|ARM.ActiveCfg = Debug|Any CPU
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.AppStore|ARM.Build.0 = Debug|Any CPU
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.AppStore|iPhone.ActiveCfg = Debug|Any CPU
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.AppStore|iPhone.Build.0 = Debug|Any CPU
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.AppStore|iPhoneSimulator.ActiveCfg = Debug|Any CPU
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.AppStore|iPhoneSimulator.Build.0 = Debug|Any CPU
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.AppStore|x64.ActiveCfg = Debug|Any CPU
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.AppStore|x64.Build.0 = Debug|Any CPU
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.AppStore|x86.ActiveCfg = Debug|Any CPU
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.AppStore|x86.Build.0 = Debug|Any CPU
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.Debug|ARM.ActiveCfg = Debug|Any CPU
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.Debug|ARM.Build.0 = Debug|Any CPU
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.Debug|iPhone.ActiveCfg = Debug|Any CPU
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.Debug|iPhone.Build.0 = Debug|Any CPU
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.Debug|x64.ActiveCfg = Debug|Any CPU
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.Debug|x64.Build.0 = Debug|Any CPU
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.Debug|x86.ActiveCfg = Debug|Any CPU
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.Debug|x86.Build.0 = Debug|Any CPU
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.Release|Any CPU.Build.0 = Release|Any CPU
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.Release|ARM.ActiveCfg = Release|Any CPU
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.Release|ARM.Build.0 = Release|Any CPU
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.Release|iPhone.ActiveCfg = Release|Any CPU
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.Release|iPhone.Build.0 = Release|Any CPU
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.Release|x64.ActiveCfg = Release|Any CPU
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.Release|x64.Build.0 = Release|Any CPU
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.Release|x86.ActiveCfg = Release|Any CPU
{A69A76C8-143E-4210-BB88-5B0DAACBFC89}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {714BEA84-819A-45BD-B031-763D49A3115D}
EndGlobalSection
EndGlobal

Просмотреть файл

@ -0,0 +1,19 @@
Any raw assets you want to be deployed with your application can be placed in
this directory (and child directories) and given a Build Action of "AndroidAsset".
These files will be deployed with you package and will be accessible using Android's
AssetManager, like this:
public class ReadAsset : Activity
{
protected override void OnCreate (Bundle bundle)
{
base.OnCreate (bundle);
InputStream input = Assets.Open ("my_asset.txt");
}
}
Additionally, some Android functions will automatically load asset files:
Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf");

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше