Merge branch 'vnext' of github.com:pazof/yavsc into vnext
@ -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,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup>
|
||||||
|
<AndroidDesignerPreferredDevice>Nexus 4</AndroidDesignerPreferredDevice>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
||||||
@ -0,0 +1,9 @@
|
|||||||
|
Devic Info Readme
|
||||||
|
Find the most up to date information at: https://github.com/jamesmontemagno/Xamarin.Plugins
|
||||||
|
|
||||||
|
**IMPORTANT**
|
||||||
|
|
||||||
|
|
||||||
|
Windows Phone:
|
||||||
|
Permissions to add:
|
||||||
|
ID_CAP_IDENTITY_DEVICE
|
||||||
@ -0,0 +1,44 @@
|
|||||||
|
/*
|
||||||
|
// Helpers/Settings.cs This file was automatically added when you installed the Settings Plugin. If you are not using a PCL then comment this file back in to use it.
|
||||||
|
using Plugin.Settings;
|
||||||
|
using Plugin.Settings.Abstractions;
|
||||||
|
|
||||||
|
namespace BookAStar.Droid.Helpers
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// This is the Settings static class that can be used in your Core solution or in any
|
||||||
|
/// of your client applications. All settings are laid out the same exact way with getters
|
||||||
|
/// and setters.
|
||||||
|
/// </summary>
|
||||||
|
public static class Settings
|
||||||
|
{
|
||||||
|
private static ISettings AppSettings
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return CrossSettings.Current;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#region Setting Constants
|
||||||
|
|
||||||
|
private const string SettingsKey = "settings_key";
|
||||||
|
private static readonly string SettingsDefault = string.Empty;
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
|
||||||
|
public static string GeneralSettings
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return AppSettings.GetValueOrDefault<string>(SettingsKey, SettingsDefault);
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
AppSettings.AddOrUpdateValue<string>(SettingsKey, value);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}*/
|
||||||
@ -0,0 +1,17 @@
|
|||||||
|
Connectivity Readme
|
||||||
|
Find the most up to date information at: https://github.com/jamesmontemagno/Xamarin.Plugins
|
||||||
|
|
||||||
|
**IMPORTANT**
|
||||||
|
Android:
|
||||||
|
You must request ACCESS_NETWORK_STATE permission to get the network state
|
||||||
|
You must request ACCESS_WIFI_STATE to get speeds
|
||||||
|
|
||||||
|
iOS:
|
||||||
|
Bandwidths is not supported and will always return an empty list.
|
||||||
|
|
||||||
|
Windows 8.1 & Windows Phone 8.1 RT:
|
||||||
|
RT apps can not perform loopback, so you can not use IsReachable to query the states of a local IP.
|
||||||
|
|
||||||
|
Permissions to think about:
|
||||||
|
The Private Networks (Client & Server) capability is represented by the Capability name = "privateNetworkClientServer" tag in the app manifest.
|
||||||
|
The Internet (Client & Server) capability is represented by the Capability name = "internetClientServer" tag in the app manifest.
|
||||||
@ -0,0 +1,24 @@
|
|||||||
|
Connectivity Readme
|
||||||
|
Find the most up to date information at: https://github.com/jamesmontemagno/Xamarin.Plugins
|
||||||
|
|
||||||
|
**IMPORTANT**
|
||||||
|
Android:
|
||||||
|
You must request ACCESS_COARSE_LOCATION & ACCESS_FINE_LOCATION permission
|
||||||
|
|
||||||
|
iOS:
|
||||||
|
In iOS 8 you now have to call either RequestWhenInUseAuthorization or RequestAlwaysAuthorization on the location manager. Additionally you need to add either the concisely named NSLocationWhenInUseUsageDescription or NSLocationAlwaysUsageDescription to your Info.plist.
|
||||||
|
See: http://motzcod.es/post/97662738237/scanning-for-ibeacons-in-ios-8
|
||||||
|
|
||||||
|
Windows Phone:
|
||||||
|
You must set the ID_CAP_LOCATION permission.
|
||||||
|
|
||||||
|
Getting Started:
|
||||||
|
|
||||||
|
var locator = CrossGeolocator.Current;
|
||||||
|
locator.DesiredAccuracy = 50;
|
||||||
|
|
||||||
|
var position = await locator.GetPositionAsync (timeout: 10000);
|
||||||
|
|
||||||
|
Console.WriteLine ("Position Status: {0}", position.Timestamp);
|
||||||
|
Console.WriteLine ("Position Latitude: {0}", position.Latitude);
|
||||||
|
Console.WriteLine ("Position Longitude: {0}", position.Longitude);
|
||||||
@ -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.
|
||||||
|
After Width: | Height: | Size: 353 B |
|
After Width: | Height: | Size: 507 B |
|
After Width: | Height: | Size: 601 B |
|
After Width: | Height: | Size: 293 B |
|
After Width: | Height: | Size: 3.9 KiB |
|
After Width: | Height: | Size: 5.5 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 258 KiB |
@ -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,8 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<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" />
|
||||||
@ -0,0 +1,33 @@
|
|||||||
|
<?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>
|
||||||
|
<!--If you are using revision 22.1 please use just windowNoTitle. Without android:-->
|
||||||
|
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<style name="AppCompatDialogStyle" parent="Theme.AppCompat.Light.Dialog">
|
||||||
|
<item name="colorAccent">#FF4081</item>
|
||||||
|
</style>
|
||||||
|
</resources>
|
||||||
@ -0,0 +1,91 @@
|
|||||||
|
using System;
|
||||||
|
using Android.App;
|
||||||
|
using Android.Content;
|
||||||
|
using Android.Util;
|
||||||
|
using System.Net;
|
||||||
|
using System.IO;
|
||||||
|
using Android.Gms.Gcm;
|
||||||
|
using Android.Gms.Gcm.Iid;
|
||||||
|
using Android.OS;
|
||||||
|
using Android;
|
||||||
|
|
||||||
|
namespace BookAStar.Droid
|
||||||
|
{
|
||||||
|
|
||||||
|
[Service(Exported = false)]
|
||||||
|
class GcmRegistrationIntentService : IntentService
|
||||||
|
{
|
||||||
|
static object locker = new object();
|
||||||
|
|
||||||
|
public GcmRegistrationIntentService() : base("RegistrationIntentService") {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
static PowerManager.WakeLock sWakeLock;
|
||||||
|
static object LOCK = new object();
|
||||||
|
|
||||||
|
public override void OnCreate()
|
||||||
|
{
|
||||||
|
base.OnCreate();
|
||||||
|
sWakeLock = PowerManager.FromContext(this).NewWakeLock(WakeLockFlags.Partial,
|
||||||
|
"BookAStar");
|
||||||
|
sWakeLock.Acquire();
|
||||||
|
}
|
||||||
|
public override void OnDestroy()
|
||||||
|
{
|
||||||
|
base.OnDestroy();
|
||||||
|
sWakeLock.Release();
|
||||||
|
}
|
||||||
|
protected override void OnHandleIntent (Intent intent)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Log.Info ("RegistrationIntentService", "Calling InstanceID.GetToken");
|
||||||
|
lock (locker)
|
||||||
|
{
|
||||||
|
|
||||||
|
var instanceID = InstanceID.GetInstance (this);
|
||||||
|
var senderid = MainSettings.GoogleSenderId;
|
||||||
|
var token = instanceID.GetToken ( senderid,
|
||||||
|
GoogleCloudMessaging.InstanceIdScope, null);
|
||||||
|
|
||||||
|
Log.Info ("RegistrationIntentService", "GCM Registration Token: " + token);
|
||||||
|
SendRegistrationToAppServer (token);
|
||||||
|
Subscribe (token);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (WebException e) {
|
||||||
|
Log.Debug ("RegistrationIntentService", "Failed to get a registration token");
|
||||||
|
if (e.Response!=null)
|
||||||
|
using (var s = e.Response.GetResponseStream ()) {
|
||||||
|
using (var r = new StreamReader (s)) {
|
||||||
|
var t = r.ReadToEnd ();
|
||||||
|
Log.Debug("RegistrationIntentService",t);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
catch (Exception e)
|
||||||
|
{
|
||||||
|
Log.Error ("RegistrationIntentService", "Failed to get a registration token");
|
||||||
|
Log.Error ("RegistrationIntentService", e.Message);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void SendRegistrationToAppServer (string token)
|
||||||
|
{
|
||||||
|
MainSettings.GoogleRegId = token;
|
||||||
|
}
|
||||||
|
|
||||||
|
void Subscribe (string token)
|
||||||
|
{
|
||||||
|
var pubSub = GcmPubSub.GetInstance(this);
|
||||||
|
pubSub.Subscribe(token, "/topics/global", null);
|
||||||
|
pubSub.Subscribe (token, "/topics/jobs", null);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<configuration>
|
||||||
|
<runtime>
|
||||||
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
</assemblyBinding>
|
||||||
|
</runtime>
|
||||||
|
</configuration>
|
||||||
@ -0,0 +1,24 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<packages>
|
||||||
|
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="monoandroid60" />
|
||||||
|
<package id="Xam.Plugin.Connectivity" version="1.0.1" targetFramework="monoandroid60" />
|
||||||
|
<package id="Xam.Plugin.DeviceInfo" version="1.0.0.2" targetFramework="monoandroid60" />
|
||||||
|
<package id="Xam.Plugin.Geolocator" version="1.0.0" targetFramework="monoandroid60" />
|
||||||
|
<package id="Xam.Plugin.Media" version="1.0.1" targetFramework="monoandroid60" />
|
||||||
|
<package id="Xam.Plugins.Settings" version="2.1.0" targetFramework="monoandroid60" />
|
||||||
|
<package id="Xamarin.Android.Support.Animated.Vector.Drawable" version="23.3.0" targetFramework="monoandroid60" />
|
||||||
|
<package id="Xamarin.Android.Support.Design" version="23.3.0" targetFramework="monoandroid60" />
|
||||||
|
<package id="Xamarin.Android.Support.v4" version="23.3.0" targetFramework="monoandroid60" />
|
||||||
|
<package id="Xamarin.Android.Support.v7.AppCompat" version="23.3.0" targetFramework="monoandroid60" />
|
||||||
|
<package id="Xamarin.Android.Support.v7.CardView" version="23.3.0" targetFramework="monoandroid60" />
|
||||||
|
<package id="Xamarin.Android.Support.v7.MediaRouter" version="23.3.0" targetFramework="monoandroid60" />
|
||||||
|
<package id="Xamarin.Android.Support.v7.RecyclerView" version="23.3.0" targetFramework="monoandroid60" />
|
||||||
|
<package id="Xamarin.Android.Support.Vector.Drawable" version="23.3.0" targetFramework="monoandroid60" />
|
||||||
|
<package id="Xamarin.Forms" version="2.3.0.107" targetFramework="monoandroid60" />
|
||||||
|
<package id="Xamarin.GooglePlayServices" version="22.0.0.0" targetFramework="monoandroid60" />
|
||||||
|
<package id="Xamarin.GooglePlayServices.Base" version="29.0.0.2" targetFramework="monoandroid60" />
|
||||||
|
<package id="Xamarin.GooglePlayServices.Basement" version="29.0.0.2" targetFramework="monoandroid60" />
|
||||||
|
<package id="Xamarin.GooglePlayServices.Gcm" version="29.0.0.2" targetFramework="monoandroid60" />
|
||||||
|
<package id="Xamarin.GooglePlayServices.Maps" version="29.0.0.2" targetFramework="monoandroid60" />
|
||||||
|
<package id="Xamarin.GooglePlayServices.Measurement" version="29.0.0.2" targetFramework="monoandroid60" />
|
||||||
|
</packages>
|
||||||
@ -0,0 +1,8 @@
|
|||||||
|
<Application
|
||||||
|
x:Class="App2.UWP.App"
|
||||||
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
|
xmlns:local="using:App2.UWP"
|
||||||
|
RequestedTheme="Light">
|
||||||
|
|
||||||
|
</Application>
|
||||||
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 7.5 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 3.1 KiB |
@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||||
|
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Condition="'$(NuGetPackageRoot)' == ''">
|
||||||
|
<NuGetPackageRoot>$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ImportGroup>
|
||||||
|
<Import Project="$(NuGetPackageRoot)\Xamarin.Forms\2.0.0.6482\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets" Condition="Exists('$(NuGetPackageRoot)\Xamarin.Forms\2.0.0.6482\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets')" />
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
<forms:WindowsPage
|
||||||
|
x:Class="App2.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:App2.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,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="93ac1fe9-cafe-46e2-af91-9bba73c66f54"
|
||||||
|
Publisher="CN=paul"
|
||||||
|
Version="1.0.0.0" />
|
||||||
|
|
||||||
|
<mp:PhoneIdentity PhoneProductId="93ac1fe9-cafe-46e2-af91-9bba73c66f54" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>
|
||||||
|
|
||||||
|
<Properties>
|
||||||
|
<DisplayName>App2.UWP</DisplayName>
|
||||||
|
<PublisherDisplayName>paul</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="App2.UWP.App">
|
||||||
|
<uap:VisualElements
|
||||||
|
DisplayName="App2.UWP"
|
||||||
|
Square150x150Logo="Assets\Square150x150Logo.png"
|
||||||
|
Square44x44Logo="Assets\Square44x44Logo.png"
|
||||||
|
Description="App2.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,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,225 @@
|
|||||||
|
{
|
||||||
|
"locked": false,
|
||||||
|
"version": 1,
|
||||||
|
"targets": {
|
||||||
|
"UAP,Version=v10.0": {
|
||||||
|
"Xamarin.Forms/2.0.0.6482": {
|
||||||
|
"compile": {
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Core.dll": {},
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Platform.UAP.dll": {},
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Platform.dll": {},
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Xaml.dll": {}
|
||||||
|
},
|
||||||
|
"runtime": {
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Core.dll": {},
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Platform.UAP.dll": {},
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Platform.dll": {},
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Xaml.dll": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"UAP,Version=v10.0/win10-arm": {
|
||||||
|
"Xamarin.Forms/2.0.0.6482": {
|
||||||
|
"compile": {
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Core.dll": {},
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Platform.UAP.dll": {},
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Platform.dll": {},
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Xaml.dll": {}
|
||||||
|
},
|
||||||
|
"runtime": {
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Core.dll": {},
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Platform.UAP.dll": {},
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Platform.dll": {},
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Xaml.dll": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"UAP,Version=v10.0/win10-arm-aot": {
|
||||||
|
"Xamarin.Forms/2.0.0.6482": {
|
||||||
|
"compile": {
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Core.dll": {},
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Platform.UAP.dll": {},
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Platform.dll": {},
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Xaml.dll": {}
|
||||||
|
},
|
||||||
|
"runtime": {
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Core.dll": {},
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Platform.UAP.dll": {},
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Platform.dll": {},
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Xaml.dll": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"UAP,Version=v10.0/win10-x64": {
|
||||||
|
"Xamarin.Forms/2.0.0.6482": {
|
||||||
|
"compile": {
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Core.dll": {},
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Platform.UAP.dll": {},
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Platform.dll": {},
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Xaml.dll": {}
|
||||||
|
},
|
||||||
|
"runtime": {
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Core.dll": {},
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Platform.UAP.dll": {},
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Platform.dll": {},
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Xaml.dll": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"UAP,Version=v10.0/win10-x64-aot": {
|
||||||
|
"Xamarin.Forms/2.0.0.6482": {
|
||||||
|
"compile": {
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Core.dll": {},
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Platform.UAP.dll": {},
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Platform.dll": {},
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Xaml.dll": {}
|
||||||
|
},
|
||||||
|
"runtime": {
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Core.dll": {},
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Platform.UAP.dll": {},
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Platform.dll": {},
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Xaml.dll": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"UAP,Version=v10.0/win10-x86": {
|
||||||
|
"Xamarin.Forms/2.0.0.6482": {
|
||||||
|
"compile": {
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Core.dll": {},
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Platform.UAP.dll": {},
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Platform.dll": {},
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Xaml.dll": {}
|
||||||
|
},
|
||||||
|
"runtime": {
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Core.dll": {},
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Platform.UAP.dll": {},
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Platform.dll": {},
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Xaml.dll": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"UAP,Version=v10.0/win10-x86-aot": {
|
||||||
|
"Xamarin.Forms/2.0.0.6482": {
|
||||||
|
"compile": {
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Core.dll": {},
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Platform.UAP.dll": {},
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Platform.dll": {},
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Xaml.dll": {}
|
||||||
|
},
|
||||||
|
"runtime": {
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Core.dll": {},
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Platform.UAP.dll": {},
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Platform.dll": {},
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Xaml.dll": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"libraries": {
|
||||||
|
"Xamarin.Forms/2.0.0.6482": {
|
||||||
|
"sha512": "ZE9oH3uZY1gUwFiBB4Wr9y2CD73nWgJTHkSx2EZC9MrchSevV5SKTeP4UG4iy3NyuAPtXzBFgXfKCtRIN7ZR/g==",
|
||||||
|
"type": "package",
|
||||||
|
"files": [
|
||||||
|
"Xamarin.Forms.2.0.0.6482.nupkg.sha512",
|
||||||
|
"Xamarin.Forms.nuspec",
|
||||||
|
"build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10/ICSharpCode.Decompiler.dll",
|
||||||
|
"build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10/ICSharpCode.NRefactory.CSharp.dll",
|
||||||
|
"build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10/ICSharpCode.NRefactory.Cecil.dll",
|
||||||
|
"build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10/ICSharpCode.NRefactory.Xml.dll",
|
||||||
|
"build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10/ICSharpCode.NRefactory.dll",
|
||||||
|
"build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10/Mono.Cecil.Mdb.dll",
|
||||||
|
"build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10/Mono.Cecil.Pdb.dll",
|
||||||
|
"build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10/Mono.Cecil.Rocks.dll",
|
||||||
|
"build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10/Mono.Cecil.dll",
|
||||||
|
"build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10/Xamarin.Forms.Build.Tasks.dll",
|
||||||
|
"build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10/Xamarin.Forms.Core.dll",
|
||||||
|
"build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10/Xamarin.Forms.Xaml.dll",
|
||||||
|
"build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10/Xamarin.Forms.targets",
|
||||||
|
"lib/MonoAndroid10/FormsViewGroup.dll",
|
||||||
|
"lib/MonoAndroid10/Xamarin.Forms.Core.dll",
|
||||||
|
"lib/MonoAndroid10/Xamarin.Forms.Core.xml",
|
||||||
|
"lib/MonoAndroid10/Xamarin.Forms.Platform.Android.dll",
|
||||||
|
"lib/MonoAndroid10/Xamarin.Forms.Platform.dll",
|
||||||
|
"lib/MonoAndroid10/Xamarin.Forms.Xaml.dll",
|
||||||
|
"lib/MonoAndroid10/Xamarin.Forms.Xaml.xml",
|
||||||
|
"lib/MonoTouch10/Xamarin.Forms.Core.dll",
|
||||||
|
"lib/MonoTouch10/Xamarin.Forms.Core.xml",
|
||||||
|
"lib/MonoTouch10/Xamarin.Forms.Platform.dll",
|
||||||
|
"lib/MonoTouch10/Xamarin.Forms.Platform.iOS.Classic.dll",
|
||||||
|
"lib/MonoTouch10/Xamarin.Forms.Xaml.dll",
|
||||||
|
"lib/MonoTouch10/Xamarin.Forms.Xaml.xml",
|
||||||
|
"lib/WP80/Xamarin.Forms.Core.dll",
|
||||||
|
"lib/WP80/Xamarin.Forms.Core.xml",
|
||||||
|
"lib/WP80/Xamarin.Forms.Platform.WP8.dll",
|
||||||
|
"lib/WP80/Xamarin.Forms.Platform.dll",
|
||||||
|
"lib/WP80/Xamarin.Forms.Xaml.dll",
|
||||||
|
"lib/WP80/Xamarin.Forms.Xaml.xml",
|
||||||
|
"lib/Xamarin.iOS10/Xamarin.Forms.Core.dll",
|
||||||
|
"lib/Xamarin.iOS10/Xamarin.Forms.Core.xml",
|
||||||
|
"lib/Xamarin.iOS10/Xamarin.Forms.Platform.dll",
|
||||||
|
"lib/Xamarin.iOS10/Xamarin.Forms.Platform.iOS.dll",
|
||||||
|
"lib/Xamarin.iOS10/Xamarin.Forms.Xaml.dll",
|
||||||
|
"lib/Xamarin.iOS10/Xamarin.Forms.Xaml.xml",
|
||||||
|
"lib/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10/Xamarin.Forms.Core.dll",
|
||||||
|
"lib/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10/Xamarin.Forms.Core.xml",
|
||||||
|
"lib/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10/Xamarin.Forms.Platform.dll",
|
||||||
|
"lib/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10/Xamarin.Forms.Xaml.dll",
|
||||||
|
"lib/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10/Xamarin.Forms.Xaml.xml",
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Core.dll",
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Core.xml",
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Platform.UAP.dll",
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Platform.UAP.pri",
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Platform.UAP/FormsTextBox.xbf",
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Platform.UAP/PageControl.xbf",
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Platform.UAP/Properties/Xamarin.Forms.Platform.UAP.rd.xml",
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Platform.UAP/Resources.xbf",
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Platform.UAP/Xamarin.Forms.Platform.UAP.xr.xml",
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Platform.dll",
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Xaml.dll",
|
||||||
|
"lib/uap10.0/Xamarin.Forms.Xaml.xml",
|
||||||
|
"lib/win81/Xamarin.Forms.Core.dll",
|
||||||
|
"lib/win81/Xamarin.Forms.Core.xml",
|
||||||
|
"lib/win81/Xamarin.Forms.Platform.WinRT.Tablet.dll",
|
||||||
|
"lib/win81/Xamarin.Forms.Platform.WinRT.Tablet.pri",
|
||||||
|
"lib/win81/Xamarin.Forms.Platform.WinRT.Tablet/Resources.xbf",
|
||||||
|
"lib/win81/Xamarin.Forms.Platform.WinRT.Tablet/TabletResources.xbf",
|
||||||
|
"lib/win81/Xamarin.Forms.Platform.WinRT.Tablet/Xamarin.Forms.Platform.WinRT.Tablet.xr.xml",
|
||||||
|
"lib/win81/Xamarin.Forms.Platform.WinRT.dll",
|
||||||
|
"lib/win81/Xamarin.Forms.Platform.WinRT.pri",
|
||||||
|
"lib/win81/Xamarin.Forms.Platform.WinRT/FormsTextBox.xbf",
|
||||||
|
"lib/win81/Xamarin.Forms.Platform.WinRT/PageControl.xbf",
|
||||||
|
"lib/win81/Xamarin.Forms.Platform.WinRT/StepperControl.xbf",
|
||||||
|
"lib/win81/Xamarin.Forms.Platform.WinRT/Xamarin.Forms.Platform.WinRT.xr.xml",
|
||||||
|
"lib/win81/Xamarin.Forms.Platform.dll",
|
||||||
|
"lib/win81/Xamarin.Forms.Xaml.dll",
|
||||||
|
"lib/win81/Xamarin.Forms.Xaml.xml",
|
||||||
|
"lib/wpa81/Xamarin.Forms.Core.dll",
|
||||||
|
"lib/wpa81/Xamarin.Forms.Core.xml",
|
||||||
|
"lib/wpa81/Xamarin.Forms.Platform.WinRT.Phone.dll",
|
||||||
|
"lib/wpa81/Xamarin.Forms.Platform.WinRT.Phone.pri",
|
||||||
|
"lib/wpa81/Xamarin.Forms.Platform.WinRT.Phone/PhoneResources.xbf",
|
||||||
|
"lib/wpa81/Xamarin.Forms.Platform.WinRT.Phone/Resources.xbf",
|
||||||
|
"lib/wpa81/Xamarin.Forms.Platform.WinRT.Phone/SearchBox.xbf",
|
||||||
|
"lib/wpa81/Xamarin.Forms.Platform.WinRT.Phone/Xamarin.Forms.Platform.WinRT.Phone.xr.xml",
|
||||||
|
"lib/wpa81/Xamarin.Forms.Platform.WinRT.dll",
|
||||||
|
"lib/wpa81/Xamarin.Forms.Platform.WinRT.pri",
|
||||||
|
"lib/wpa81/Xamarin.Forms.Platform.WinRT/FormsTextBox.xbf",
|
||||||
|
"lib/wpa81/Xamarin.Forms.Platform.WinRT/PageControl.xbf",
|
||||||
|
"lib/wpa81/Xamarin.Forms.Platform.WinRT/StepperControl.xbf",
|
||||||
|
"lib/wpa81/Xamarin.Forms.Platform.WinRT/Xamarin.Forms.Platform.WinRT.xr.xml",
|
||||||
|
"lib/wpa81/Xamarin.Forms.Platform.dll",
|
||||||
|
"lib/wpa81/Xamarin.Forms.Xaml.dll",
|
||||||
|
"lib/wpa81/Xamarin.Forms.Xaml.xml",
|
||||||
|
"tools/Xamarin.Forms.Core.Design.dll",
|
||||||
|
"tools/Xamarin.Forms.Xaml.Design.dll",
|
||||||
|
"tools/init.ps1"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"projectFileDependencyGroups": {
|
||||||
|
"": [
|
||||||
|
"Xamarin.Forms >= 2.0.0.6482"
|
||||||
|
],
|
||||||
|
"UAP,Version=v10.0": []
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,7 @@
|
|||||||
|
<Application
|
||||||
|
x:Class="App2.Windows.App"
|
||||||
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
|
xmlns:local="using:App2.Windows">
|
||||||
|
|
||||||
|
</Application>
|
||||||
|
After Width: | Height: | Size: 801 B |
|
After Width: | Height: | Size: 329 B |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 429 B |
@ -0,0 +1,14 @@
|
|||||||
|
<forms:WindowsPage
|
||||||
|
x:Class="App2.Windows.MainPage"
|
||||||
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
|
xmlns:forms="using:Xamarin.Forms.Platform.WinRT"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
|
xmlns:local="using:App2.Windows"
|
||||||
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
|
mc:Ignorable="d">
|
||||||
|
|
||||||
|
<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
|
||||||
|
|
||||||
|
</Grid>
|
||||||
|
</forms:WindowsPage>
|
||||||
@ -0,0 +1,41 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Package xmlns="http://schemas.microsoft.com/appx/2010/manifest" xmlns:m2="http://schemas.microsoft.com/appx/2013/manifest">
|
||||||
|
|
||||||
|
<Identity Name="8b3b7133-503f-4de2-8290-e4cfaff984b7"
|
||||||
|
Publisher="CN=paul"
|
||||||
|
Version="1.0.0.0" />
|
||||||
|
|
||||||
|
<Properties>
|
||||||
|
<DisplayName>App2.Windows</DisplayName>
|
||||||
|
<PublisherDisplayName>paul</PublisherDisplayName>
|
||||||
|
<Logo>Assets\StoreLogo.png</Logo>
|
||||||
|
</Properties>
|
||||||
|
|
||||||
|
<Prerequisites>
|
||||||
|
<OSMinVersion>6.3.0</OSMinVersion>
|
||||||
|
<OSMaxVersionTested>6.3.0</OSMaxVersionTested>
|
||||||
|
</Prerequisites>
|
||||||
|
|
||||||
|
<Resources>
|
||||||
|
<Resource Language="x-generate"/>
|
||||||
|
</Resources>
|
||||||
|
|
||||||
|
<Applications>
|
||||||
|
<Application Id="App"
|
||||||
|
Executable="$targetnametoken$.exe"
|
||||||
|
EntryPoint="App2.Windows.App">
|
||||||
|
<m2:VisualElements
|
||||||
|
DisplayName="App2.Windows"
|
||||||
|
Square150x150Logo="Assets\Logo.png"
|
||||||
|
Square30x30Logo="Assets\SmallLogo.png"
|
||||||
|
Description="App2.Windows"
|
||||||
|
ForegroundText="light"
|
||||||
|
BackgroundColor="#464646">
|
||||||
|
<m2:SplashScreen Image="Assets\SplashScreen.png" />
|
||||||
|
</m2:VisualElements>
|
||||||
|
</Application>
|
||||||
|
</Applications>
|
||||||
|
<Capabilities>
|
||||||
|
<Capability Name="internetClient" />
|
||||||
|
</Capabilities>
|
||||||
|
</Package>
|
||||||
@ -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>MinimumOSVersion</key>
|
||||||
|
<string>6.0</string>
|
||||||
|
<key>CFBundleDisplayName</key>
|
||||||
|
<string>App2</string>
|
||||||
|
<key>CFBundleIdentifier</key>
|
||||||
|
<string>com.yourcompany.App2</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>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
||||||
|
After Width: | Height: | Size: 8.7 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 34 KiB |
|
After Width: | Height: | Size: 7.1 KiB |
|
After Width: | Height: | Size: 8.2 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 729 B |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 955 B |
|
After Width: | Height: | Size: 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>
|
||||||
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 20 KiB |
@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<packages>
|
||||||
|
<package id="Xamarin.Forms" version="2.0.0.6482" targetFramework="xamarinios10" />
|
||||||
|
</packages>
|
||||||
@ -0,0 +1,44 @@
|
|||||||
|
<?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="BookAStar.App" >
|
||||||
|
<Application.Resources>
|
||||||
|
<ResourceDictionary>
|
||||||
|
<OnPlatform x:TypeArguments="Font" Android="Large" iOS="Large" WinPhone="Large" x:Key="HeaderFont" />
|
||||||
|
<OnPlatform x:TypeArguments="Color" Android="White" iOS="White" WinPhone="White" x:Key="PrimaryTextColor" />
|
||||||
|
<OnPlatform x:TypeArguments="Font" Android="40" iOS="60" WinPhone="60" x:Key="LargeFontSize" />
|
||||||
|
<OnPlatform x:TypeArguments="Font" Android="30" iOS="60" WinPhone="60" x:Key="MediumFontSize" />
|
||||||
|
|
||||||
|
<Color x:key="backgroundColor">#30FAFAFA</Color>
|
||||||
|
<Color x:key="textColor">#FF103010</Color>
|
||||||
|
<Color x:key="labelColor">#FF303010</Color>
|
||||||
|
<Style x:Key="labelStyle" TargetType="Label">
|
||||||
|
<Setter Property="TextColor" Value="{DynamicResource labelColor}" />
|
||||||
|
<Setter Property="FontAttributes" Value="Bold" />
|
||||||
|
<Setter Property="FontSize" Value="Large" />
|
||||||
|
<Setter Property="VerticalOptions" Value="Start" />
|
||||||
|
<Setter Property="XAlign" Value="Center" />
|
||||||
|
</Style>
|
||||||
|
<Style x:Key="entryStyle" TargetType="Entry">
|
||||||
|
<Setter Property="HorizontalOptions" Value="FillAndExpand"/>
|
||||||
|
</Style>
|
||||||
|
<Style x:key="backbroundStyle" TargetType="VisualElement">
|
||||||
|
<Setter Property="BackgoundColor" Value="{DynamicResource backgroundColor}" />
|
||||||
|
</Style>
|
||||||
|
<Style x:Key="buttonStyle" TargetType="Button">
|
||||||
|
<Setter Property="HorizontalOptions" Value="Center" />
|
||||||
|
<Setter Property="VerticalOptions" Value="CenterAndExpand" />
|
||||||
|
<Setter Property="BorderColor" Value="Lime" />
|
||||||
|
<Setter Property="BorderRadius" Value="5" />
|
||||||
|
<Setter Property="BorderWidth" Value="5" />
|
||||||
|
<Setter Property="WidthRequest" Value="200" />
|
||||||
|
<Setter Property="TextColor" Value="Teal" />
|
||||||
|
</Style>
|
||||||
|
<Style TargetType="Label">
|
||||||
|
<Setter Property="FontSize" Value="Large" />
|
||||||
|
<Setter Property="FontAttributes" Value="Bold" />
|
||||||
|
</Style>
|
||||||
|
</ResourceDictionary>
|
||||||
|
</Application.Resources>
|
||||||
|
|
||||||
|
</Application>
|
||||||