Skip to content
This repository has been archived by the owner on Apr 5, 2020. It is now read-only.

Commit

Permalink
Adding WP81 tester
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianPeek committed Aug 30, 2015
1 parent 659df99 commit 21b68fc
Show file tree
Hide file tree
Showing 14 changed files with 638 additions and 4 deletions.
47 changes: 43 additions & 4 deletions Lego.Ev3.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.21005.1
# Visual Studio 14
VisualStudioVersion = 14.0.23107.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lego.Ev3.Desktop", "Lego.Ev3.Desktop\Lego.Ev3.Desktop.csproj", "{79C444DE-86F1-4AFF-903A-4B6ED31655EA}"
EndProject
Expand Down Expand Up @@ -39,6 +39,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SampleApp (WinRT)", "Sample
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SampleApp (WPF)", "SampleApps\SampleApp (WPF)\SampleApp (WPF).csproj", "{0B140421-4421-4673-972F-7FFB6268F0DC}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lego.Ev3.Tester.Phone81", "Testers\Lego.Ev3.Tester.Phone81\Lego.Ev3.Tester.Phone81.csproj", "{63924A3A-F5E3-4974-950B-1235BE9E0104}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -428,6 +430,42 @@ Global
{0B140421-4421-4673-972F-7FFB6268F0DC}.Release|Win32.ActiveCfg = Release|Any CPU
{0B140421-4421-4673-972F-7FFB6268F0DC}.Release|x64.ActiveCfg = Release|Any CPU
{0B140421-4421-4673-972F-7FFB6268F0DC}.Release|x86.ActiveCfg = Release|Any CPU
{63924A3A-F5E3-4974-950B-1235BE9E0104}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{63924A3A-F5E3-4974-950B-1235BE9E0104}.Debug|Any CPU.Build.0 = Debug|Any CPU
{63924A3A-F5E3-4974-950B-1235BE9E0104}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
{63924A3A-F5E3-4974-950B-1235BE9E0104}.Debug|ARM.ActiveCfg = Debug|ARM
{63924A3A-F5E3-4974-950B-1235BE9E0104}.Debug|ARM.Build.0 = Debug|ARM
{63924A3A-F5E3-4974-950B-1235BE9E0104}.Debug|ARM.Deploy.0 = Debug|ARM
{63924A3A-F5E3-4974-950B-1235BE9E0104}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{63924A3A-F5E3-4974-950B-1235BE9E0104}.Debug|Mixed Platforms.Build.0 = Debug|x86
{63924A3A-F5E3-4974-950B-1235BE9E0104}.Debug|Mixed Platforms.Deploy.0 = Debug|x86
{63924A3A-F5E3-4974-950B-1235BE9E0104}.Debug|Win32.ActiveCfg = Debug|x86
{63924A3A-F5E3-4974-950B-1235BE9E0104}.Debug|Win32.Build.0 = Debug|x86
{63924A3A-F5E3-4974-950B-1235BE9E0104}.Debug|Win32.Deploy.0 = Debug|x86
{63924A3A-F5E3-4974-950B-1235BE9E0104}.Debug|x64.ActiveCfg = Debug|Any CPU
{63924A3A-F5E3-4974-950B-1235BE9E0104}.Debug|x64.Build.0 = Debug|Any CPU
{63924A3A-F5E3-4974-950B-1235BE9E0104}.Debug|x64.Deploy.0 = Debug|Any CPU
{63924A3A-F5E3-4974-950B-1235BE9E0104}.Debug|x86.ActiveCfg = Debug|x86
{63924A3A-F5E3-4974-950B-1235BE9E0104}.Debug|x86.Build.0 = Debug|x86
{63924A3A-F5E3-4974-950B-1235BE9E0104}.Debug|x86.Deploy.0 = Debug|x86
{63924A3A-F5E3-4974-950B-1235BE9E0104}.Release|Any CPU.ActiveCfg = Release|Any CPU
{63924A3A-F5E3-4974-950B-1235BE9E0104}.Release|Any CPU.Build.0 = Release|Any CPU
{63924A3A-F5E3-4974-950B-1235BE9E0104}.Release|Any CPU.Deploy.0 = Release|Any CPU
{63924A3A-F5E3-4974-950B-1235BE9E0104}.Release|ARM.ActiveCfg = Release|ARM
{63924A3A-F5E3-4974-950B-1235BE9E0104}.Release|ARM.Build.0 = Release|ARM
{63924A3A-F5E3-4974-950B-1235BE9E0104}.Release|ARM.Deploy.0 = Release|ARM
{63924A3A-F5E3-4974-950B-1235BE9E0104}.Release|Mixed Platforms.ActiveCfg = Release|x86
{63924A3A-F5E3-4974-950B-1235BE9E0104}.Release|Mixed Platforms.Build.0 = Release|x86
{63924A3A-F5E3-4974-950B-1235BE9E0104}.Release|Mixed Platforms.Deploy.0 = Release|x86
{63924A3A-F5E3-4974-950B-1235BE9E0104}.Release|Win32.ActiveCfg = Release|x86
{63924A3A-F5E3-4974-950B-1235BE9E0104}.Release|Win32.Build.0 = Release|x86
{63924A3A-F5E3-4974-950B-1235BE9E0104}.Release|Win32.Deploy.0 = Release|x86
{63924A3A-F5E3-4974-950B-1235BE9E0104}.Release|x64.ActiveCfg = Release|Any CPU
{63924A3A-F5E3-4974-950B-1235BE9E0104}.Release|x64.Build.0 = Release|Any CPU
{63924A3A-F5E3-4974-950B-1235BE9E0104}.Release|x64.Deploy.0 = Release|Any CPU
{63924A3A-F5E3-4974-950B-1235BE9E0104}.Release|x86.ActiveCfg = Release|x86
{63924A3A-F5E3-4974-950B-1235BE9E0104}.Release|x86.Build.0 = Release|x86
{63924A3A-F5E3-4974-950B-1235BE9E0104}.Release|x86.Deploy.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand All @@ -437,13 +475,14 @@ Global
{D41EB518-130C-4066-8FFF-B2787ED3E9DC} = {5BBA1B77-840E-44B7-96A0-BBE9DED77AC4}
{9595AE6F-D933-468C-953D-CA1B5894BF31} = {5BBA1B77-840E-44B7-96A0-BBE9DED77AC4}
{BF89EB20-E0FE-4816-9680-15270E736252} = {5BBA1B77-840E-44B7-96A0-BBE9DED77AC4}
{ED0245A9-D00A-4834-8169-ABDAD522A3F0} = {5BBA1B77-840E-44B7-96A0-BBE9DED77AC4}
{F5449053-F1C2-4F33-A20C-8A1EBF97D922} = {5BBA1B77-840E-44B7-96A0-BBE9DED77AC4}
{1B7E0C07-D9C0-4F5C-BAF3-58441B4BA195} = {5EAED1CB-2529-417A-AD87-BFB34BB879AB}
{7572AA7F-220D-4C76-9B93-8A7C9FD08A6B} = {5EAED1CB-2529-417A-AD87-BFB34BB879AB}
{B2F89F1B-353F-441A-813D-DFE0CF49F53D} = {5EAED1CB-2529-417A-AD87-BFB34BB879AB}
{ED0245A9-D00A-4834-8169-ABDAD522A3F0} = {5BBA1B77-840E-44B7-96A0-BBE9DED77AC4}
{F5449053-F1C2-4F33-A20C-8A1EBF97D922} = {5BBA1B77-840E-44B7-96A0-BBE9DED77AC4}
{581B0529-3197-4260-9E45-3EE71D4C0C4D} = {2DFD69F4-A64B-4CC0-8930-707DA0463C49}
{F5F96642-96B0-4FE3-B20E-6FA496F75D69} = {2DFD69F4-A64B-4CC0-8930-707DA0463C49}
{0B140421-4421-4673-972F-7FFB6268F0DC} = {2DFD69F4-A64B-4CC0-8930-707DA0463C49}
{63924A3A-F5E3-4974-950B-1235BE9E0104} = {5BBA1B77-840E-44B7-96A0-BBE9DED77AC4}
EndGlobalSection
EndGlobal
7 changes: 7 additions & 0 deletions Testers/Lego.Ev3.Tester.Phone81/App.xaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<Application
x:Class="Lego.Ev3.Tester.Phone81.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:Lego.Ev3.Tester.Phone81">

</Application>
131 changes: 131 additions & 0 deletions Testers/Lego.Ev3.Tester.Phone81/App.xaml.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Media.Animation;
using Windows.UI.Xaml.Navigation;

// The Blank Application template is documented at http://go.microsoft.com/fwlink/?LinkId=391641

namespace Lego.Ev3.Tester.Phone81
{
/// <summary>
/// Provides application-specific behavior to supplement the default Application class.
/// </summary>
public sealed partial class App : Application
{
private TransitionCollection transitions;

/// <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 += this.OnSuspending;
}

/// <summary>
/// Invoked when the application is launched normally by the end user. Other entry points
/// will be used when the application is launched to open a specific file, to display
/// search results, and so forth.
/// </summary>
/// <param name="e">Details about the launch request and process.</param>
protected override void OnLaunched(LaunchActivatedEventArgs e)
{
#if DEBUG
if (System.Diagnostics.Debugger.IsAttached)
{
this.DebugSettings.EnableFrameRateCounter = true;
}
#endif

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();

// TODO: change this value to a cache size that is appropriate for your application
rootFrame.CacheSize = 1;

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)
{
// Removes the turnstile navigation for startup.
if (rootFrame.ContentTransitions != null)
{
this.transitions = new TransitionCollection();
foreach (var c in rootFrame.ContentTransitions)
{
this.transitions.Add(c);
}
}

rootFrame.ContentTransitions = null;
rootFrame.Navigated += this.RootFrame_FirstNavigated;

// When the navigation stack isn't restored navigate to the first page,
// configuring the new page by passing required information as a navigation
// parameter
if (!rootFrame.Navigate(typeof(MainPage), e.Arguments))
{
throw new Exception("Failed to create initial page");
}
}

// Ensure the current window is active
Window.Current.Activate();
}

/// <summary>
/// Restores the content transitions after the app has launched.
/// </summary>
/// <param name="sender">The object where the handler is attached.</param>
/// <param name="e">Details about the navigation event.</param>
private void RootFrame_FirstNavigated(object sender, NavigationEventArgs e)
{
var rootFrame = sender as Frame;
rootFrame.ContentTransitions = this.transitions ?? new TransitionCollection() { new NavigationThemeTransition() };
rootFrame.Navigated -= this.RootFrame_FirstNavigated;
}

/// <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();
}
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
134 changes: 134 additions & 0 deletions Testers/Lego.Ev3.Tester.Phone81/Lego.Ev3.Tester.Phone81.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.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)' == '' ">AnyCPU</Platform>
<ProjectGuid>{63924A3A-F5E3-4974-950B-1235BE9E0104}</ProjectGuid>
<OutputType>AppContainerExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Lego.Ev3.Tester.Phone81</RootNamespace>
<AssemblyName>Lego.Ev3.Tester.Phone81</AssemblyName>
<DefaultLanguage>en-US</DefaultLanguage>
<TargetPlatformVersion>8.1</TargetPlatformVersion>
<MinimumVisualStudioVersion>12</MinimumVisualStudioVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{76F1466A-8B6D-4E39-A767-685A06062A39};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_PHONE_APP</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_PHONE_APP</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\ARM\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_PHONE_APP</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_PHONE_APP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>ARM</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_PHONE_APP</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_PHONE_APP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<!-- A reference to the entire .Net Framework and Windows SDK are automatically included -->
<ProjectReference Include="..\..\Lego.Ev3.WinRT\Lego.Ev3.WinRT.csproj">
<Project>{c38c0a71-82d2-4979-b737-990026313f82}</Project>
<Name>Lego.Ev3.WinRT</Name>
</ProjectReference>
</ItemGroup>
<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>
</ItemGroup>
<ItemGroup>
<Content Include="Assets\Logo.scale-240.png" />
<Content Include="Assets\SmallLogo.scale-240.png" />
<Content Include="Assets\SplashScreen.scale-240.png" />
<Content Include="Assets\Square71x71Logo.scale-240.png" />
<Content Include="Assets\StoreLogo.scale-240.png" />
<Content Include="Assets\WideLogo.scale-240.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>
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '12.0' ">
<VisualStudioVersion>12.0</VisualStudioVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(TargetPlatformIdentifier)' == '' ">
<TargetPlatformIdentifier>WindowsPhoneApp</TargetPlatformIdentifier>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
Loading

0 comments on commit 21b68fc

Please sign in to comment.