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
[Activity(Label = "Cronometro", MainLauncher = true)] | |
public class MainActivity : Activity | |
{ | |
Receiver1 receiver; | |
protected override void OnCreate(Bundle savedInstanceState) | |
{ | |
base.OnCreate(savedInstanceState); | |
// Set our view from the "main" layout resource | |
SetContentView(Resource.Layout.Main); |
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" | |
xmlns:prism="clr-namespace:Prism.Mvvm;assembly=Prism.Forms" | |
xmlns:forms="clr-namespace:ZXing.Net.Mobile.Forms;assembly=ZXing.Net.Mobile.Forms" | |
x:Class="QrCodeSample.Views.VerificaQrCode"> | |
<Grid HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand"> | |
<forms:ZXingScannerView IsScanning="{Binding IsScanning}" IsAnalyzing="{Binding IsAnalyzing}" Result="{Binding Result, Mode=TwoWay}" ScanResultCommand="{Binding QRScanResultCommand}"></forms:ZXingScannerView> | |
<forms:ZXingDefaultOverlay TopText="QCLUB - Leitor QrCode" BottomText="Passe o leitor sobre o QrCode" ShowFlashButton="False" Opacity="0.9"></forms:ZXingDefaultOverlay> | |
</Grid> |
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
//ESSA É A CONTROLLER DA API QUE RECEBE OS DADOS (ASPNET CORE) | |
[Produces("application/json")] | |
[Route("api/cupons/[action]")] | |
public class CuponsController : Controller | |
{ | |
private readonly CupomDAO _cupomDao; | |
private readonly ClienteDAO _clienteDao; |
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
public class MaskMoney : Behavior<Entry> | |
{ | |
protected override void OnAttachedTo(Entry bindable) | |
{ | |
bindable.TextChanged += onTextChanged; | |
base.OnAttachedTo(bindable); | |
} | |
protected override void OnDetachingFrom(Entry bindable) |
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.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace Cliente.Models.Entities | |
{ | |
public class Orcamento | |
{ |
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" | |
xmlns:prism="clr-namespace:Prism.Mvvm;assembly=Prism.Forms" | |
x:Class="Cliente.Views.Orcamento.OrcamentoEmpresas" | |
Title="Enviar para..."> | |
<ListView | |
x:Name="ListCompanies" | |
CachingStrategy="RecycleElement" | |
ItemsSource="{Binding ListCompanies}" |
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 SQLite; | |
namespace NOME_SOLUCAO.SQLite | |
{ | |
//PCL | |
public interface ISQLiteConf | |
{ | |
SQLiteConnection GetConnection(); | |
string DiretorioDB { get; } | |
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"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:installLocation="preferExternal" package="PACKAGE_NAME" android:versionCode="1" android:versionName="1.0"> | |
<uses-sdk android:minSdkVersion="19" /> | |
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" /> | |
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> | |
<uses-permission android:name="android.permission.INTERNET" /> | |
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> | |
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> | |
<uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" /> | |
<uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION" /> |
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
<!-- | |
Generated template for the AtendidasPage page. | |
See http://ionicframework.com/docs/components/#navigation for more info on | |
Ionic pages and navigation. | |
--> | |
<ion-header> | |
<ion-navbar> | |
<button ion-button menuToggle showWhen="android"> | |
<ion-icon name="menu"></ion-icon> |
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
<ScrollView> | |
<Grid RowSpacing="0" ColumnSpacing="0" > | |
<Grid.RowDefinitions> | |
<RowDefinition Height="*"/> | |
<RowDefinition Height="Auto" /> | |
</Grid.RowDefinitions> | |
<ListView | |
x:Name="MessagesListView" | |
ItemTemplate="{StaticResource MessageTemplateSelector}" |
OlderNewer