-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[tizen_app_control]: Update example app type cpp to c#
Now C# Multi type application is supported, so updated it.
- Loading branch information
Showing
18 changed files
with
92 additions
and
132 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
This file was deleted.
Oops, something went wrong.
13 changes: 5 additions & 8 deletions
13
packages/tizen_app_control/example/tizen/service/.gitignore
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,8 +1,5 @@ | ||
lib/*.so | ||
res/flutter_assets/ | ||
res/icudtl.dat | ||
.cproject | ||
.sign | ||
crash-info/ | ||
Debug/ | ||
Release/ | ||
flutter/ | ||
.vs/ | ||
*.user | ||
bin/ | ||
obj/ |
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,21 @@ | ||
using Tizen.Flutter.Embedding; | ||
|
||
namespace Runner | ||
{ | ||
public class App : FlutterServiceApplication | ||
{ | ||
protected override void OnCreate() | ||
{ | ||
base.OnCreate(); | ||
|
||
GeneratedPluginRegistrant.RegisterPlugins(this); | ||
} | ||
|
||
static void Main(string[] args) | ||
{ | ||
var app = new App(); | ||
app.DartEntrypoint = "serviceMain"; | ||
app.Run(args); | ||
} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
packages/tizen_app_control/example/tizen/service/RunnerService.csproj
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,12 @@ | ||
<Project Sdk="Tizen.NET.Sdk/1.1.7"> | ||
|
||
<PropertyGroup> | ||
<OutputType>Exe</OutputType> | ||
<TargetFramework>tizen40</TargetFramework> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="$(FlutterEmbeddingPath)" /> | ||
</ItemGroup> | ||
|
||
</Project> |
6 changes: 0 additions & 6 deletions
6
packages/tizen_app_control/example/tizen/service/inc/runner.h
This file was deleted.
Oops, something went wrong.
25 changes: 0 additions & 25 deletions
25
packages/tizen_app_control/example/tizen/service/project_def.prop
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-1.41 KB
packages/tizen_app_control/example/tizen/service/shared/res/ic_launcher.png
Binary file not shown.
19 changes: 0 additions & 19 deletions
19
packages/tizen_app_control/example/tizen/service/src/runner.cc
This file was deleted.
Oops, something went wrong.
7 changes: 4 additions & 3 deletions
7
packages/tizen_app_control/example/tizen/service/tizen-manifest.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,10 +1,11 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest package="org.tizen.tizen_app_control_example" version="1.0.0" api-version="5.5" xmlns="http://tizen.org/ns/packages"> | ||
<profile name="wearable"/> | ||
<service-application appid="org.tizen.tizen_app_control_example_service" exec="runner_service" type="capp" multiple="false" nodisplay="true" taskmanage="false" auto-restart="false"> | ||
<manifest package="com.tizen.tizen_app_control_example" version="1.0.0" api-version="5.5" xmlns="http://tizen.org/ns/packages"> | ||
<profile name="common"/> | ||
<service-application appid="org.tizen.tizen_app_control_example_service" exec="RunnerService.dll" type="dotnet" multiple="false" nodisplay="true" taskmanage="false" auto-restart="false"> | ||
<label>tizen_app_control_example</label> | ||
<icon>ic_launcher.png</icon> | ||
<background-category value="media"/> | ||
<metadata key="http://tizen.org/metadata/prefer_dotnet_aot" value="true"/> | ||
</service-application> | ||
<feature name="http://tizen.org/feature/screen.size.all"/> | ||
</manifest> |
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,5 @@ | ||
flutter/ | ||
lib/*.so | ||
res/flutter_assets/ | ||
res/icudtl.dat | ||
.cproject | ||
.sign | ||
crash-info/ | ||
Debug/ | ||
Release/ | ||
.vs/ | ||
*.user | ||
bin/ | ||
obj/ |
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 Tizen.Flutter.Embedding; | ||
|
||
namespace Runner | ||
{ | ||
public class App : FlutterApplication | ||
{ | ||
protected override void OnCreate() | ||
{ | ||
base.OnCreate(); | ||
|
||
GeneratedPluginRegistrant.RegisterPlugins(this); | ||
} | ||
|
||
static void Main(string[] args) | ||
{ | ||
var app = new App(); | ||
app.Run(args); | ||
} | ||
} | ||
} |
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 @@ | ||
<Project Sdk="Tizen.NET.Sdk/1.1.7"> | ||
|
||
<PropertyGroup> | ||
<OutputType>Exe</OutputType> | ||
<TargetFramework>tizen40</TargetFramework> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="$(FlutterEmbeddingPath)" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<FlutterEphemeral Include="flutter\ephemeral\**\*" /> | ||
<TizenTpkUserIncludeFiles Include="@(FlutterEphemeral)"> | ||
<TizenTpkSubDir>%(RecursiveDir)</TizenTpkSubDir> | ||
</TizenTpkUserIncludeFiles> | ||
</ItemGroup> | ||
|
||
</Project> |
This file was deleted.
Oops, something went wrong.
25 changes: 0 additions & 25 deletions
25
packages/tizen_app_control/example/tizen/ui/project_def.prop
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
7 changes: 5 additions & 2 deletions
7
packages/tizen_app_control/example/tizen/ui/tizen-manifest.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,13 +1,16 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest package="org.tizen.tizen_app_control_example" version="1.0.0" api-version="5.5" xmlns="http://tizen.org/ns/packages"> | ||
<profile name="wearable"/> | ||
<ui-application appid="org.tizen.tizen_app_control_example" exec="runner" type="capp" multiple="false" nodisplay="false" taskmanage="true" hw-acceleration="on"> | ||
<profile name="common"/> | ||
<ui-application appid="org.tizen.tizen_app_control_example" exec="Runner.dll" type="dotnet" multiple="false" nodisplay="false" taskmanage="true"> | ||
<label>tizen_app_control_example</label> | ||
<icon>ic_launcher.png</icon> | ||
<metadata key="http://tizen.org/metadata/prefer_dotnet_aot" value="true"/> | ||
</ui-application> | ||
<privileges> | ||
<privilege>http://tizen.org/privilege/appmanager.launch</privilege> | ||
<privilege>http://tizen.org/privilege/appmanager.kill.bgapp</privilege> | ||
<privilege>http://tizen.org/privilege/call</privilege> | ||
<privilege>http://tizen.org/privilege/download</privilege> | ||
</privileges> | ||
<feature name="http://tizen.org/feature/screen.size.all"/> | ||
</manifest> |