Skip to content

Commit

Permalink
[WorkingWithDevice] Updated sample to be Forms 2.3.4 compliant.
Browse files Browse the repository at this point in the history
  • Loading branch information
David Britch authored and David Britch committed Apr 11, 2017
1 parent 0931986 commit a6fea3b
Show file tree
Hide file tree
Showing 104 changed files with 169 additions and 2,005 deletions.
Empty file modified WorkingWithDevice/Android/Assets/AboutAssets.txt
100644 → 100755
Empty file.
Empty file modified WorkingWithDevice/Android/MainActivity.cs
100644 → 100755
Empty file.
Empty file modified WorkingWithDevice/Android/Properties/AndroidManifest.xml
100644 → 100755
Empty file.
Empty file modified WorkingWithDevice/Android/Properties/AssemblyInfo.cs
100644 → 100755
Empty file.
Empty file modified WorkingWithDevice/Android/Resources/AboutResources.txt
100644 → 100755
Empty file.
Empty file modified WorkingWithDevice/Android/Resources/drawable/Icon.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified WorkingWithDevice/Android/Resources/drawable/csharp.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified WorkingWithDevice/Android/Resources/drawable/xaml.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified WorkingWithDevice/Android/Resources/layout/Main.axml
100644 → 100755
Empty file.
Empty file modified WorkingWithDevice/Android/Resources/values/Strings.xml
100644 → 100755
Empty file.
26 changes: 14 additions & 12 deletions WorkingWithDevice/Android/WorkingWithDevice.Android.csproj
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
<AssemblyName>WorkingWithPlatformSpecifics.Android</AssemblyName>
<TargetFrameworkVersion>v6.0</TargetFrameworkVersion>
<AndroidManifest>Properties\AndroidManifest.xml</AndroidManifest>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand All @@ -38,8 +40,8 @@
<ConsolePause>false</ConsolePause>
</PropertyGroup>
<ItemGroup>
<Reference Include="FormsViewGroup, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\packages\Xamarin.Forms.2.3.3.180\lib\MonoAndroid10\FormsViewGroup.dll</HintPath>
<Reference Include="FormsViewGroup, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Xamarin.Forms.2.3.4.224\lib\MonoAndroid10\FormsViewGroup.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System" />
Expand Down Expand Up @@ -70,20 +72,20 @@
<Reference Include="Xamarin.Android.Support.Vector.Drawable">
<HintPath>..\packages\Xamarin.Android.Support.Vector.Drawable.23.3.0\lib\MonoAndroid403\Xamarin.Android.Support.Vector.Drawable.dll</HintPath>
</Reference>
<Reference Include="Xamarin.Forms.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\packages\Xamarin.Forms.2.3.3.180\lib\MonoAndroid10\Xamarin.Forms.Core.dll</HintPath>
<Reference Include="Xamarin.Forms.Core, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Xamarin.Forms.2.3.4.224\lib\MonoAndroid10\Xamarin.Forms.Core.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Xamarin.Forms.Platform, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\packages\Xamarin.Forms.2.3.3.180\lib\MonoAndroid10\Xamarin.Forms.Platform.dll</HintPath>
<Reference Include="Xamarin.Forms.Platform, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Xamarin.Forms.2.3.4.224\lib\MonoAndroid10\Xamarin.Forms.Platform.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Xamarin.Forms.Platform.Android, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\packages\Xamarin.Forms.2.3.3.180\lib\MonoAndroid10\Xamarin.Forms.Platform.Android.dll</HintPath>
<Reference Include="Xamarin.Forms.Platform.Android, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Xamarin.Forms.2.3.4.224\lib\MonoAndroid10\Xamarin.Forms.Platform.Android.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Xamarin.Forms.Xaml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\packages\Xamarin.Forms.2.3.3.180\lib\MonoAndroid10\Xamarin.Forms.Xaml.dll</HintPath>
<Reference Include="Xamarin.Forms.Xaml, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Xamarin.Forms.2.3.4.224\lib\MonoAndroid10\Xamarin.Forms.Xaml.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Xamarin.GooglePlayServices.AppIndexing">
Expand Down Expand Up @@ -127,9 +129,9 @@
</PropertyGroup>
<Error Condition="!Exists('..\packages\Xamarin.Android.Support.Vector.Drawable.23.3.0\build\Xamarin.Android.Support.Vector.Drawable.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Xamarin.Android.Support.Vector.Drawable.23.3.0\build\Xamarin.Android.Support.Vector.Drawable.targets'))" />
<Error Condition="!Exists('..\packages\Xamarin.GooglePlayServices.Basement.29.0.0.2\build\Xamarin.GooglePlayServices.Basement.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Xamarin.GooglePlayServices.Basement.29.0.0.2\build\Xamarin.GooglePlayServices.Basement.targets'))" />
<Error Condition="!Exists('..\packages\Xamarin.Forms.2.3.3.180\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Xamarin.Forms.2.3.3.180\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.targets'))" />
<Error Condition="!Exists('..\packages\Xamarin.Forms.2.3.4.224\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Xamarin.Forms.2.3.4.224\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.targets'))" />
</Target>
<Import Project="..\packages\Xamarin.Android.Support.Vector.Drawable.23.3.0\build\Xamarin.Android.Support.Vector.Drawable.targets" Condition="Exists('..\packages\Xamarin.Android.Support.Vector.Drawable.23.3.0\build\Xamarin.Android.Support.Vector.Drawable.targets')" />
<Import Project="..\packages\Xamarin.GooglePlayServices.Basement.29.0.0.2\build\Xamarin.GooglePlayServices.Basement.targets" Condition="Exists('..\packages\Xamarin.GooglePlayServices.Basement.29.0.0.2\build\Xamarin.GooglePlayServices.Basement.targets')" />
<Import Project="..\packages\Xamarin.Forms.2.3.3.180\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.targets" Condition="Exists('..\packages\Xamarin.Forms.2.3.3.180\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.targets')" />
<Import Project="..\packages\Xamarin.Forms.2.3.4.224\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.targets" Condition="Exists('..\packages\Xamarin.Forms.2.3.4.224\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.targets')" />
</Project>
2 changes: 1 addition & 1 deletion WorkingWithDevice/Android/packages.config
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<package id="Xamarin.Android.Support.v7.MediaRouter" version="23.3.0" targetFramework="monoandroid50" />
<package id="Xamarin.Android.Support.v7.RecyclerView" version="23.3.0" targetFramework="monoandroid50" />
<package id="Xamarin.Android.Support.Vector.Drawable" version="23.3.0" targetFramework="monoandroid50" />
<package id="Xamarin.Forms" version="2.3.3.180" targetFramework="monoandroid60" />
<package id="Xamarin.Forms" version="2.3.4.224" targetFramework="monoandroid60" />
<package id="Xamarin.GooglePlayServices.AppIndexing" version="29.0.0.2" targetFramework="monoandroid50" />
<package id="Xamarin.GooglePlayServices.Base" version="29.0.0.2" targetFramework="monoandroid50" />
<package id="Xamarin.GooglePlayServices.Basement" version="29.0.0.2" targetFramework="monoandroid50" />
Expand Down
Empty file modified WorkingWithDevice/Metadata.xml
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion WorkingWithDevice/README.md
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Working with Platform Tweaks
==============

These samples relate to the [Working with Platform Tweaks in Xamarin.Forms](http://http://developer.xamarin.com/guides/cross-platform/xamarin-forms/working-with/platform-specifics/) doc.
This samples demonstrates how to use the `Device` class. For more information, see the [Device Class](http://developer.xamarin.com/guides/xamarin-forms/platform-features/device/).


Author
Expand Down
Empty file modified WorkingWithDevice/Screenshots/uwp.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified WorkingWithDevice/Screenshots/windows.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified WorkingWithDevice/UWP/App.xaml
100644 → 100755
Empty file.
Empty file modified WorkingWithDevice/UWP/App.xaml.cs
100644 → 100755
Empty file.
Empty file modified WorkingWithDevice/UWP/ApplicationInsights.config
100644 → 100755
Empty file.
Empty file modified WorkingWithDevice/UWP/Assets/LockScreenLogo.scale-200.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified WorkingWithDevice/UWP/Assets/SplashScreen.scale-200.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified WorkingWithDevice/UWP/Assets/Square150x150Logo.scale-200.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified WorkingWithDevice/UWP/Assets/Square44x44Logo.scale-200.png
100644 → 100755
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.
Empty file modified WorkingWithDevice/UWP/Assets/StoreLogo.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified WorkingWithDevice/UWP/Assets/Wide310x150Logo.scale-200.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified WorkingWithDevice/UWP/MainPage.xaml
100644 → 100755
Empty file.
Empty file modified WorkingWithDevice/UWP/MainPage.xaml.cs
100644 → 100755
Empty file.
Empty file modified WorkingWithDevice/UWP/Package.appxmanifest
100644 → 100755
Empty file.
Empty file modified WorkingWithDevice/UWP/Properties/AssemblyInfo.cs
100644 → 100755
Empty file.
Empty file modified WorkingWithDevice/UWP/Properties/Default.rd.xml
100644 → 100755
Empty file.
Empty file modified WorkingWithDevice/UWP/WorkingWithDevice.UWP.csproj
100644 → 100755
Empty file.
4 changes: 2 additions & 2 deletions WorkingWithDevice/UWP/project.json
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
{
"dependencies": {
"Microsoft.ApplicationInsights": "1.0.0",
"Microsoft.ApplicationInsights.PersistenceChannel": "1.0.0",
"Microsoft.ApplicationInsights.WindowsApps": "1.0.0",
"Microsoft.NETCore.UniversalWindowsPlatform": "5.2.2",
"Xamarin.Forms": "2.3.3.180"
"Xamarin.Forms": "2.3.4.224"
},
"frameworks": {
"uap10.0": {}
Expand Down
20 changes: 0 additions & 20 deletions WorkingWithDevice/WinPhone/App.xaml

This file was deleted.

223 changes: 0 additions & 223 deletions WorkingWithDevice/WinPhone/App.xaml.cs

This file was deleted.

Binary file removed WorkingWithDevice/WinPhone/Assets/AlignmentGrid.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
14 changes: 0 additions & 14 deletions WorkingWithDevice/WinPhone/LocalizedStrings.cs

This file was deleted.

16 changes: 0 additions & 16 deletions WorkingWithDevice/WinPhone/MainPage.xaml

This file was deleted.

28 changes: 0 additions & 28 deletions WorkingWithDevice/WinPhone/MainPage.xaml.cs

This file was deleted.

Loading

0 comments on commit a6fea3b

Please sign in to comment.