packaging
This commit is contained in:
parent
caa9e1a6fa
commit
f0c9fb441d
49 changed files with 2855 additions and 1724 deletions
38
ZicMoove/ZicMoove.Droid/Helpers/GeofenceService.txt
Normal file
38
ZicMoove/ZicMoove.Droid/Helpers/GeofenceService.txt
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
using Android.App;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ZicMoove.Droid.Helpers
|
||||
{
|
||||
[Service]
|
||||
public class GeofenceService : Service
|
||||
{
|
||||
public override void OnCreate()
|
||||
{
|
||||
base.OnCreate();
|
||||
|
||||
System.Diagnostics.Debug.WriteLine("Geofence Service - Created");
|
||||
}
|
||||
|
||||
public override StartCommandResult OnStartCommand(Android.Content.Intent intent, StartCommandFlags flags, int startId)
|
||||
{
|
||||
System.Diagnostics.Debug.WriteLine("Geofence Service - Started");
|
||||
return StartCommandResult.Sticky;
|
||||
}
|
||||
|
||||
public override Android.OS.IBinder OnBind(Android.Content.Intent intent)
|
||||
{
|
||||
System.Diagnostics.Debug.WriteLine("Geofence Service - Binded");
|
||||
return null;
|
||||
}
|
||||
|
||||
public override void OnDestroy()
|
||||
{
|
||||
System.Diagnostics.Debug.WriteLine("Geofence Service - Destroyed");
|
||||
base.OnDestroy();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue