diff --git a/UI/SQLiteSample/README.md b/UI/SQLiteSample/README.md new file mode 100644 index 00000000..69a69a62 --- /dev/null +++ b/UI/SQLiteSample/README.md @@ -0,0 +1,5 @@ +# Sqlite database for WebAssembly + +This is a simple standalone app demonstrating the use of SQLite in an Uno application, including WebAssembly. It uses Erik Sink's [SQLitePCLRaw](https://github.com/ericsink/SQLitePCL.raw), and Frank Krueger's [sqlite-net](https://github.com/praeclarum/sqlite-net) libraries. + +The WebAssembly application uses the [Uno.SQLitePCLRaw.Wasm](https://github.com/unoplatform/Uno.SQLitePCLRaw.Wasm) package to provide an in-browser, client-side SQLite database. \ No newline at end of file diff --git a/UI/SQLiteSample/SQLiteSample/SQLiteSample.sln b/UI/SQLiteSample/SQLiteSample/SQLiteSample.sln new file mode 100644 index 00000000..42b870cf --- /dev/null +++ b/UI/SQLiteSample/SQLiteSample/SQLiteSample.sln @@ -0,0 +1,357 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30223.230 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "SQLiteSample.Shared", "SQLiteSample\SQLiteSample.Shared\SQLiteSample.Shared.shproj", "{6279C845-92F8-4333-AB99-3D213163593C}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SQLiteSample.Droid", "SQLiteSample\SQLiteSample.Droid\SQLiteSample.Droid.csproj", "{6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SQLiteSample.iOS", "SQLiteSample\SQLiteSample.iOS\SQLiteSample.iOS.csproj", "{A9260487-8EFC-4EB5-932C-FA033E74CA42}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SQLiteSample.UWP", "SQLiteSample\SQLiteSample.UWP\SQLiteSample.UWP.csproj", "{E51EDEA7-A863-4D3B-95B3-B55E03136B75}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SQLiteSample.Wasm", "SQLiteSample\SQLiteSample.Wasm\SQLiteSample.Wasm.csproj", "{280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SQLiteSample.macOS", "SQLiteSample\SQLiteSample.macOS\SQLiteSample.macOS.csproj", "{58882FC3-C8EA-4C11-8B79-6FF4C3807AF0}" +EndProject +Global + GlobalSection(SharedMSBuildProjectFiles) = preSolution + SQLiteSample\SQLiteSample.Shared\SQLiteSample.Shared.projitems*{280ba3c6-6bd1-4af0-bc19-6d2ffaed7e02}*SharedItemsImports = 5 + SQLiteSample\SQLiteSample.Shared\SQLiteSample.Shared.projitems*{58882fc3-c8ea-4c11-8b79-6ff4c3807af0}*SharedItemsImports = 4 + SQLiteSample\SQLiteSample.Shared\SQLiteSample.Shared.projitems*{6279c845-92f8-4333-ab99-3d213163593c}*SharedItemsImports = 13 + SQLiteSample\SQLiteSample.Shared\SQLiteSample.Shared.projitems*{6b1286f8-f19a-4bc3-b164-0ce30cac91ce}*SharedItemsImports = 4 + SQLiteSample\SQLiteSample.Shared\SQLiteSample.Shared.projitems*{a9260487-8efc-4eb5-932c-fa033e74ca42}*SharedItemsImports = 4 + SQLiteSample\SQLiteSample.Shared\SQLiteSample.Shared.projitems*{e51edea7-a863-4d3b-95b3-b55e03136b75}*SharedItemsImports = 4 + EndGlobalSection + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Ad-Hoc|Any CPU = Ad-Hoc|Any CPU + Ad-Hoc|ARM = Ad-Hoc|ARM + Ad-Hoc|ARM64 = Ad-Hoc|ARM64 + Ad-Hoc|iPhone = Ad-Hoc|iPhone + Ad-Hoc|iPhoneSimulator = Ad-Hoc|iPhoneSimulator + Ad-Hoc|x64 = Ad-Hoc|x64 + Ad-Hoc|x86 = Ad-Hoc|x86 + AppStore|Any CPU = AppStore|Any CPU + AppStore|ARM = AppStore|ARM + AppStore|ARM64 = AppStore|ARM64 + AppStore|iPhone = AppStore|iPhone + AppStore|iPhoneSimulator = AppStore|iPhoneSimulator + AppStore|x64 = AppStore|x64 + AppStore|x86 = AppStore|x86 + Debug|Any CPU = Debug|Any CPU + Debug|ARM = Debug|ARM + Debug|ARM64 = Debug|ARM64 + Debug|iPhone = Debug|iPhone + Debug|iPhoneSimulator = Debug|iPhoneSimulator + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|Any CPU = Release|Any CPU + Release|ARM = Release|ARM + Release|ARM64 = Release|ARM64 + Release|iPhone = Release|iPhone + Release|iPhoneSimulator = Release|iPhoneSimulator + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Ad-Hoc|Any CPU.ActiveCfg = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Ad-Hoc|Any CPU.Build.0 = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Ad-Hoc|Any CPU.Deploy.0 = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Ad-Hoc|ARM.ActiveCfg = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Ad-Hoc|ARM.Build.0 = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Ad-Hoc|ARM.Deploy.0 = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Ad-Hoc|ARM64.ActiveCfg = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Ad-Hoc|ARM64.Build.0 = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Ad-Hoc|ARM64.Deploy.0 = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Ad-Hoc|iPhone.ActiveCfg = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Ad-Hoc|iPhone.Build.0 = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Ad-Hoc|iPhone.Deploy.0 = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Ad-Hoc|iPhoneSimulator.Build.0 = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Ad-Hoc|iPhoneSimulator.Deploy.0 = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Ad-Hoc|x64.ActiveCfg = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Ad-Hoc|x64.Build.0 = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Ad-Hoc|x64.Deploy.0 = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Ad-Hoc|x86.ActiveCfg = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Ad-Hoc|x86.Build.0 = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Ad-Hoc|x86.Deploy.0 = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.AppStore|Any CPU.ActiveCfg = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.AppStore|Any CPU.Build.0 = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.AppStore|Any CPU.Deploy.0 = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.AppStore|ARM.ActiveCfg = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.AppStore|ARM.Build.0 = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.AppStore|ARM.Deploy.0 = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.AppStore|ARM64.ActiveCfg = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.AppStore|ARM64.Build.0 = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.AppStore|ARM64.Deploy.0 = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.AppStore|iPhone.ActiveCfg = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.AppStore|iPhone.Build.0 = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.AppStore|iPhone.Deploy.0 = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.AppStore|iPhoneSimulator.ActiveCfg = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.AppStore|iPhoneSimulator.Build.0 = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.AppStore|iPhoneSimulator.Deploy.0 = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.AppStore|x64.ActiveCfg = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.AppStore|x64.Build.0 = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.AppStore|x64.Deploy.0 = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.AppStore|x86.ActiveCfg = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.AppStore|x86.Build.0 = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.AppStore|x86.Deploy.0 = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Debug|Any CPU.Deploy.0 = Debug|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Debug|ARM.ActiveCfg = Debug|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Debug|ARM.Build.0 = Debug|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Debug|ARM.Deploy.0 = Debug|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Debug|ARM64.ActiveCfg = Debug|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Debug|ARM64.Build.0 = Debug|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Debug|ARM64.Deploy.0 = Debug|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Debug|iPhone.ActiveCfg = Debug|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Debug|iPhone.Build.0 = Debug|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Debug|iPhone.Deploy.0 = Debug|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Debug|iPhoneSimulator.Deploy.0 = Debug|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Debug|x64.ActiveCfg = Debug|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Debug|x64.Build.0 = Debug|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Debug|x64.Deploy.0 = Debug|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Debug|x86.ActiveCfg = Debug|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Debug|x86.Build.0 = Debug|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Debug|x86.Deploy.0 = Debug|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Release|Any CPU.Build.0 = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Release|Any CPU.Deploy.0 = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Release|ARM.ActiveCfg = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Release|ARM.Build.0 = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Release|ARM.Deploy.0 = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Release|ARM64.ActiveCfg = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Release|ARM64.Build.0 = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Release|ARM64.Deploy.0 = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Release|iPhone.ActiveCfg = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Release|iPhone.Build.0 = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Release|iPhone.Deploy.0 = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Release|iPhoneSimulator.Build.0 = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Release|iPhoneSimulator.Deploy.0 = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Release|x64.ActiveCfg = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Release|x64.Build.0 = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Release|x64.Deploy.0 = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Release|x86.ActiveCfg = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Release|x86.Build.0 = Release|Any CPU + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE}.Release|x86.Deploy.0 = Release|Any CPU + {A9260487-8EFC-4EB5-932C-FA033E74CA42}.Ad-Hoc|Any CPU.ActiveCfg = Ad-Hoc|iPhone + {A9260487-8EFC-4EB5-932C-FA033E74CA42}.Ad-Hoc|ARM.ActiveCfg = Ad-Hoc|iPhone + {A9260487-8EFC-4EB5-932C-FA033E74CA42}.Ad-Hoc|ARM64.ActiveCfg = Ad-Hoc|iPhone + {A9260487-8EFC-4EB5-932C-FA033E74CA42}.Ad-Hoc|iPhone.ActiveCfg = Ad-Hoc|iPhone + {A9260487-8EFC-4EB5-932C-FA033E74CA42}.Ad-Hoc|iPhone.Build.0 = Ad-Hoc|iPhone + {A9260487-8EFC-4EB5-932C-FA033E74CA42}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Ad-Hoc|iPhoneSimulator + {A9260487-8EFC-4EB5-932C-FA033E74CA42}.Ad-Hoc|iPhoneSimulator.Build.0 = Ad-Hoc|iPhoneSimulator + {A9260487-8EFC-4EB5-932C-FA033E74CA42}.Ad-Hoc|x64.ActiveCfg = Ad-Hoc|iPhone + {A9260487-8EFC-4EB5-932C-FA033E74CA42}.Ad-Hoc|x86.ActiveCfg = Ad-Hoc|iPhone + {A9260487-8EFC-4EB5-932C-FA033E74CA42}.AppStore|Any CPU.ActiveCfg = AppStore|iPhone + {A9260487-8EFC-4EB5-932C-FA033E74CA42}.AppStore|ARM.ActiveCfg = AppStore|iPhone + {A9260487-8EFC-4EB5-932C-FA033E74CA42}.AppStore|ARM64.ActiveCfg = AppStore|iPhone + {A9260487-8EFC-4EB5-932C-FA033E74CA42}.AppStore|iPhone.ActiveCfg = AppStore|iPhone + {A9260487-8EFC-4EB5-932C-FA033E74CA42}.AppStore|iPhone.Build.0 = AppStore|iPhone + {A9260487-8EFC-4EB5-932C-FA033E74CA42}.AppStore|iPhoneSimulator.ActiveCfg = AppStore|iPhoneSimulator + {A9260487-8EFC-4EB5-932C-FA033E74CA42}.AppStore|iPhoneSimulator.Build.0 = AppStore|iPhoneSimulator + {A9260487-8EFC-4EB5-932C-FA033E74CA42}.AppStore|x64.ActiveCfg = AppStore|iPhone + {A9260487-8EFC-4EB5-932C-FA033E74CA42}.AppStore|x86.ActiveCfg = AppStore|iPhone + {A9260487-8EFC-4EB5-932C-FA033E74CA42}.Debug|Any CPU.ActiveCfg = Debug|iPhone + {A9260487-8EFC-4EB5-932C-FA033E74CA42}.Debug|ARM.ActiveCfg = Debug|iPhone + {A9260487-8EFC-4EB5-932C-FA033E74CA42}.Debug|ARM64.ActiveCfg = Debug|iPhone + {A9260487-8EFC-4EB5-932C-FA033E74CA42}.Debug|iPhone.ActiveCfg = Debug|iPhone + {A9260487-8EFC-4EB5-932C-FA033E74CA42}.Debug|iPhone.Build.0 = Debug|iPhone + {A9260487-8EFC-4EB5-932C-FA033E74CA42}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator + {A9260487-8EFC-4EB5-932C-FA033E74CA42}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator + {A9260487-8EFC-4EB5-932C-FA033E74CA42}.Debug|x64.ActiveCfg = Debug|iPhone + {A9260487-8EFC-4EB5-932C-FA033E74CA42}.Debug|x86.ActiveCfg = Debug|iPhone + {A9260487-8EFC-4EB5-932C-FA033E74CA42}.Release|Any CPU.ActiveCfg = Release|iPhone + {A9260487-8EFC-4EB5-932C-FA033E74CA42}.Release|ARM.ActiveCfg = Release|iPhone + {A9260487-8EFC-4EB5-932C-FA033E74CA42}.Release|ARM64.ActiveCfg = Release|iPhone + {A9260487-8EFC-4EB5-932C-FA033E74CA42}.Release|iPhone.ActiveCfg = Release|iPhone + {A9260487-8EFC-4EB5-932C-FA033E74CA42}.Release|iPhone.Build.0 = Release|iPhone + {A9260487-8EFC-4EB5-932C-FA033E74CA42}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator + {A9260487-8EFC-4EB5-932C-FA033E74CA42}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator + {A9260487-8EFC-4EB5-932C-FA033E74CA42}.Release|x64.ActiveCfg = Release|iPhone + {A9260487-8EFC-4EB5-932C-FA033E74CA42}.Release|x86.ActiveCfg = Release|iPhone + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Ad-Hoc|Any CPU.ActiveCfg = Release|x64 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Ad-Hoc|Any CPU.Build.0 = Release|x64 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Ad-Hoc|Any CPU.Deploy.0 = Release|x64 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Ad-Hoc|ARM.ActiveCfg = Release|ARM + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Ad-Hoc|ARM.Build.0 = Release|ARM + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Ad-Hoc|ARM.Deploy.0 = Release|ARM + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Ad-Hoc|ARM64.ActiveCfg = Release|ARM64 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Ad-Hoc|ARM64.Build.0 = Release|ARM64 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Ad-Hoc|ARM64.Deploy.0 = Release|ARM64 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Ad-Hoc|iPhone.ActiveCfg = Release|x64 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Ad-Hoc|iPhone.Build.0 = Release|x64 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Ad-Hoc|iPhone.Deploy.0 = Release|x64 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Release|x64 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Ad-Hoc|iPhoneSimulator.Build.0 = Release|x64 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Ad-Hoc|iPhoneSimulator.Deploy.0 = Release|x64 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Ad-Hoc|x64.ActiveCfg = Release|x64 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Ad-Hoc|x64.Build.0 = Release|x64 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Ad-Hoc|x64.Deploy.0 = Release|x64 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Ad-Hoc|x86.ActiveCfg = Release|x86 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Ad-Hoc|x86.Build.0 = Release|x86 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Ad-Hoc|x86.Deploy.0 = Release|x86 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.AppStore|Any CPU.ActiveCfg = Release|x64 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.AppStore|Any CPU.Build.0 = Release|x64 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.AppStore|Any CPU.Deploy.0 = Release|x64 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.AppStore|ARM.ActiveCfg = Release|ARM + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.AppStore|ARM.Build.0 = Release|ARM + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.AppStore|ARM.Deploy.0 = Release|ARM + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.AppStore|ARM64.ActiveCfg = Release|ARM64 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.AppStore|ARM64.Build.0 = Release|ARM64 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.AppStore|ARM64.Deploy.0 = Release|ARM64 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.AppStore|iPhone.ActiveCfg = Release|x64 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.AppStore|iPhone.Build.0 = Release|x64 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.AppStore|iPhone.Deploy.0 = Release|x64 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.AppStore|iPhoneSimulator.ActiveCfg = Release|x64 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.AppStore|iPhoneSimulator.Build.0 = Release|x64 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.AppStore|iPhoneSimulator.Deploy.0 = Release|x64 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.AppStore|x64.ActiveCfg = Release|x64 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.AppStore|x64.Build.0 = Release|x64 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.AppStore|x64.Deploy.0 = Release|x64 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.AppStore|x86.ActiveCfg = Release|x86 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.AppStore|x86.Build.0 = Release|x86 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.AppStore|x86.Deploy.0 = Release|x86 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Debug|Any CPU.ActiveCfg = Debug|x86 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Debug|ARM.ActiveCfg = Debug|ARM + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Debug|ARM.Build.0 = Debug|ARM + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Debug|ARM.Deploy.0 = Debug|ARM + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Debug|ARM64.ActiveCfg = Debug|ARM64 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Debug|ARM64.Build.0 = Debug|ARM64 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Debug|ARM64.Deploy.0 = Debug|ARM64 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Debug|iPhone.ActiveCfg = Debug|x86 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Debug|iPhoneSimulator.ActiveCfg = Debug|x86 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Debug|x64.ActiveCfg = Debug|x64 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Debug|x64.Build.0 = Debug|x64 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Debug|x64.Deploy.0 = Debug|x64 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Debug|x86.ActiveCfg = Debug|x86 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Debug|x86.Build.0 = Debug|x86 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Debug|x86.Deploy.0 = Debug|x86 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Release|Any CPU.ActiveCfg = Release|x86 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Release|ARM.ActiveCfg = Release|ARM + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Release|ARM.Build.0 = Release|ARM + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Release|ARM.Deploy.0 = Release|ARM + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Release|ARM64.ActiveCfg = Release|ARM64 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Release|ARM64.Build.0 = Release|ARM64 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Release|ARM64.Deploy.0 = Release|ARM64 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Release|iPhone.ActiveCfg = Release|x86 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Release|iPhoneSimulator.ActiveCfg = Release|x86 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Release|x64.ActiveCfg = Release|x64 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Release|x64.Build.0 = Release|x64 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Release|x64.Deploy.0 = Release|x64 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Release|x86.ActiveCfg = Release|x86 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Release|x86.Build.0 = Release|x86 + {E51EDEA7-A863-4D3B-95B3-B55E03136B75}.Release|x86.Deploy.0 = Release|x86 + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.Ad-Hoc|Any CPU.ActiveCfg = Debug|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.Ad-Hoc|Any CPU.Build.0 = Debug|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.Ad-Hoc|ARM.ActiveCfg = Debug|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.Ad-Hoc|ARM.Build.0 = Debug|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.Ad-Hoc|ARM64.ActiveCfg = Debug|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.Ad-Hoc|ARM64.Build.0 = Debug|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.Ad-Hoc|iPhone.ActiveCfg = Debug|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.Ad-Hoc|iPhone.Build.0 = Debug|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Debug|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.Ad-Hoc|iPhoneSimulator.Build.0 = Debug|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.Ad-Hoc|x64.ActiveCfg = Debug|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.Ad-Hoc|x64.Build.0 = Debug|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.Ad-Hoc|x86.ActiveCfg = Debug|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.Ad-Hoc|x86.Build.0 = Debug|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.AppStore|Any CPU.ActiveCfg = Debug|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.AppStore|Any CPU.Build.0 = Debug|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.AppStore|ARM.ActiveCfg = Debug|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.AppStore|ARM.Build.0 = Debug|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.AppStore|ARM64.ActiveCfg = Debug|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.AppStore|ARM64.Build.0 = Debug|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.AppStore|iPhone.ActiveCfg = Debug|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.AppStore|iPhone.Build.0 = Debug|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.AppStore|iPhoneSimulator.ActiveCfg = Debug|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.AppStore|iPhoneSimulator.Build.0 = Debug|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.AppStore|x64.ActiveCfg = Debug|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.AppStore|x64.Build.0 = Debug|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.AppStore|x86.ActiveCfg = Debug|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.AppStore|x86.Build.0 = Debug|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.Debug|Any CPU.Build.0 = Debug|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.Debug|ARM.ActiveCfg = Debug|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.Debug|ARM.Build.0 = Debug|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.Debug|ARM64.ActiveCfg = Debug|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.Debug|ARM64.Build.0 = Debug|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.Debug|iPhone.ActiveCfg = Debug|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.Debug|iPhone.Build.0 = Debug|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.Debug|x64.ActiveCfg = Debug|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.Debug|x64.Build.0 = Debug|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.Debug|x86.ActiveCfg = Debug|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.Debug|x86.Build.0 = Debug|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.Release|Any CPU.ActiveCfg = Release|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.Release|Any CPU.Build.0 = Release|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.Release|ARM.ActiveCfg = Release|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.Release|ARM.Build.0 = Release|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.Release|ARM64.ActiveCfg = Release|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.Release|ARM64.Build.0 = Release|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.Release|iPhone.ActiveCfg = Release|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.Release|iPhone.Build.0 = Release|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.Release|iPhoneSimulator.Build.0 = Release|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.Release|x64.ActiveCfg = Release|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.Release|x64.Build.0 = Release|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.Release|x86.ActiveCfg = Release|Any CPU + {280BA3C6-6BD1-4AF0-BC19-6D2FFAED7E02}.Release|x86.Build.0 = Release|Any CPU + {58882FC3-C8EA-4C11-8B79-6FF4C3807AF0}.Ad-Hoc|Any CPU.ActiveCfg = Release|iPhoneSimulator + {58882FC3-C8EA-4C11-8B79-6FF4C3807AF0}.Ad-Hoc|Any CPU.Build.0 = Release|iPhoneSimulator + {58882FC3-C8EA-4C11-8B79-6FF4C3807AF0}.Ad-Hoc|ARM.ActiveCfg = Release|iPhoneSimulator + {58882FC3-C8EA-4C11-8B79-6FF4C3807AF0}.Ad-Hoc|ARM.Build.0 = Release|iPhoneSimulator + {58882FC3-C8EA-4C11-8B79-6FF4C3807AF0}.Ad-Hoc|ARM64.ActiveCfg = Release|iPhoneSimulator + {58882FC3-C8EA-4C11-8B79-6FF4C3807AF0}.Ad-Hoc|ARM64.Build.0 = Release|iPhoneSimulator + {58882FC3-C8EA-4C11-8B79-6FF4C3807AF0}.Ad-Hoc|iPhone.ActiveCfg = Release|iPhoneSimulator + {58882FC3-C8EA-4C11-8B79-6FF4C3807AF0}.Ad-Hoc|iPhone.Build.0 = Release|iPhoneSimulator + {58882FC3-C8EA-4C11-8B79-6FF4C3807AF0}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator + {58882FC3-C8EA-4C11-8B79-6FF4C3807AF0}.Ad-Hoc|iPhoneSimulator.Build.0 = Release|iPhoneSimulator + {58882FC3-C8EA-4C11-8B79-6FF4C3807AF0}.Ad-Hoc|x64.ActiveCfg = Release|iPhoneSimulator + {58882FC3-C8EA-4C11-8B79-6FF4C3807AF0}.Ad-Hoc|x64.Build.0 = Release|iPhoneSimulator + {58882FC3-C8EA-4C11-8B79-6FF4C3807AF0}.Ad-Hoc|x86.ActiveCfg = Release|iPhoneSimulator + {58882FC3-C8EA-4C11-8B79-6FF4C3807AF0}.Ad-Hoc|x86.Build.0 = Release|iPhoneSimulator + {58882FC3-C8EA-4C11-8B79-6FF4C3807AF0}.AppStore|Any CPU.ActiveCfg = Release|iPhoneSimulator + {58882FC3-C8EA-4C11-8B79-6FF4C3807AF0}.AppStore|Any CPU.Build.0 = Release|iPhoneSimulator + {58882FC3-C8EA-4C11-8B79-6FF4C3807AF0}.AppStore|ARM.ActiveCfg = Release|iPhoneSimulator + {58882FC3-C8EA-4C11-8B79-6FF4C3807AF0}.AppStore|ARM.Build.0 = Release|iPhoneSimulator + {58882FC3-C8EA-4C11-8B79-6FF4C3807AF0}.AppStore|ARM64.ActiveCfg = Release|iPhoneSimulator + {58882FC3-C8EA-4C11-8B79-6FF4C3807AF0}.AppStore|ARM64.Build.0 = Release|iPhoneSimulator + {58882FC3-C8EA-4C11-8B79-6FF4C3807AF0}.AppStore|iPhone.ActiveCfg = Release|iPhoneSimulator + {58882FC3-C8EA-4C11-8B79-6FF4C3807AF0}.AppStore|iPhone.Build.0 = Release|iPhoneSimulator + {58882FC3-C8EA-4C11-8B79-6FF4C3807AF0}.AppStore|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator + {58882FC3-C8EA-4C11-8B79-6FF4C3807AF0}.AppStore|iPhoneSimulator.Build.0 = Release|iPhoneSimulator + {58882FC3-C8EA-4C11-8B79-6FF4C3807AF0}.AppStore|x64.ActiveCfg = Release|iPhoneSimulator + {58882FC3-C8EA-4C11-8B79-6FF4C3807AF0}.AppStore|x64.Build.0 = Release|iPhoneSimulator + {58882FC3-C8EA-4C11-8B79-6FF4C3807AF0}.AppStore|x86.ActiveCfg = Release|iPhoneSimulator + {58882FC3-C8EA-4C11-8B79-6FF4C3807AF0}.AppStore|x86.Build.0 = Release|iPhoneSimulator + {58882FC3-C8EA-4C11-8B79-6FF4C3807AF0}.Debug|Any CPU.ActiveCfg = Debug|iPhoneSimulator + {58882FC3-C8EA-4C11-8B79-6FF4C3807AF0}.Debug|ARM.ActiveCfg = Debug|iPhoneSimulator + {58882FC3-C8EA-4C11-8B79-6FF4C3807AF0}.Debug|ARM64.ActiveCfg = Debug|iPhoneSimulator + {58882FC3-C8EA-4C11-8B79-6FF4C3807AF0}.Debug|iPhone.ActiveCfg = Debug|iPhoneSimulator + {58882FC3-C8EA-4C11-8B79-6FF4C3807AF0}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator + {58882FC3-C8EA-4C11-8B79-6FF4C3807AF0}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator + {58882FC3-C8EA-4C11-8B79-6FF4C3807AF0}.Debug|x64.ActiveCfg = Debug|iPhoneSimulator + {58882FC3-C8EA-4C11-8B79-6FF4C3807AF0}.Debug|x86.ActiveCfg = Debug|iPhoneSimulator + {58882FC3-C8EA-4C11-8B79-6FF4C3807AF0}.Release|Any CPU.ActiveCfg = Release|iPhoneSimulator + {58882FC3-C8EA-4C11-8B79-6FF4C3807AF0}.Release|ARM.ActiveCfg = Release|iPhoneSimulator + {58882FC3-C8EA-4C11-8B79-6FF4C3807AF0}.Release|ARM64.ActiveCfg = Release|iPhoneSimulator + {58882FC3-C8EA-4C11-8B79-6FF4C3807AF0}.Release|iPhone.ActiveCfg = Release|iPhoneSimulator + {58882FC3-C8EA-4C11-8B79-6FF4C3807AF0}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator + {58882FC3-C8EA-4C11-8B79-6FF4C3807AF0}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator + {58882FC3-C8EA-4C11-8B79-6FF4C3807AF0}.Release|x64.ActiveCfg = Release|iPhoneSimulator + {58882FC3-C8EA-4C11-8B79-6FF4C3807AF0}.Release|x86.ActiveCfg = Release|iPhoneSimulator + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {2DF5C6E2-2BF3-41DD-8323-66C083C9EAC6} + EndGlobalSection +EndGlobal diff --git a/UI/SQLiteSample/SQLiteSample/SQLiteSample/SQLiteSample.Droid/Assets/AboutAssets.txt b/UI/SQLiteSample/SQLiteSample/SQLiteSample/SQLiteSample.Droid/Assets/AboutAssets.txt new file mode 100644 index 00000000..ee398862 --- /dev/null +++ b/UI/SQLiteSample/SQLiteSample/SQLiteSample/SQLiteSample.Droid/Assets/AboutAssets.txt @@ -0,0 +1,19 @@ +Any raw assets you want to be deployed with your application can be placed in +this directory (and child directories) and given a Build Action of "AndroidAsset". + +These files will be deployed with you package and will be accessible using Android's +AssetManager, like this: + +public class ReadAsset : Activity +{ + protected override void OnCreate (Bundle bundle) + { + base.OnCreate (bundle); + + InputStream input = Assets.Open ("my_asset.txt"); + } +} + +Additionally, some Android functions will automatically load asset files: + +Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf"); \ No newline at end of file diff --git a/UI/SQLiteSample/SQLiteSample/SQLiteSample/SQLiteSample.Droid/Assets/Fonts/winjs-symbols.ttf b/UI/SQLiteSample/SQLiteSample/SQLiteSample/SQLiteSample.Droid/Assets/Fonts/winjs-symbols.ttf new file mode 100644 index 00000000..118f5c48 Binary files /dev/null and b/UI/SQLiteSample/SQLiteSample/SQLiteSample/SQLiteSample.Droid/Assets/Fonts/winjs-symbols.ttf differ diff --git a/UI/SQLiteSample/SQLiteSample/SQLiteSample/SQLiteSample.Droid/Main.cs b/UI/SQLiteSample/SQLiteSample/SQLiteSample/SQLiteSample.Droid/Main.cs new file mode 100644 index 00000000..ab7ee9a5 --- /dev/null +++ b/UI/SQLiteSample/SQLiteSample/SQLiteSample/SQLiteSample.Droid/Main.cs @@ -0,0 +1,43 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +using Android.App; +using Android.Content; +using Android.OS; +using Android.Runtime; +using Android.Views; +using Android.Widget; +using Com.Nostra13.Universalimageloader.Core; +using Windows.UI.Xaml.Media; + +namespace SQLiteSample.Droid +{ + [global::Android.App.ApplicationAttribute( + Label = "@string/ApplicationName", + LargeHeap = true, + HardwareAccelerated = true, + Theme = "@style/AppTheme" + )] + public class Application : Windows.UI.Xaml.NativeApplication + { + public Application(IntPtr javaReference, JniHandleOwnership transfer) + : base(() => new App(), javaReference, transfer) + { + ConfigureUniversalImageLoader(); + } + + private void ConfigureUniversalImageLoader() + { + // Create global configuration and initialize ImageLoader with this config + ImageLoaderConfiguration config = new ImageLoaderConfiguration + .Builder(Context) + .Build(); + + ImageLoader.Instance.Init(config); + + ImageSource.DefaultImageLoader = ImageLoader.Instance.LoadImageAsync; + } + } +} diff --git a/UI/SQLiteSample/SQLiteSample/SQLiteSample/SQLiteSample.Droid/MainActivity.cs b/UI/SQLiteSample/SQLiteSample/SQLiteSample/SQLiteSample.Droid/MainActivity.cs new file mode 100644 index 00000000..388761c7 --- /dev/null +++ b/UI/SQLiteSample/SQLiteSample/SQLiteSample/SQLiteSample.Droid/MainActivity.cs @@ -0,0 +1,18 @@ +using Android.App; +using Android.Widget; +using Android.OS; +using Android.Content.PM; +using Android.Views; + +namespace SQLiteSample.Droid +{ + [Activity( + MainLauncher = true, + ConfigurationChanges = Uno.UI.ActivityHelper.AllConfigChanges, + WindowSoftInputMode = SoftInput.AdjustPan | SoftInput.StateHidden + )] + public class MainActivity : Windows.UI.Xaml.ApplicationActivity + { + } +} + diff --git a/UI/SQLiteSample/SQLiteSample/SQLiteSample/SQLiteSample.Droid/Properties/AndroidManifest.xml b/UI/SQLiteSample/SQLiteSample/SQLiteSample/SQLiteSample.Droid/Properties/AndroidManifest.xml new file mode 100644 index 00000000..32b1e190 --- /dev/null +++ b/UI/SQLiteSample/SQLiteSample/SQLiteSample/SQLiteSample.Droid/Properties/AndroidManifest.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/UI/SQLiteSample/SQLiteSample/SQLiteSample/SQLiteSample.Droid/Properties/AssemblyInfo.cs b/UI/SQLiteSample/SQLiteSample/SQLiteSample/SQLiteSample.Droid/Properties/AssemblyInfo.cs new file mode 100644 index 00000000..ad5bedca --- /dev/null +++ b/UI/SQLiteSample/SQLiteSample/SQLiteSample/SQLiteSample.Droid/Properties/AssemblyInfo.cs @@ -0,0 +1,30 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using Android.App; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("SQLiteSample.Droid")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("SQLiteSample.Droid")] +[assembly: AssemblyCopyright("Copyright © 2020")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] +[assembly: ComVisible(false)] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/UI/SQLiteSample/SQLiteSample/SQLiteSample/SQLiteSample.Droid/Resources/AboutResources.txt b/UI/SQLiteSample/SQLiteSample/SQLiteSample/SQLiteSample.Droid/Resources/AboutResources.txt new file mode 100644 index 00000000..c2bca974 --- /dev/null +++ b/UI/SQLiteSample/SQLiteSample/SQLiteSample/SQLiteSample.Droid/Resources/AboutResources.txt @@ -0,0 +1,44 @@ +Images, layout descriptions, binary blobs and string dictionaries can be included +in your application as resource files. Various Android APIs are designed to +operate on the resource IDs instead of dealing with images, strings or binary blobs +directly. + +For example, a sample Android app that contains a user interface layout (main.axml), +an internationalization string table (strings.xml) and some icons (drawable-XXX/icon.png) +would keep its resources in the "Resources" directory of the application: + +Resources/ + drawable/ + icon.png + + layout/ + main.axml + + values/ + strings.xml + +In order to get the build system to recognize Android resources, set the build action to +"AndroidResource". The native Android APIs do not operate directly with filenames, but +instead operate on resource IDs. When you compile an Android application that uses resources, +the build system will package the resources for distribution and generate a class called "R" +(this is an Android convention) that contains the tokens for each one of the resources +included. For example, for the above Resources layout, this is what the R class would expose: + +public class R { + public class drawable { + public const int icon = 0x123; + } + + public class layout { + public const int main = 0x456; + } + + public class strings { + public const int first_string = 0xabc; + public const int second_string = 0xbcd; + } +} + +You would then use R.drawable.icon to reference the drawable/icon.png file, or R.layout.main +to reference the layout/main.axml file, or R.strings.first_string to reference the first +string in the dictionary file values/strings.xml. \ No newline at end of file diff --git a/UI/SQLiteSample/SQLiteSample/SQLiteSample/SQLiteSample.Droid/Resources/drawable/Icon.png b/UI/SQLiteSample/SQLiteSample/SQLiteSample/SQLiteSample.Droid/Resources/drawable/Icon.png new file mode 100644 index 00000000..8074c4c5 Binary files /dev/null and b/UI/SQLiteSample/SQLiteSample/SQLiteSample/SQLiteSample.Droid/Resources/drawable/Icon.png differ diff --git a/UI/SQLiteSample/SQLiteSample/SQLiteSample/SQLiteSample.Droid/Resources/values/Strings.xml b/UI/SQLiteSample/SQLiteSample/SQLiteSample/SQLiteSample.Droid/Resources/values/Strings.xml new file mode 100644 index 00000000..636f27a6 --- /dev/null +++ b/UI/SQLiteSample/SQLiteSample/SQLiteSample/SQLiteSample.Droid/Resources/values/Strings.xml @@ -0,0 +1,5 @@ + + + Hello World, Click Me! + SQLiteSample + diff --git a/UI/SQLiteSample/SQLiteSample/SQLiteSample/SQLiteSample.Droid/Resources/values/Styles.xml b/UI/SQLiteSample/SQLiteSample/SQLiteSample/SQLiteSample.Droid/Resources/values/Styles.xml new file mode 100644 index 00000000..d668a8e0 --- /dev/null +++ b/UI/SQLiteSample/SQLiteSample/SQLiteSample/SQLiteSample.Droid/Resources/values/Styles.xml @@ -0,0 +1,12 @@ + + + + \ No newline at end of file diff --git a/UI/SQLiteSample/SQLiteSample/SQLiteSample/SQLiteSample.Droid/SQLiteSample.Droid.csproj b/UI/SQLiteSample/SQLiteSample/SQLiteSample/SQLiteSample.Droid/SQLiteSample.Droid.csproj new file mode 100644 index 00000000..b5cd5b69 --- /dev/null +++ b/UI/SQLiteSample/SQLiteSample/SQLiteSample/SQLiteSample.Droid/SQLiteSample.Droid.csproj @@ -0,0 +1,99 @@ + + + + Debug + AnyCPU + 8.0.30703 + 2.0 + {6B1286F8-F19A-4BC3-B164-0CE30CAC91CE} + {EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + Library + Properties + SQLiteSample.Droid + SQLiteSample.Droid + 512 + true + Resources\Resource.Designer.cs + + false + Off + False + v9.0 + Properties\AndroidManifest.xml + True + ..\SQLiteSample.Shared\Strings + + + true + portable + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + True + None + + + portable + true + true + true + bin\Release\ + TRACE + prompt + 4 + False + SdkOnly + true + true + False + False + true + + + + + + + + + + + + + 1.7.335 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/UI/SQLiteSample/SQLiteSample/SQLiteSample/SQLiteSample.Shared/App.xaml b/UI/SQLiteSample/SQLiteSample/SQLiteSample/SQLiteSample.Shared/App.xaml new file mode 100644 index 00000000..bf07c45b --- /dev/null +++ b/UI/SQLiteSample/SQLiteSample/SQLiteSample/SQLiteSample.Shared/App.xaml @@ -0,0 +1,7 @@ + + + diff --git a/UI/SQLiteSample/SQLiteSample/SQLiteSample/SQLiteSample.Shared/App.xaml.cs b/UI/SQLiteSample/SQLiteSample/SQLiteSample/SQLiteSample.Shared/App.xaml.cs new file mode 100644 index 00000000..8420f056 --- /dev/null +++ b/UI/SQLiteSample/SQLiteSample/SQLiteSample/SQLiteSample.Shared/App.xaml.cs @@ -0,0 +1,163 @@ +using Microsoft.Extensions.Logging; +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Runtime.InteropServices.WindowsRuntime; +using Windows.ApplicationModel; +using Windows.ApplicationModel.Activation; +using Windows.Foundation; +using Windows.Foundation.Collections; +using Windows.UI.Xaml; +using Windows.UI.Xaml.Controls; +using Windows.UI.Xaml.Controls.Primitives; +using Windows.UI.Xaml.Data; +using Windows.UI.Xaml.Input; +using Windows.UI.Xaml.Media; +using Windows.UI.Xaml.Navigation; + +namespace SQLiteSample +{ + /// + /// Provides application-specific behavior to supplement the default Application class. + /// + sealed partial class App : Application + { + /// + /// Initializes the singleton application object. This is the first line of authored code + /// executed, and as such is the logical equivalent of main() or WinMain(). + /// + public App() + { + ConfigureFilters(global::Uno.Extensions.LogExtensionPoint.AmbientLoggerFactory); + + this.InitializeComponent(); + this.Suspending += OnSuspending; + } + + /// + /// Invoked when the application is launched normally by the end user. Other entry points + /// will be used such as when the application is launched to open a specific file. + /// + /// Details about the launch request and process. + protected override void OnLaunched(LaunchActivatedEventArgs e) + { +#if DEBUG + if (System.Diagnostics.Debugger.IsAttached) + { + // this.DebugSettings.EnableFrameRateCounter = true; + } +#endif + Frame rootFrame = Windows.UI.Xaml.Window.Current.Content as Frame; + + // Do not repeat app initialization when the Window already has content, + // just ensure that the window is active + if (rootFrame == null) + { + // Create a Frame to act as the navigation context and navigate to the first page + rootFrame = new Frame(); + + rootFrame.NavigationFailed += OnNavigationFailed; + + if (e.PreviousExecutionState == ApplicationExecutionState.Terminated) + { + //TODO: Load state from previously suspended application + } + + // Place the frame in the current Window + Windows.UI.Xaml.Window.Current.Content = rootFrame; + } + + if (e.PrelaunchActivated == false) + { + if (rootFrame.Content == null) + { + // When the navigation stack isn't restored navigate to the first page, + // configuring the new page by passing required information as a navigation + // parameter + rootFrame.Navigate(typeof(MainPage), e.Arguments); + } + // Ensure the current window is active + Windows.UI.Xaml.Window.Current.Activate(); + } + } + + /// + /// Invoked when Navigation to a certain page fails + /// + /// The Frame which failed navigation + /// Details about the navigation failure + void OnNavigationFailed(object sender, NavigationFailedEventArgs e) + { + throw new Exception($"Failed to load {e.SourcePageType.FullName}: {e.Exception}"); + } + + /// + /// Invoked when application execution is being suspended. Application state is saved + /// without knowing whether the application will be terminated or resumed with the contents + /// of memory still intact. + /// + /// The source of the suspend request. + /// Details about the suspend request. + private void OnSuspending(object sender, SuspendingEventArgs e) + { + var deferral = e.SuspendingOperation.GetDeferral(); + //TODO: Save application state and stop any background activity + deferral.Complete(); + } + + + /// + /// Configures global logging + /// + /// + static void ConfigureFilters(ILoggerFactory factory) + { + factory + .WithFilter(new FilterLoggerSettings + { + { "Uno", LogLevel.Warning }, + { "Windows", LogLevel.Warning }, + + // Debug JS interop + // { "Uno.Foundation.WebAssemblyRuntime", LogLevel.Debug }, + + // Generic Xaml events + // { "Windows.UI.Xaml", LogLevel.Debug }, + // { "Windows.UI.Xaml.VisualStateGroup", LogLevel.Debug }, + // { "Windows.UI.Xaml.StateTriggerBase", LogLevel.Debug }, + // { "Windows.UI.Xaml.UIElement", LogLevel.Debug }, + + // Layouter specific messages + // { "Windows.UI.Xaml.Controls", LogLevel.Debug }, + // { "Windows.UI.Xaml.Controls.Layouter", LogLevel.Debug }, + // { "Windows.UI.Xaml.Controls.Panel", LogLevel.Debug }, + // { "Windows.Storage", LogLevel.Debug }, + + // Binding related messages + // { "Windows.UI.Xaml.Data", LogLevel.Debug }, + + // DependencyObject memory references tracking + // { "ReferenceHolder", LogLevel.Debug }, + + // ListView-related messages + // { "Windows.UI.Xaml.Controls.ListViewBase", LogLevel.Debug }, + // { "Windows.UI.Xaml.Controls.ListView", LogLevel.Debug }, + // { "Windows.UI.Xaml.Controls.GridView", LogLevel.Debug }, + // { "Windows.UI.Xaml.Controls.VirtualizingPanelLayout", LogLevel.Debug }, + // { "Windows.UI.Xaml.Controls.NativeListViewBase", LogLevel.Debug }, + // { "Windows.UI.Xaml.Controls.ListViewBaseSource", LogLevel.Debug }, //iOS + // { "Windows.UI.Xaml.Controls.ListViewBaseInternalContainer", LogLevel.Debug }, //iOS + // { "Windows.UI.Xaml.Controls.NativeListViewBaseAdapter", LogLevel.Debug }, //Android + // { "Windows.UI.Xaml.Controls.BufferViewCache", LogLevel.Debug }, //Android + // { "Windows.UI.Xaml.Controls.VirtualizingPanelGenerator", LogLevel.Debug }, //WASM + } + ) +#if DEBUG + .AddConsole(LogLevel.Debug); +#else + .AddConsole(LogLevel.Information); +#endif + } + } +} diff --git a/UI/SQLiteSample/SQLiteSample/SQLiteSample/SQLiteSample.Shared/Assets/SharedAssets.md b/UI/SQLiteSample/SQLiteSample/SQLiteSample/SQLiteSample.Shared/Assets/SharedAssets.md new file mode 100644 index 00000000..8d2d37a1 --- /dev/null +++ b/UI/SQLiteSample/SQLiteSample/SQLiteSample/SQLiteSample.Shared/Assets/SharedAssets.md @@ -0,0 +1,34 @@ +See documentation about assets here : https://github.com/unoplatform/uno/blob/master/doc/articles/features/working-with-assets.md + +# Here is a cheat sheet: + +1. Add the image file to the `Assets` directory of a shared project. +2. Set the build action to `Content`. +3. (Recommended) Provide an asset for various scales/dpi + +## Examples + +``` +\Assets\Images\logo.scale-100.png +\Assets\Images\logo.scale-200.png +\Assets\Images\logo.scale-400.png + +\Assets\Images\scale-100\logo.png +\Assets\Images\scale-200\logo.png +\Assets\Images\scale\400\logo.png +``` + +## Table of scales + +| Scale | UWP | iOS | Android | +|-------|:-----------:|:--------:|:-------:| +| `100` | scale-100 | @1x | mdpi | +| `125` | scale-125 | N/A | N/A | +| `150` | scale-150 | N/A | hdpi | +| `200` | scale-200 | @2x | xhdpi | +| `300` | scale-300 | @3x | xxhdpi | +| `400` | scale-400 | N/A | xxxhdpi | + + + + diff --git a/UI/SQLiteSample/SQLiteSample/SQLiteSample/SQLiteSample.Shared/MainPage.xaml b/UI/SQLiteSample/SQLiteSample/SQLiteSample/SQLiteSample.Shared/MainPage.xaml new file mode 100644 index 00000000..1f239197 --- /dev/null +++ b/UI/SQLiteSample/SQLiteSample/SQLiteSample/SQLiteSample.Shared/MainPage.xaml @@ -0,0 +1,21 @@ + + + + + + + + + +