Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
125 commits
Select commit Hold shift + click to select a range
ff93d3f
analysis: add codeql-analysis
live-dev999 Nov 17, 2021
a16c91f
Merge branch 'LiveDevTeam:master' into master
live-dev999 Nov 17, 2021
44eb6ae
Merge branch 'LiveDevTeam:master' into master
live-dev999 Jan 9, 2022
b4436a7
chore(deps): bump nanoid in /src/Services/auth/O2NextGen.Auth.Web
dependabot[bot] Jan 22, 2022
5130b4a
Merge branch 'LiveDevTeam:master' into master
live-dev999 Feb 8, 2022
ddad692
build(deps): bump follow-redirects in /src/WebApps/pfr-app/c-gen
dependabot[bot] Feb 15, 2022
5fe8a3b
build(deps): bump follow-redirects in /src/WebApps/pfr-app/smalltalk
dependabot[bot] Feb 15, 2022
e337ebb
build(deps): bump follow-redirects in /src/WebApps/pfr-app/pfr-app
dependabot[bot] Feb 15, 2022
099b1d4
analysis: add codeql-analysis
live-dev999 Nov 17, 2021
27d4161
Merge branch 'LiveDevTeam:master' into master
live-dev999 Mar 9, 2022
b1c3eb6
feat(issue-221): add dockerfiles for services
Mar 14, 2022
e98f385
feat(issue-221): add dockerfiles for services
live-dev999 Mar 14, 2022
fbebd0b
analysis: add codeql-analysis
live-dev999 Nov 17, 2021
0215cba
feat(issue-223): add version controller
live-dev999 Mar 14, 2022
4605a5d
feat(issue223): add version controller
live-dev999 Mar 14, 2022
518c158
fix(issue-225): update docker-compose file
live-dev999 Mar 15, 2022
f78fca4
fix(issue-225): update docker-compose file
live-dev999 Mar 15, 2022
bb3b588
chore(issue-218): update readme.md
live-dev999 Mar 15, 2022
ee6a634
fix(issue-229): fix the bug of docker-compose
live-dev999 Mar 23, 2022
70b744a
fix(issue-229): fix the bug of docker-compose
live-dev999 Mar 23, 2022
ecfab0e
chore(issue-197): code cleanup
live-dev999 Mar 24, 2022
4fabb81
feat(issue-197): add shared sdk lib with models
live-dev999 Mar 24, 2022
c0b276b
feat(issue-197): add sdk model lib to base solution
live-dev999 Mar 24, 2022
dbccf5a
faet(issue-197): add unittest project to solution
live-dev999 Mar 24, 2022
bf6c045
feat(issue-197): move exist models to sdk with share models
live-dev999 Mar 24, 2022
fc3907e
feat(issue-197): add o2nextgen.sdk.netcore sdk
live-dev999 Mar 24, 2022
c75d8e2
build(deps): bump node-forge in /src/WebApps/pfr-app/pfr-app
dependabot[bot] Mar 26, 2022
f6da62c
build(deps): bump node-forge in /src/WebApps/pfr-app/c-gen
dependabot[bot] Mar 26, 2022
09b818a
build(deps): bump node-forge in /src/WebApps/pfr-app/pfr-app
dependabot[bot] Mar 26, 2022
46e7731
build(deps): bump node-forge in /src/WebApps/pfr-app/smalltalk
dependabot[bot] Mar 26, 2022
9e4b088
build(deps): bump node-forge in /src/WebApps/pfr-app/c-gen
dependabot[bot] Mar 26, 2022
e84d0c4
feat(issue-171): add skeleton of feedback-x
live-dev999 Mar 26, 2022
1cf87ac
chore(issue-171): code cleanup
live-dev999 Mar 26, 2022
7da3ec6
feat(issue-171): add service feedback-x
live-dev999 Mar 26, 2022
3e29bca
feat(issue-198): add service s-link
live-dev999 Mar 26, 2022
f2cd1a7
chore(issue-198): code cleanup
live-dev999 Mar 26, 2022
9044fae
feat(issue-198): update launchsettings.json of slink-api project
live-dev999 Mar 26, 2022
355eb5e
feat(issue-198): add service s-link
live-dev999 Mar 26, 2022
f6d854d
feat(issue-176): add go-event service
live-dev999 Mar 26, 2022
6373216
chore(issue-176): code cleanup
live-dev999 Mar 26, 2022
c47e5a0
feat(issue-176): update .net core 2.1 to 2.2 for projects of go-event…
live-dev999 Mar 26, 2022
1149e1e
feat(issue-176): add go-event service
live-dev999 Mar 26, 2022
09a9281
faet(issue-91): add smart-subscriber service
live-dev999 Mar 26, 2022
2260483
chore(issue-91): code cleanup
live-dev999 Mar 26, 2022
6282834
feat(issue-91): update .net core 2.1 to 2.2 for projects of smart-sub…
live-dev999 Mar 26, 2022
b5ad1c2
feat(issue-91): update main project of smart-subscriber
live-dev999 Mar 26, 2022
248b433
feat(issue-91): add smart-subscription service
live-dev999 Mar 26, 2022
9bab2e9
feat(issue-113): rename projects of on-tracker service
live-dev999 Mar 26, 2022
6e96ccc
feat(issue-113): add skeleton for on-tracker service
live-dev999 Mar 26, 2022
e5b28ca
chore(issue-113): code cleanup
live-dev999 Mar 26, 2022
ae58dcb
feat(pr-113): add skeleton of on-tracker service
live-dev999 Mar 26, 2022
0f68230
chore(issue-113): fix main solution for services
live-dev999 Mar 27, 2022
224e1ec
build(deps): bump minimist in /src/Services/auth/O2NextGen.Auth.Web
dependabot[bot] Apr 1, 2022
76d9186
build(deps): bump minimist in /src/WebApps/pfr-app/smalltalk
dependabot[bot] Apr 1, 2022
2f6c062
build(deps): bump minimist in /src/WebApps/pfr-app/pfr-app
dependabot[bot] Apr 1, 2022
ca0a3ee
build(deps): bump minimist in /src/WebApps/pfr-app/smalltalk
dependabot[bot] Apr 1, 2022
cf0455d
build(deps): bump minimist from 1.2.5 to 1.2.6 in /src/WebApps/pfr-ap…
live-dev999 Apr 2, 2022
b4e5b0c
build(deps): bump nanoid in /src/Services/auth/O2NextGen.Auth.Web
dependabot[bot] Apr 2, 2022
ea3d455
build(deps): bump minimist in /src/WebApps/pfr-app/pfr-app
dependabot[bot] Apr 2, 2022
5e9a890
build(pr-deps): bump minimist from 1.2.5 to 1.2.6 in /src/WebApps/pfr…
live-dev999 Apr 2, 2022
e879293
build(deps): bump minimist in /src/WebApps/pfr-app/c-gen
dependabot[bot] Apr 2, 2022
2c9528f
build(deps): bump minimist in /src/Services/auth/O2NextGen.Auth.Web
dependabot[bot] Apr 2, 2022
8ecb697
build(pr-deps): bump follow-redirects from 1.14.7 to 1.14.8 in /src/W…
live-dev999 Apr 2, 2022
023d6cd
build(pf-deps): bump follow-redirects from 1.14.7 to 1.14.8 in /src/W…
live-dev999 Apr 2, 2022
c6fe4a8
build(pr-deps): bump follow-redirects from 1.14.7 to 1.14.8 in /src/W…
live-dev999 Apr 2, 2022
8aec98a
build(pr-deps): bump node-forge from 1.2.1 to 1.3.0 in /src/WebApps/p…
live-dev999 Apr 2, 2022
6f0c5a6
build(deps): bump follow-redirects in /src/WebApps/pfr-app/server
dependabot[bot] Apr 2, 2022
31faad4
build(pr-deps): bump node-forge from 1.2.1 to 1.3.0 in /src/WebApps/p…
live-dev999 Apr 2, 2022
2bf2b2e
build(deps): bump node-forge in /src/WebApps/pfr-app/smalltalk
dependabot[bot] Apr 2, 2022
ba156d8
build(pr-deps): bump nanoid from 3.1.30 to 3.3.2 in /src/Services/aut…
live-dev999 Apr 2, 2022
e790642
build(pr-deps): bump minimist from 1.2.5 to 1.2.6 in /src/WebApps/pfr…
live-dev999 Apr 2, 2022
1de2587
build(pr-deps): bump minimist from 1.2.5 to 1.2.6 in /src/Services/au…
live-dev999 Apr 2, 2022
1ce2cc5
build(pr-deps): bump follow-redirects from 1.14.7 to 1.14.9 in /src/W…
live-dev999 Apr 2, 2022
185dc0b
build(pr-deps): bump node-forge from 1.2.1 to 1.3.1 in /src/WebApps/p…
live-dev999 Apr 2, 2022
f41987d
Merge branch 'master' into dev
Apr 2, 2022
a843926
build(pr-deps): bump node-forge from 1.2.1 to 1.3.0 in /src/WebApps/p…
live-dev999 Apr 2, 2022
d2bea1c
chore(pr-deps): bump nanoid from 3.1.30 to 3.2.0 in /src/Services/aut…
live-dev999 Apr 2, 2022
430c707
build(deps): bump nanoid in /src/Services/auth/O2NextGen.Auth.Web
dependabot[bot] Apr 2, 2022
8a1fba6
build(deps): bump node-forge in /src/WebApps/pfr-app/pfr-app
dependabot[bot] Apr 2, 2022
57f1538
build(deps): bump follow-redirects in /src/WebApps/pfr-app/pfr-app
dependabot[bot] Apr 2, 2022
2c51f0b
build(deps): bump follow-redirects in /src/WebApps/pfr-app/server
dependabot[bot] Apr 2, 2022
db793cf
build(pr-deps): bump node-forge from 1.2.1 to 1.3.0 in /src/WebApps/p…
live-dev999 Apr 2, 2022
984a098
build(pr-deps): bump node-forge from 1.2.1 to 1.3.0 in /src/WebApps/p…
live-dev999 Apr 2, 2022
488156f
build(pr-deps): bump minimist from 1.2.5 to 1.2.6 in /src/Services/au…
live-dev999 Apr 2, 2022
5ee902d
build(pr-deps): bump minimist from 1.2.5 to 1.2.6 in /src/WebApps/pfr…
live-dev999 Apr 2, 2022
6bafedd
build(pr-deps): bump minimist from 1.2.5 to 1.2.6 in /src/WebApps/pfr…
live-dev999 Apr 2, 2022
f3885d8
build(pr-deps): bump follow-redirects from 1.14.7 to 1.14.9 in /src/W…
live-dev999 Apr 2, 2022
ee69350
build(pr-deps): bump follow-redirects from 1.14.7 to 1.14.9 in /src/W…
live-dev999 Apr 2, 2022
8d147b2
Merge remote-tracking branch 'upstream/dev' into dev
Apr 2, 2022
ede0043
Merge branch 'dev' into dependabot/npm_and_yarn/src/WebApps/pfr-app/p…
live-dev999 Apr 2, 2022
6769878
build(pr-deps): bump node-forge from 1.2.1 to 1.3.1 in /src/WebApps/p…
live-dev999 Apr 2, 2022
101327d
build(pr-deps): bump nanoid from 3.1.30 to 3.3.2 in /src/Services/aut…
live-dev999 Apr 2, 2022
14cf0ed
analysis(pr-deps): add codeql-analysis
live-dev999 Apr 2, 2022
d3de1d2
feat(issue-175): add skeleton of small-talk
live-dev999 Mar 28, 2022
daaad8f
feat(issue-175): update the controller logic of small-talk
live-dev999 Mar 28, 2022
8922a3d
feat(issue-175): update session code
live-dev999 Apr 2, 2022
0e47467
feat(issue-281): add basic func of smalltalk-api
live-dev999 Apr 2, 2022
05c61ce
feat(pf:issue-281): add basic func of smalltalk-api
live-dev999 Apr 2, 2022
dad6b3a
fix(issue-283): fix the projects and solution for e-sender-api
live-dev999 Apr 2, 2022
eac0919
fix(issue-283): fix projects and solution of c-gen api
live-dev999 Apr 2, 2022
391710e
fix(pr:issue-283): update all projects and solutions with o2nextgen.sdk
live-dev999 Apr 2, 2022
f37bad4
feat(issue-286): add small-talk mobile apps
live-dev999 Apr 2, 2022
4342ca2
feat(pr: issue-286): add small-talk mobile apps
live-dev999 Apr 2, 2022
7bf5e4f
feat(issue-285): add service for chat of small-talk api
live-dev999 Apr 2, 2022
96a5db4
feat(issue-285): add basic classes for viewmodels
live-dev999 Apr 2, 2022
bc1aa04
feat(issue-285): add chatservice and view
live-dev999 Apr 3, 2022
bf8b584
feat(issue-285): works the chat sessions
live-dev999 Apr 3, 2022
eb6a5b4
feat(issue-285): code cleanup
live-dev999 Apr 3, 2022
3d32c4a
feat(issue-285): add chatdetailview
live-dev999 Apr 3, 2022
fce7d3d
feat(issue-285): add changes for chatdetailview
live-dev999 Apr 3, 2022
c0de605
feat(issue-285): update ui for chatdetailview
live-dev999 Apr 3, 2022
432d238
feat(issue-285): update ui for chatdetail view
live-dev999 Apr 4, 2022
8b9fd4a
feat(pr: issue-285): add small-talk mobile apps
live-dev999 Apr 4, 2022
da7eaa8
bug(issue-293): update chatmanager for smalltalk api
live-dev999 Apr 9, 2022
db7fda1
fix(pr: issue-293): update chatmanager for smalltalk api
live-dev999 Apr 9, 2022
b0a3b44
feat(issue291): add signalr for smalltalk solution
live-dev999 Apr 6, 2022
323a4a8
feat(issue-291): add dockerfile for small-talk
live-dev999 Apr 6, 2022
ca3ac7f
feat(issue-291): add hub class for small-talk
live-dev999 Apr 6, 2022
00616eb
feat(issue-291): update program.cs and startup.cs for small-talk
live-dev999 Apr 6, 2022
5742bc8
feat(issue-291): add real service for smalltalk
live-dev999 Apr 9, 2022
b60eacd
feat(issue-291): update smalltalk service
live-dev999 Apr 9, 2022
45ec648
feat(issue-291): include seignalR to smalltalk mobile app
live-dev999 Apr 10, 2022
15a1906
feat(pr: issue-291): include signalr for smalltalk mobile app
live-dev999 Apr 10, 2022
0803488
fix: update service for smalltalk api
live-dev999 Apr 10, 2022
106becc
docs(pr: issue-218): prepare alpha version v1.0.0.3
live-dev999 Apr 10, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
70 changes: 70 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ master ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
schedule:
- cron: '41 1 * * 4'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'csharp', 'javascript' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://git.io/codeql-language-support

steps:
- name: Checkout repository
uses: actions/checkout@v2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,3 +220,10 @@ build number - Build Number
revision - git revision
```
```

#### Versions published

1.0.0.0
1.0.0.1
1.0.0.2
1.0.0.3
25 changes: 25 additions & 0 deletions src/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
**/.classpath
**/.dockerignore
**/.env
**/.git
**/.gitignore
**/.project
**/.settings
**/.toolstarget
**/.vs
**/.vscode
**/*.*proj.user
**/*.dbmdl
**/*.jfm
**/azds.yaml
**/bin
**/charts
**/docker-compose*
**/Dockerfile*
**/node_modules
**/npm-debug.log
**/obj
**/secrets.dev.yaml
**/values.dev.yaml
LICENSE
README.md
Original file line number Diff line number Diff line change
@@ -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 your 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");
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

using Android.App;
using Android.Content.PM;
using Android.Runtime;
using Android.OS;

namespace O2NextGen.SmallTalk.Droid
{
[Activity(Label = "O2NextGen.SmallTalk", Icon = "@mipmap/icon", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize )]
public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity
{
protected override void OnCreate(Bundle savedInstanceState)
{
base.OnCreate(savedInstanceState);

Xamarin.Essentials.Platform.Init(this, savedInstanceState);
global::Xamarin.Forms.Forms.Init(this, savedInstanceState);
LoadApplication(new App());
}
public override void OnRequestPermissionsResult(int requestCode, string[] permissions, [GeneratedEnum] Android.Content.PM.Permission[] grantResults)
{
Xamarin.Essentials.Platform.OnRequestPermissionsResult(requestCode, permissions, grantResults);

base.OnRequestPermissionsResult(requestCode, permissions, grantResults);
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{D1D0F2E9-944C-42D8-BCF8-89A432186A2D}</ProjectGuid>
<ProjectTypeGuids>{EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<TemplateGuid>{c9e5eea5-ca05-42a1-839b-61506e0a37df}</TemplateGuid>
<OutputType>Library</OutputType>
<RootNamespace>O2NextGen.SmallTalk.Droid</RootNamespace>
<AssemblyName>O2NextGen.SmallTalk.Android</AssemblyName>
<Deterministic>True</Deterministic>
<AndroidApplication>True</AndroidApplication>
<AndroidResgenFile>Resources\Resource.designer.cs</AndroidResgenFile>
<AndroidResgenClass>Resource</AndroidResgenClass>
<AndroidManifest>Properties\AndroidManifest.xml</AndroidManifest>
<MonoAndroidResourcePrefix>Resources</MonoAndroidResourcePrefix>
<MonoAndroidAssetsPrefix>Assets</MonoAndroidAssetsPrefix>
<AndroidUseLatestPlatformSdk>false</AndroidUseLatestPlatformSdk>
<TargetFrameworkVersion>v12.0</TargetFrameworkVersion>
<AndroidEnableSGenConcurrent>true</AndroidEnableSGenConcurrent>
<AndroidUseAapt2>true</AndroidUseAapt2>
<AndroidHttpClientHandlerType>Xamarin.Android.Net.AndroidClientHandler</AndroidHttpClientHandlerType>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>portable</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug</OutputPath>
<DefineConstants>DEBUG;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<AndroidLinkMode>None</AndroidLinkMode>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>portable</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<AndroidManagedSymbols>true</AndroidManagedSymbols>
<AndroidUseSharedRuntime>false</AndroidUseSharedRuntime>
</PropertyGroup>
<ItemGroup>
<Reference Include="Mono.Android" />
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Xml" />
<Reference Include="System.Numerics" />
<Reference Include="System.Numerics.Vectors" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Xamarin.Forms" Version="5.0.0.2401" />
<PackageReference Include="Xamarin.Essentials" Version="1.7.1" />
</ItemGroup>
<ItemGroup>
<Compile Include="MainActivity.cs" />
<Compile Include="Resources\Resource.designer.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\AboutResources.txt" />
<None Include="Assets\AboutAssets.txt" />
<None Include="Properties\AndroidManifest.xml" />
</ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\values\styles.xml" />
<AndroidResource Include="Resources\values\colors.xml" />
<AndroidResource Include="Resources\mipmap-anydpi-v26\icon.xml" />
<AndroidResource Include="Resources\mipmap-anydpi-v26\icon_round.xml" />
<AndroidResource Include="Resources\mipmap-hdpi\icon.png" />
<AndroidResource Include="Resources\mipmap-hdpi\launcher_foreground.png" />
<AndroidResource Include="Resources\mipmap-mdpi\icon.png" />
<AndroidResource Include="Resources\mipmap-mdpi\launcher_foreground.png" />
<AndroidResource Include="Resources\mipmap-xhdpi\icon.png" />
<AndroidResource Include="Resources\mipmap-xhdpi\launcher_foreground.png" />
<AndroidResource Include="Resources\mipmap-xxhdpi\icon.png" />
<AndroidResource Include="Resources\mipmap-xxhdpi\launcher_foreground.png" />
<AndroidResource Include="Resources\mipmap-xxxhdpi\icon.png" />
<AndroidResource Include="Resources\mipmap-xxxhdpi\launcher_foreground.png" />
</ItemGroup>
<ItemGroup>
<Folder Include="Resources\drawable\" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\O2NextGen.SmallTalk\O2NextGen.SmallTalk.Core.csproj">
<Project>{4F14E841-3A6D-4797-BC64-70EF972C3A9D}</Project>
<Name>O2NextGen.SmallTalk.Core</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
<ProjectExtensions>
<VisualStudio>
<UserProperties XamarinHotReloadDebuggerTimeoutExceptionO2NextGenSmallTalkAndroidHideInfoBar="True" />
</VisualStudio>
</ProjectExtensions>
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="com.companyname.o2nextgen.smalltalk">
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="31" />
<application android:label="O2NextGen.SmallTalk.Android" android:theme="@style/MainTheme"></application>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
</manifest>
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
using System.Reflection;
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("O2NextGen.SmallTalk.Android")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("O2NextGen.SmallTalk.Android")]
[assembly: AssemblyCopyright("Copyright © 2014")]
[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
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

// Add some common permissions, these can be removed if not needed
[assembly: UsesPermission(Android.Manifest.Permission.Internet)]
[assembly: UsesPermission(Android.Manifest.Permission.WriteExternalStorage)]
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
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.xml),
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-hdpi/
icon.png

drawable-ldpi/
icon.png

drawable-mdpi/
icon.png

layout/
main.xml

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
"Resource" that contains the tokens for each one of the resources included. For example,
for the above Resources layout, this is what the Resource class would expose:

public class Resource {
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 Resource.layout.main
to reference the layout/main.xml file, or Resource.strings.first_string to reference the first
string in the dictionary file values/strings.xml.
Loading