mirror of
https://gitlab.com/fabinfra/fabaccess/borepin.git
synced 2025-06-11 02:53:23 +02:00
Start with NFCService
This commit is contained in:
@ -82,6 +82,7 @@
|
||||
<Compile Include="Services\APIService_New.cs" />
|
||||
<Compile Include="Services\APIServiceConnection.cs" />
|
||||
<Compile Include="Services\BrowserService.cs" />
|
||||
<Compile Include="Services\NFCService.cs" />
|
||||
<Compile Include="Services\PreferenceStorageService.cs" />
|
||||
<Compile Include="Services\SecretStorage.cs" />
|
||||
<Compile Include="Services\VersioningService.cs" />
|
||||
@ -93,6 +94,10 @@
|
||||
<None Include="Properties\AndroidManifest.xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\external\NFC\NFC\NFC.csproj">
|
||||
<Project>{D53A98E8-48B5-4DCE-A98E-4623EE746E16}</Project>
|
||||
<Name>NFC</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\FabAccessAPI\FabAccessAPI.csproj">
|
||||
<Project>{3251FCE9-FEA3-4662-8BEB-636BE6732D48}</Project>
|
||||
<Name>FabAccessAPI</Name>
|
||||
|
@ -1,6 +1,7 @@
|
||||
using Borepin.Droid.Services;
|
||||
using Borepin.Service;
|
||||
using Borepin.Service.Browser;
|
||||
using Borepin.Service.NFC;
|
||||
using Borepin.Service.Storage;
|
||||
using Borepin.Service.Versioning;
|
||||
using Prism;
|
||||
@ -16,6 +17,7 @@ namespace Borepin.Droid
|
||||
containerRegistry.Register<ISecretStorageService, SecretStorage>();
|
||||
containerRegistry.Register<IVersioningService, VersioningService>();
|
||||
containerRegistry.Register<IBrowserService, BrowserService>();
|
||||
containerRegistry.Register<INFCService, NFCService>();
|
||||
|
||||
containerRegistry.RegisterSingleton<IAPIService, APIService>();
|
||||
}
|
||||
|
33
Borepin/Borepin.Android/Services/NFCService.cs
Normal file
33
Borepin/Borepin.Android/Services/NFCService.cs
Normal file
@ -0,0 +1,33 @@
|
||||
using Android.App;
|
||||
using Android.Content;
|
||||
using Android.OS;
|
||||
using Android.Runtime;
|
||||
using Android.Views;
|
||||
using Android.Widget;
|
||||
using Borepin.Service.NFC;
|
||||
using NFC.Interfaces;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace Borepin.Droid.Services
|
||||
{
|
||||
public class NFCService : INFCService
|
||||
{
|
||||
public ICard GetCard()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public IHardware GetHardware()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public IReader GetReader()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user