This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Net.Http; | |
using System.Threading.Tasks; | |
using System.IO; | |
using System.Threading; | |
using Newtonsoft.Json; | |
using HoraLocal.Helpers; | |
namespace HoraLocal.Servicios | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using Xamarin.Forms; | |
using Xamarin.Forms.Xaml; | |
using HoraLocal.Servicios; | |
namespace HoraLocal.Paginas | |
{ | |
[XamlCompilation(XamlCompilationOptions.Compile)] | |
public partial class PaginaHoraLocal : ContentPage | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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="HoraLocal.Paginas.PaginaHoraLocal"> | |
<ContentPage.Content> | |
<StackLayout BackgroundColor="White" Padding="10"> | |
<Label Text="Hora Local" TextColor="Blue" FontSize="Large"/> | |
<ActivityIndicator x:Name="indicator" Color="Green" VerticalOptions="Center" HorizontalOptions="Center"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using Android.App; | |
using Android.OS; | |
using Android.Runtime; | |
using Plugin.CurrentActivity; | |
namespace FaceLoginApp.Droid | |
{ | |
#if DEBUG |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using Android.App; | |
using Android.Content.PM; | |
using Android.Runtime; | |
using Android.Views; | |
using Android.Widget; | |
using Android.OS; | |
namespace FaceLoginApp.Droid |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<paths xmlns:android="http://schemas.android.com/apk/res/android"> | |
<external-path name="my_images" path="Pictures" /> | |
<external-path name="my_movies" path="Movies" /> | |
</paths> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.IO; | |
using Xamarin.Forms; | |
using FaceLoginApp.Droid.Datos; | |
using FaceLoginApp.Datos; | |
using FaceLoginApp.Helpers; | |
[assembly: Dependency(typeof(BaseDatosAndroid))] | |
namespace FaceLoginApp.Droid.Datos | |
{ | |
public class BaseDatosAndroid : IBaseDatos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Xamarin.Forms; | |
namespace FaceLoginApp | |
{ | |
public partial class App : Application | |
{ | |
public App () | |
{ | |
InitializeComponent(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Threading.Tasks; | |
using Plugin.Media; | |
using Plugin.Media.Abstractions; | |
namespace FaceLoginApp.Servicios | |
{ | |
public static class ServicioImagen | |
{ | |
public static async Task<MediaFile> TomarFoto() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Plugin.Media.Abstractions; | |
using Microsoft.ProjectOxford.Face; | |
using Microsoft.ProjectOxford.Face.Contract; | |
using FaceLoginApp.Helpers; | |
using FaceLoginApp.Modelos; |