Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
66 changed files
with
619 additions
and
26 deletions.
There are no files selected for viewing
BIN
+9.5 KB
(100%)
.vs/UEngage/v16/.suo
Binary file not shown.
BIN
+0 Bytes
(100%)
UEngage.Android/bin/Debug/UEngage.Android.dll
Binary file not shown.
BIN
+0 Bytes
(100%)
UEngage.Android/bin/Debug/UEngage.Android.pdb
Binary file not shown.
BIN
+3 KB
(110%)
UEngage.Android/bin/Debug/UEngage.dll
Binary file not shown.
BIN
+1.42 KB
(110%)
UEngage.Android/bin/Debug/UEngage.pdb
Binary file not shown.
BIN
+0 Bytes
(100%)
UEngage.Android/bin/Debug/com.companyname.uengage-Signed.apk
Binary file not shown.
BIN
+665 Bytes
(120%)
UEngage.Android/obj/Debug/90/UEngage.Android.csprojAssemblyReference.cache
Binary file not shown.
BIN
+0 Bytes
(100%)
UEngage.Android/obj/Debug/90/UEngage.Android.dll
Binary file not shown.
BIN
+0 Bytes
(100%)
UEngage.Android/obj/Debug/90/UEngage.Android.pdb
Binary file not shown.
Empty file.
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
BIN
+0 Bytes
(100%)
UEngage.Android/obj/Debug/90/android/assets/UEngage.Android.dll
Binary file not shown.
BIN
+0 Bytes
(100%)
UEngage.Android/obj/Debug/90/android/assets/UEngage.Android.pdb
Binary file not shown.
BIN
+3 KB
(110%)
UEngage.Android/obj/Debug/90/android/assets/UEngage.dll
Binary file not shown.
BIN
+1.42 KB
(110%)
UEngage.Android/obj/Debug/90/android/assets/UEngage.pdb
Binary file not shown.
BIN
+0 Bytes
(100%)
UEngage.Android/obj/Debug/90/android/bin/classes.zip
Binary file not shown.
BIN
-109 Bytes
(100%)
UEngage.Android/obj/Debug/90/android/bin/com.companyname.uengage.apk
Binary file not shown.
BIN
+0 Bytes
(100%)
UEngage.Android/obj/Debug/90/android/environment.arm64-v8a.o
Binary file not shown.
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
BIN
+0 Bytes
(100%)
UEngage.Android/obj/Debug/90/android/environment.armeabi-v7a.o
Binary file not shown.
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
BIN
+0 Bytes
(100%)
UEngage.Android/obj/Debug/90/android/environment.x86.o
Binary file not shown.
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
BIN
+0 Bytes
(100%)
UEngage.Android/obj/Debug/90/android/environment.x86_64.o
Binary file not shown.
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
BIN
+0 Bytes
(100%)
UEngage.Android/obj/Debug/90/app_shared_libraries/arm64-v8a/libxamarin-app.so
Binary file not shown.
BIN
+0 Bytes
(100%)
UEngage.Android/obj/Debug/90/app_shared_libraries/armeabi-v7a/libxamarin-app.so
Binary file not shown.
BIN
+0 Bytes
(100%)
UEngage.Android/obj/Debug/90/app_shared_libraries/x86/libxamarin-app.so
Binary file not shown.
BIN
+0 Bytes
(100%)
UEngage.Android/obj/Debug/90/app_shared_libraries/x86_64/libxamarin-app.so
Binary file not shown.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
cb601afe-2bf4-4ee3-8385-10f61254a217 | ||
f2ff23dd-f30f-42d0-9747-4001ecd255f1 |
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
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
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
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
BIN
+10 KB
(140%)
UEngage.iOS/bin/iPhone/Debug/UEngage.dll
Binary file not shown.
BIN
+0 Bytes
(100%)
UEngage.iOS/bin/iPhone/Debug/UEngage.iOS.exe
Binary file not shown.
BIN
+0 Bytes
(100%)
UEngage.iOS/bin/iPhone/Debug/UEngage.iOS.exe.mdb
Binary file not shown.
BIN
+0 Bytes
(100%)
UEngage.iOS/bin/iPhone/Debug/UEngage.iOS.pdb
Binary file not shown.
BIN
+1.8 KB
(120%)
UEngage.iOS/bin/iPhone/Debug/UEngage.pdb
Binary file not shown.
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
Binary file not shown.
BIN
+0 Bytes
(100%)
UEngage.iOS/obj/iPhone/Debug/UEngage.iOS.exe
Binary file not shown.
BIN
+0 Bytes
(100%)
UEngage.iOS/obj/iPhone/Debug/UEngage.iOS.pdb
Binary file not shown.
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
using System.Collections.Generic; | ||
using System.Threading.Tasks; | ||
using SQLite; | ||
using UEngage.Models; | ||
|
||
namespace UEngage.Data | ||
{ | ||
public class ReportDatabase | ||
{ | ||
readonly SQLiteAsyncConnection _database; | ||
|
||
public ReportDatabase(string dbPath) | ||
{ | ||
_database = new SQLiteAsyncConnection(dbPath); | ||
_database.CreateTableAsync<Report_>().Wait(); | ||
} | ||
|
||
public Task<List<Report_>> GetReportsAsync() | ||
{ | ||
return _database.Table<Report_>().ToListAsync(); | ||
} | ||
|
||
public Task<Report_> GetReportAsync(int id) | ||
{ | ||
return _database.Table<Report_>() | ||
.Where(i => i.ID == id) | ||
.FirstOrDefaultAsync(); | ||
} | ||
|
||
public Task<int> SaveReportAsync(Report_ report) | ||
{ | ||
if (report.ID != 0) | ||
{ | ||
return _database.UpdateAsync(report); | ||
} | ||
else | ||
{ | ||
return _database.InsertAsync(report); | ||
} | ||
} | ||
|
||
public Task<int> DeleteReportAsync(Report report) | ||
{ | ||
return _database.DeleteAsync(report); | ||
} | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
using System.Collections.Generic; | ||
using System.Threading.Tasks; | ||
using SQLite; | ||
using UEngage.Models; | ||
|
||
namespace UEngage.Data | ||
{ | ||
public class UserDatabase | ||
{ | ||
readonly SQLiteAsyncConnection _database; | ||
|
||
public UserDatabase(string dbPath) | ||
{ | ||
_database = new SQLiteAsyncConnection(dbPath); | ||
_database.CreateTableAsync<User_>().Wait(); | ||
} | ||
|
||
public Task<List<User_>> GetaUsersAsync() | ||
{ | ||
return _database.Table<User_>().ToListAsync(); | ||
} | ||
|
||
public Task<User_> GetUserAsync(int id) | ||
{ | ||
return _database.Table<User_>() | ||
.Where(i => i.ID == id) | ||
.FirstOrDefaultAsync(); | ||
} | ||
|
||
public Task<int> SaveUserAsync(User_ user) | ||
{ | ||
if (user.ID != 0) | ||
{ | ||
return _database.UpdateAsync(user); | ||
} | ||
else | ||
{ | ||
return _database.InsertAsync(user); | ||
} | ||
} | ||
|
||
public Task<int> DeleteUserAsync(User_ user) | ||
{ | ||
return _database.DeleteAsync(user); | ||
} | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,18 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
using SQLite; | ||
|
||
namespace UEngage.Models | ||
{ | ||
public class Report | ||
public class Report_ | ||
{ | ||
public int ID { get; set; } | ||
[PrimaryKey, AutoIncrement] | ||
public int ID { get; set; } | ||
public string Username { get; set; } | ||
public string ImageUrl { get; set; } | ||
public string Coordinate { get; set; } | ||
public string Description { get; set; } | ||
public DateTime Date { get; set; } | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
using SQLite; | ||
|
||
namespace UEngage.Models | ||
{ | ||
public class User_ | ||
{ | ||
[PrimaryKey, AutoIncrement] | ||
public int ID { get; set; } | ||
public string Firstname { get; set; } | ||
public string Lastname { get; set; } | ||
public string Username { get; set; } | ||
public string Password { get; set; } | ||
public string Postcode { get; set; } | ||
|
||
} | ||
} |
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
Oops, something went wrong.