This repository has been archived by the owner on Jun 22, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
59 changed files
with
714 additions
and
1,099 deletions.
There are no files selected for viewing
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,9 @@ | ||
<Project> | ||
<PropertyGroup> | ||
<LangVersion>8.0</LangVersion> | ||
<Nullable>enable</Nullable> | ||
<ShinyVersion>2.6.2</ShinyVersion> | ||
<DebugDirectory>../../submodules/shiny/src</DebugDirectory> | ||
<UseNuget>true</UseNuget> | ||
</PropertyGroup> | ||
</Project> |
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,24 @@ | ||
<Project> | ||
<ItemGroup> | ||
<PackageReference Include="Xamarin.Forms" Version="5.0.0.2515" /> | ||
<PackageReference Include="Xamarin.Essentials" Version="1.7.3" /> | ||
</ItemGroup> | ||
|
||
<Choose> | ||
<When Condition="'$(UseNuget)' == 'true'"> | ||
<ItemGroup> | ||
<PackageReference Include="Shiny.SpeechRecognition" Version="$(ShinyVersion)" /> | ||
</ItemGroup> | ||
</When> | ||
<Otherwise> | ||
<ItemGroup> | ||
<ProjectReference Include="$(DebugDirectory)\Shiny.Core\Shiny.Core.csproj"> | ||
<Name>Shiny.Core</Name> | ||
</ProjectReference> | ||
<ProjectReference Include="$(DebugDirectory)\Shiny.Jobs\Shiny.SpeechRecognition.csproj"> | ||
<Name>Shiny.SpeechRecognition</Name> | ||
</ProjectReference> | ||
</ItemGroup> | ||
</Otherwise> | ||
</Choose> | ||
</Project> |
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,20 @@ | ||
using System; | ||
using Shiny; | ||
using Android.App; | ||
using Android.Runtime; | ||
|
||
|
||
namespace Sample.Droid | ||
{ | ||
[Application] | ||
public class MainApplication : Application | ||
{ | ||
public MainApplication(IntPtr handle, JniHandleOwnership transfer) : base(handle, transfer) { } | ||
|
||
public override void OnCreate() | ||
{ | ||
this.ShinyOnCreate(new Startup()); | ||
base.OnCreate(); | ||
} | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
SpeechRecognition/Sample.Android/Properties/AndroidManifest.xml
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,6 +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.shiny.speech" android:installLocation="auto"> | ||
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="30" /> | ||
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="31" /> | ||
<application android:label="Speech Recognition" android:theme="@style/MainTheme"></application> | ||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> | ||
</manifest> |
562 changes: 98 additions & 464 deletions
562
SpeechRecognition/Sample.Android/Resources/Resource.designer.cs
Large diffs are not rendered by default.
Oops, something went wrong.
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
13 changes: 0 additions & 13 deletions
13
SpeechRecognition/Sample.UWP.Background/MyShinyBackgroundTask.cs
This file was deleted.
Oops, something went wrong.
29 changes: 0 additions & 29 deletions
29
SpeechRecognition/Sample.UWP.Background/Properties/AssemblyInfo.cs
This file was deleted.
Oops, something went wrong.
152 changes: 0 additions & 152 deletions
152
SpeechRecognition/Sample.UWP.Background/Sample.UWP.Background.csproj
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.