diff --git a/build-tools/scripts/MonoAndroidFramework.props b/build-tools/scripts/MonoAndroidFramework.props deleted file mode 100644 index 0b5eecca0a3..00000000000 --- a/build-tools/scripts/MonoAndroidFramework.props +++ /dev/null @@ -1,31 +0,0 @@ - - - - - true - true - $(MSBuildThisFileDirectory)..\..\product.snk - Assets - Resources - false - false - false - - - - - - - $(AndroidFrameworkVersion) - $(XAInstallPrefix)xbuild-frameworks - $(TargetFrameworkRootPath)\MonoAndroid\v1.0 - monoandroid$(AndroidLatestStableFrameworkVersion.TrimStart('v')) - MonoAndroid - $(AndroidLatestStableFrameworkVersion) - $(XAInstallPrefix)xbuild-frameworks\MonoAndroid\v1.0\ - - - diff --git a/build-tools/scripts/MonoAndroidFramework.targets b/build-tools/scripts/MonoAndroidFramework.targets deleted file mode 100644 index c31d5bb67f5..00000000000 --- a/build-tools/scripts/MonoAndroidFramework.targets +++ /dev/null @@ -1,48 +0,0 @@ - - - - $(MicrosoftAndroidSdkOutDir)Xamarin.Android.CSharp.targets - - - - - - - $(OutputPath)..\v1.0\mscorlib.dll - false - - - $(OutputPath)..\v1.0\System.dll - false - - - $(OutputPath)..\v1.0\System.Core.dll - false - - - $(OutputPath)..\v1.0\System.Xml.dll - false - - - $(OutputPath)..\v1.0\Java.Interop.dll - false - - - false - - - - - - - - - - diff --git a/samples/HelloWorld/HelloLibrary/HelloLibrary.csproj b/samples/HelloWorld/HelloLibrary/HelloLibrary.csproj deleted file mode 100644 index b613bde6304..00000000000 --- a/samples/HelloWorld/HelloLibrary/HelloLibrary.csproj +++ /dev/null @@ -1,78 +0,0 @@ - - - - Debug - AnyCPU - 8.0.30703 - 2.0 - {6BE66B30-9346-4DA6-B09A-0CDC1DFE33C2} - {EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - Library - Properties - HelloLibrary - HelloLibrary - 512 - false - portable - True - Resource - - - - $(AndroidFrameworkVersion) - - - true - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - None - - - true - bin\Release\ - TRACE - prompt - 4 - SdkOnly - - - true - bin\Bundle\ - TRACE - prompt - 4 - SdkOnly - - - - - - - - - - - - - - - - - - - - - - diff --git a/samples/HelloWorld/HelloWorld/HelloWorld.csproj b/samples/HelloWorld/HelloWorld/HelloWorld.csproj deleted file mode 100644 index 40279ae12e5..00000000000 --- a/samples/HelloWorld/HelloWorld/HelloWorld.csproj +++ /dev/null @@ -1,81 +0,0 @@ - - - - Debug - AnyCPU - {2305B00D-DE81-4744-B0DA-357835CAFE5A} - {EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - Library - HelloWorld - HelloWorld - True - True - Resources\Resource.designer.cs - Resource - Properties\AndroidManifest.xml - Resources - Assets - d8 - portable - - - - $(AndroidFrameworkVersion) - - - true - false - bin\Debug - DEBUG; - prompt - 4 - false - None - - - true - bin\Release - prompt - 4 - false - - - - - - - - - - {6BE66B30-9346-4DA6-B09A-0CDC1DFE33C2} - HelloLibrary - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/samples/VSAndroidApp/Assets/AboutAssets.txt b/samples/VSAndroidApp/Assets/AboutAssets.txt deleted file mode 100644 index dcb04096ff4..00000000000 --- a/samples/VSAndroidApp/Assets/AboutAssets.txt +++ /dev/null @@ -1,19 +0,0 @@ -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 your 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"); \ No newline at end of file diff --git a/samples/VSAndroidApp/MainActivity.cs b/samples/VSAndroidApp/MainActivity.cs deleted file mode 100644 index feedda46d52..00000000000 --- a/samples/VSAndroidApp/MainActivity.cs +++ /dev/null @@ -1,60 +0,0 @@ -using System; -using Android.App; -using Android.OS; -using Android.Runtime; -using Android.Support.Design.Widget; -using Android.Support.V7.App; -using Android.Views; -using Android.Widget; - -namespace VSAndroidApp -{ - [Activity(Label = "@string/app_name", Theme = "@style/AppTheme.NoActionBar", MainLauncher = true)] - public class MainActivity : AppCompatActivity - { - - protected override void OnCreate(Bundle savedInstanceState) - { - base.OnCreate(savedInstanceState); - Xamarin.Essentials.Platform.Init(this, savedInstanceState); - SetContentView(Resource.Layout.activity_main); - - Android.Support.V7.Widget.Toolbar toolbar = FindViewById(Resource.Id.toolbar); - SetSupportActionBar(toolbar); - - FloatingActionButton fab = FindViewById(Resource.Id.fab); - fab.Click += FabOnClick; - } - - public override bool OnCreateOptionsMenu(IMenu menu) - { - MenuInflater.Inflate(Resource.Menu.menu_main, menu); - return true; - } - - public override bool OnOptionsItemSelected(IMenuItem item) - { - int id = item.ItemId; - if (id == Resource.Id.action_settings) - { - return true; - } - - return base.OnOptionsItemSelected(item); - } - - private void FabOnClick(object sender, EventArgs eventArgs) - { - View view = (View) sender; - Snackbar.Make(view, "Replace with your own action", Snackbar.LengthLong) - .SetAction("Action", (Android.Views.View.IOnClickListener)null).Show(); - } - public override void OnRequestPermissionsResult(int requestCode, string[] permissions, [GeneratedEnum] Android.Content.PM.Permission[] grantResults) - { - Xamarin.Essentials.Platform.OnRequestPermissionsResult(requestCode, permissions, grantResults); - - base.OnRequestPermissionsResult(requestCode, permissions, grantResults); - } - } -} - diff --git a/samples/VSAndroidApp/Properties/AndroidManifest.xml b/samples/VSAndroidApp/Properties/AndroidManifest.xml deleted file mode 100644 index c48b180aa79..00000000000 --- a/samples/VSAndroidApp/Properties/AndroidManifest.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - diff --git a/samples/VSAndroidApp/Properties/AssemblyInfo.cs b/samples/VSAndroidApp/Properties/AssemblyInfo.cs deleted file mode 100644 index f7814c69528..00000000000 --- a/samples/VSAndroidApp/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,26 +0,0 @@ -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("VSAndroidApp")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("VSAndroidApp")] -[assembly: AssemblyCopyright("Copyright © 2018")] -[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 -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/samples/VSAndroidApp/Resources/AboutResources.txt b/samples/VSAndroidApp/Resources/AboutResources.txt deleted file mode 100644 index 096447a90d1..00000000000 --- a/samples/VSAndroidApp/Resources/AboutResources.txt +++ /dev/null @@ -1,44 +0,0 @@ -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/ - 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 "R" -(this is an Android convention) that contains the tokens for each one of the resources -included. For example, for the above Resources layout, this is what the R class would expose: - -public class R { - 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 R.layout.main -to reference the layout/main.xml file, or R.strings.first_string to reference the first -string in the dictionary file values/strings.xml. \ No newline at end of file diff --git a/samples/VSAndroidApp/Resources/layout/activity_main.xml b/samples/VSAndroidApp/Resources/layout/activity_main.xml deleted file mode 100644 index 12d6ee3773a..00000000000 --- a/samples/VSAndroidApp/Resources/layout/activity_main.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - diff --git a/samples/VSAndroidApp/Resources/layout/content_main.xml b/samples/VSAndroidApp/Resources/layout/content_main.xml deleted file mode 100644 index 5662d6daa5c..00000000000 --- a/samples/VSAndroidApp/Resources/layout/content_main.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - diff --git a/samples/VSAndroidApp/Resources/menu/menu_main.xml b/samples/VSAndroidApp/Resources/menu/menu_main.xml deleted file mode 100644 index ace8c659206..00000000000 --- a/samples/VSAndroidApp/Resources/menu/menu_main.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/samples/VSAndroidApp/Resources/mipmap-anydpi-v26/ic_launcher.xml b/samples/VSAndroidApp/Resources/mipmap-anydpi-v26/ic_launcher.xml deleted file mode 100644 index 036d09bc5fd..00000000000 --- a/samples/VSAndroidApp/Resources/mipmap-anydpi-v26/ic_launcher.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/samples/VSAndroidApp/Resources/mipmap-anydpi-v26/ic_launcher_round.xml b/samples/VSAndroidApp/Resources/mipmap-anydpi-v26/ic_launcher_round.xml deleted file mode 100644 index 036d09bc5fd..00000000000 --- a/samples/VSAndroidApp/Resources/mipmap-anydpi-v26/ic_launcher_round.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/samples/VSAndroidApp/Resources/mipmap-hdpi/ic_launcher.png b/samples/VSAndroidApp/Resources/mipmap-hdpi/ic_launcher.png deleted file mode 100644 index 2531cb31efc..00000000000 Binary files a/samples/VSAndroidApp/Resources/mipmap-hdpi/ic_launcher.png and /dev/null differ diff --git a/samples/VSAndroidApp/Resources/mipmap-hdpi/ic_launcher_foreground.png b/samples/VSAndroidApp/Resources/mipmap-hdpi/ic_launcher_foreground.png deleted file mode 100644 index 7a859c25556..00000000000 Binary files a/samples/VSAndroidApp/Resources/mipmap-hdpi/ic_launcher_foreground.png and /dev/null differ diff --git a/samples/VSAndroidApp/Resources/mipmap-hdpi/ic_launcher_round.png b/samples/VSAndroidApp/Resources/mipmap-hdpi/ic_launcher_round.png deleted file mode 100644 index b8d35b3a1cf..00000000000 Binary files a/samples/VSAndroidApp/Resources/mipmap-hdpi/ic_launcher_round.png and /dev/null differ diff --git a/samples/VSAndroidApp/Resources/mipmap-mdpi/ic_launcher.png b/samples/VSAndroidApp/Resources/mipmap-mdpi/ic_launcher.png deleted file mode 100644 index 795ea7c0058..00000000000 Binary files a/samples/VSAndroidApp/Resources/mipmap-mdpi/ic_launcher.png and /dev/null differ diff --git a/samples/VSAndroidApp/Resources/mipmap-mdpi/ic_launcher_foreground.png b/samples/VSAndroidApp/Resources/mipmap-mdpi/ic_launcher_foreground.png deleted file mode 100644 index a12b157f00e..00000000000 Binary files a/samples/VSAndroidApp/Resources/mipmap-mdpi/ic_launcher_foreground.png and /dev/null differ diff --git a/samples/VSAndroidApp/Resources/mipmap-mdpi/ic_launcher_round.png b/samples/VSAndroidApp/Resources/mipmap-mdpi/ic_launcher_round.png deleted file mode 100644 index 8f56909cddf..00000000000 Binary files a/samples/VSAndroidApp/Resources/mipmap-mdpi/ic_launcher_round.png and /dev/null differ diff --git a/samples/VSAndroidApp/Resources/mipmap-xhdpi/ic_launcher.png b/samples/VSAndroidApp/Resources/mipmap-xhdpi/ic_launcher.png deleted file mode 100644 index 761cc91d90f..00000000000 Binary files a/samples/VSAndroidApp/Resources/mipmap-xhdpi/ic_launcher.png and /dev/null differ diff --git a/samples/VSAndroidApp/Resources/mipmap-xhdpi/ic_launcher_foreground.png b/samples/VSAndroidApp/Resources/mipmap-xhdpi/ic_launcher_foreground.png deleted file mode 100644 index e7d70a5e2d1..00000000000 Binary files a/samples/VSAndroidApp/Resources/mipmap-xhdpi/ic_launcher_foreground.png and /dev/null differ diff --git a/samples/VSAndroidApp/Resources/mipmap-xhdpi/ic_launcher_round.png b/samples/VSAndroidApp/Resources/mipmap-xhdpi/ic_launcher_round.png deleted file mode 100644 index 9737d79c049..00000000000 Binary files a/samples/VSAndroidApp/Resources/mipmap-xhdpi/ic_launcher_round.png and /dev/null differ diff --git a/samples/VSAndroidApp/Resources/mipmap-xxhdpi/ic_launcher.png b/samples/VSAndroidApp/Resources/mipmap-xxhdpi/ic_launcher.png deleted file mode 100644 index 9133e31b432..00000000000 Binary files a/samples/VSAndroidApp/Resources/mipmap-xxhdpi/ic_launcher.png and /dev/null differ diff --git a/samples/VSAndroidApp/Resources/mipmap-xxhdpi/ic_launcher_foreground.png b/samples/VSAndroidApp/Resources/mipmap-xxhdpi/ic_launcher_foreground.png deleted file mode 100644 index 73ccaa6a2b1..00000000000 Binary files a/samples/VSAndroidApp/Resources/mipmap-xxhdpi/ic_launcher_foreground.png and /dev/null differ diff --git a/samples/VSAndroidApp/Resources/mipmap-xxhdpi/ic_launcher_round.png b/samples/VSAndroidApp/Resources/mipmap-xxhdpi/ic_launcher_round.png deleted file mode 100644 index c3ae5f5ccde..00000000000 Binary files a/samples/VSAndroidApp/Resources/mipmap-xxhdpi/ic_launcher_round.png and /dev/null differ diff --git a/samples/VSAndroidApp/Resources/mipmap-xxxhdpi/ic_launcher.png b/samples/VSAndroidApp/Resources/mipmap-xxxhdpi/ic_launcher.png deleted file mode 100644 index d4fd714eeda..00000000000 Binary files a/samples/VSAndroidApp/Resources/mipmap-xxxhdpi/ic_launcher.png and /dev/null differ diff --git a/samples/VSAndroidApp/Resources/mipmap-xxxhdpi/ic_launcher_foreground.png b/samples/VSAndroidApp/Resources/mipmap-xxxhdpi/ic_launcher_foreground.png deleted file mode 100644 index f6584afd4d1..00000000000 Binary files a/samples/VSAndroidApp/Resources/mipmap-xxxhdpi/ic_launcher_foreground.png and /dev/null differ diff --git a/samples/VSAndroidApp/Resources/mipmap-xxxhdpi/ic_launcher_round.png b/samples/VSAndroidApp/Resources/mipmap-xxxhdpi/ic_launcher_round.png deleted file mode 100644 index ef89bd5215f..00000000000 Binary files a/samples/VSAndroidApp/Resources/mipmap-xxxhdpi/ic_launcher_round.png and /dev/null differ diff --git a/samples/VSAndroidApp/Resources/values/colors.xml b/samples/VSAndroidApp/Resources/values/colors.xml deleted file mode 100644 index 17bb9a9dd16..00000000000 --- a/samples/VSAndroidApp/Resources/values/colors.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - #2c3e50 - #1B3147 - #3498db - diff --git a/samples/VSAndroidApp/Resources/values/dimens.xml b/samples/VSAndroidApp/Resources/values/dimens.xml deleted file mode 100644 index 59a0b0c4f55..00000000000 --- a/samples/VSAndroidApp/Resources/values/dimens.xml +++ /dev/null @@ -1,3 +0,0 @@ - - 16dp - diff --git a/samples/VSAndroidApp/Resources/values/ic_launcher_background.xml b/samples/VSAndroidApp/Resources/values/ic_launcher_background.xml deleted file mode 100644 index 6ec24e6413c..00000000000 --- a/samples/VSAndroidApp/Resources/values/ic_launcher_background.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - #2C3E50 - \ No newline at end of file diff --git a/samples/VSAndroidApp/Resources/values/strings.xml b/samples/VSAndroidApp/Resources/values/strings.xml deleted file mode 100644 index 67eb31a8aaa..00000000000 --- a/samples/VSAndroidApp/Resources/values/strings.xml +++ /dev/null @@ -1,4 +0,0 @@ - - VSAndroidApp - Settings - diff --git a/samples/VSAndroidApp/Resources/values/styles.xml b/samples/VSAndroidApp/Resources/values/styles.xml deleted file mode 100644 index 545b9c6d2c4..00000000000 --- a/samples/VSAndroidApp/Resources/values/styles.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - -