Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

Commit a19fd5e

Browse files
committed
Added empty project
1 parent f951368 commit a19fd5e

File tree

16 files changed

+618
-0
lines changed

16 files changed

+618
-0
lines changed

.gitignore

Lines changed: 267 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,267 @@
1+
2+
# Created by https://www.gitignore.io/api/is,visualstudio,xamarinstudio,windows
3+
4+
#!! ERROR: is is undefined. Use list command to see defined gitignore types !!#
5+
6+
### VisualStudio ###
7+
## Ignore Visual Studio temporary files, build results, and
8+
## files generated by popular Visual Studio add-ons.
9+
10+
# User-specific files
11+
*.suo
12+
*.user
13+
*.userosscache
14+
*.sln.docstates
15+
16+
# User-specific files (MonoDevelop/Xamarin Studio)
17+
*.userprefs
18+
19+
# Build results
20+
[Dd]ebug/
21+
[Dd]ebugPublic/
22+
[Rr]elease/
23+
[Rr]eleases/
24+
x64/
25+
x86/
26+
build/
27+
bld/
28+
[Bb]in/
29+
[Oo]bj/
30+
31+
# Visual Studio 2015 cache/options directory
32+
.vs/
33+
# Uncomment if you have tasks that create the project's static files in wwwroot
34+
#wwwroot/
35+
36+
# MSTest test Results
37+
[Tt]est[Rr]esult*/
38+
[Bb]uild[Ll]og.*
39+
40+
# NUNIT
41+
*.VisualState.xml
42+
TestResult.xml
43+
44+
# Build Results of an ATL Project
45+
[Dd]ebugPS/
46+
[Rr]eleasePS/
47+
dlldata.c
48+
49+
# DNX
50+
project.lock.json
51+
artifacts/
52+
53+
*_i.c
54+
*_p.c
55+
*_i.h
56+
*.ilk
57+
*.meta
58+
*.obj
59+
*.pch
60+
*.pdb
61+
*.pgc
62+
*.pgd
63+
*.rsp
64+
*.sbr
65+
*.tlb
66+
*.tli
67+
*.tlh
68+
*.tmp
69+
*.tmp_proj
70+
*.log
71+
*.vspscc
72+
*.vssscc
73+
.builds
74+
*.pidb
75+
*.svclog
76+
*.scc
77+
78+
# Chutzpah Test files
79+
_Chutzpah*
80+
81+
# Visual C++ cache files
82+
ipch/
83+
*.aps
84+
*.ncb
85+
*.opendb
86+
*.opensdf
87+
*.sdf
88+
*.cachefile
89+
90+
# Visual Studio profiler
91+
*.psess
92+
*.vsp
93+
*.vspx
94+
*.sap
95+
96+
# TFS 2012 Local Workspace
97+
$tf/
98+
99+
# Guidance Automation Toolkit
100+
*.gpState
101+
102+
# ReSharper is a .NET coding add-in
103+
_ReSharper*/
104+
*.[Rr]e[Ss]harper
105+
*.DotSettings.user
106+
107+
# JustCode is a .NET coding add-in
108+
.JustCode
109+
110+
# TeamCity is a build add-in
111+
_TeamCity*
112+
113+
# DotCover is a Code Coverage Tool
114+
*.dotCover
115+
116+
# NCrunch
117+
_NCrunch_*
118+
.*crunch*.local.xml
119+
nCrunchTemp_*
120+
121+
# MightyMoose
122+
*.mm.*
123+
AutoTest.Net/
124+
125+
# Web workbench (sass)
126+
.sass-cache/
127+
128+
# Installshield output folder
129+
[Ee]xpress/
130+
131+
# DocProject is a documentation generator add-in
132+
DocProject/buildhelp/
133+
DocProject/Help/*.HxT
134+
DocProject/Help/*.HxC
135+
DocProject/Help/*.hhc
136+
DocProject/Help/*.hhk
137+
DocProject/Help/*.hhp
138+
DocProject/Help/Html2
139+
DocProject/Help/html
140+
141+
# Click-Once directory
142+
publish/
143+
144+
# Publish Web Output
145+
*.[Pp]ublish.xml
146+
*.azurePubxml
147+
# TODO: Comment the next line if you want to checkin your web deploy settings
148+
# but database connection strings (with potential passwords) will be unencrypted
149+
*.pubxml
150+
*.publishproj
151+
152+
# NuGet Packages
153+
*.nupkg
154+
# The packages folder can be ignored because of Package Restore
155+
**/packages/*
156+
# except build/, which is used as an MSBuild target.
157+
!**/packages/build/
158+
# Uncomment if necessary however generally it will be regenerated when needed
159+
#!**/packages/repositories.config
160+
161+
# Microsoft Azure Build Output
162+
csx/
163+
*.build.csdef
164+
165+
# Microsoft Azure Emulator
166+
ecf/
167+
rcf/
168+
169+
# Microsoft Azure ApplicationInsights config file
170+
ApplicationInsights.config
171+
172+
# Windows Store app package directory
173+
AppPackages/
174+
BundleArtifacts/
175+
176+
# Visual Studio cache files
177+
# files ending in .cache can be ignored
178+
*.[Cc]ache
179+
# but keep track of directories ending in .cache
180+
!*.[Cc]ache/
181+
182+
# Others
183+
ClientBin/
184+
~$*
185+
*~
186+
*.dbmdl
187+
*.dbproj.schemaview
188+
*.pfx
189+
*.publishsettings
190+
node_modules/
191+
orleans.codegen.cs
192+
193+
# RIA/Silverlight projects
194+
Generated_Code/
195+
196+
# Backup & report files from converting an old project file
197+
# to a newer Visual Studio version. Backup files are not needed,
198+
# because we have git ;-)
199+
_UpgradeReport_Files/
200+
Backup*/
201+
UpgradeLog*.XML
202+
UpgradeLog*.htm
203+
204+
# SQL Server files
205+
*.mdf
206+
*.ldf
207+
208+
# Business Intelligence projects
209+
*.rdl.data
210+
*.bim.layout
211+
*.bim_*.settings
212+
213+
# Microsoft Fakes
214+
FakesAssemblies/
215+
216+
# GhostDoc plugin setting file
217+
*.GhostDoc.xml
218+
219+
# Node.js Tools for Visual Studio
220+
.ntvs_analysis.dat
221+
222+
# Visual Studio 6 build log
223+
*.plg
224+
225+
# Visual Studio 6 workspace options file
226+
*.opt
227+
228+
# Visual Studio LightSwitch build output
229+
**/*.HTMLClient/GeneratedArtifacts
230+
**/*.DesktopClient/GeneratedArtifacts
231+
**/*.DesktopClient/ModelManifest.xml
232+
**/*.Server/GeneratedArtifacts
233+
**/*.Server/ModelManifest.xml
234+
_Pvt_Extensions
235+
236+
# Paket dependency manager
237+
.paket/paket.exe
238+
239+
# FAKE - F# Make
240+
.fake/
241+
242+
243+
### XamarinStudio ###
244+
bin/
245+
obj/
246+
*.userprefs
247+
248+
249+
### Windows ###
250+
# Windows image file caches
251+
Thumbs.db
252+
ehthumbs.db
253+
254+
# Folder config file
255+
Desktop.ini
256+
257+
# Recycle Bin used on file shares
258+
$RECYCLE.BIN/
259+
260+
# Windows Installer files
261+
*.cab
262+
*.msi
263+
*.msm
264+
*.msp
265+
266+
# Windows shortcuts
267+
*.lnk
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 2012
4+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PeriodicBackgroundService", "PeriodicBackgroundService\PeriodicBackgroundService.csproj", "{028864C1-BC49-4A75-8B80-C0D01F7F9826}"
5+
EndProject
6+
Global
7+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
8+
Debug|Any CPU = Debug|Any CPU
9+
Release|Any CPU = Release|Any CPU
10+
EndGlobalSection
11+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
12+
{028864C1-BC49-4A75-8B80-C0D01F7F9826}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
13+
{028864C1-BC49-4A75-8B80-C0D01F7F9826}.Debug|Any CPU.Build.0 = Debug|Any CPU
14+
{028864C1-BC49-4A75-8B80-C0D01F7F9826}.Release|Any CPU.ActiveCfg = Release|Any CPU
15+
{028864C1-BC49-4A75-8B80-C0D01F7F9826}.Release|Any CPU.Build.0 = Release|Any CPU
16+
EndGlobalSection
17+
EndGlobal
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Any raw assets you want to be deployed with your application can be placed in
2+
this directory (and child directories) and given a Build Action of "AndroidAsset".
3+
4+
These files will be deployed with your package and will be accessible using Android's
5+
AssetManager, like this:
6+
7+
public class ReadAsset : Activity
8+
{
9+
protected override void OnCreate (Bundle bundle)
10+
{
11+
base.OnCreate (bundle);
12+
13+
InputStream input = Assets.Open ("my_asset.txt");
14+
}
15+
}
16+
17+
Additionally, some Android functions will automatically load asset files:
18+
19+
Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf");
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
using Android.App;
2+
using Android.Widget;
3+
using Android.OS;
4+
using Android.Content;
5+
6+
namespace PeriodicBackgroundService
7+
{
8+
[Activity(Label = "PeriodicBackgroundService", MainLauncher = true, Icon = "@mipmap/icon")]
9+
public class MainActivity : Activity
10+
{
11+
int count = 1;
12+
13+
protected override void OnCreate(Bundle savedInstanceState)
14+
{
15+
base.OnCreate(savedInstanceState);
16+
17+
// Set our view from the "main" layout resource
18+
SetContentView(Resource.Layout.Main);
19+
20+
// Get our button from the layout resource,
21+
// and attach an event to it
22+
Button button = FindViewById<Button>(Resource.Id.myButton);
23+
24+
button.Click += delegate
25+
{
26+
button.Text = string.Format("{0} clicks!", count++);
27+
};
28+
29+
}
30+
}
31+
}
32+
33+

0 commit comments

Comments
 (0)