-
Notifications
You must be signed in to change notification settings - Fork 453
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VS Tizen extension user docs update for .Net and Hybrid App. #1612
Merged
Merged
Changes from 3 commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
237e8e4
VS Tizen extension user docs update for .Net and Hybrid App.
om90prakash 2629faa
Update docs/application/vstools/Tizen/hybrid.md
om90prakash c43ca37
Corrected grammatical error.
om90prakash 2ab9dac
Added a missing comma to improve readability.
om90prakash File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 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,81 @@ | ||||||
# Hybrid application development | ||||||
|
||||||
|
||||||
## Develop application | ||||||
|
||||||
The following sections explain how to use Visual Studio Extension for Tizen to develop hybrid applications. Hybrid application for Tizen supports different types (.NET/Native/Web) of projects in the same solution/workspace. | ||||||
|
||||||
|
||||||
### Create Tizen .NET project | ||||||
|
||||||
To create a Tizen .NET project: Refer to [Create Tizen .NET project](dotnet.md) | ||||||
|
||||||
|
||||||
### Add Tizen Native project | ||||||
|
||||||
To add a Tizen Native project into the above created .NET project to make the Hybrid solution: | ||||||
|
||||||
1. In the Visual Studio Solution Explorer, right click on Solution **Add > New Project**. | ||||||
|
||||||
2. For creating Native application, select **C++** and **Tizen** options in the dropdown list. Then, select **Tizen Native Project** and click **Next**. | ||||||
|
||||||
![Create Tizen project](media/native_create_project.PNG) | ||||||
|
||||||
3. In the configure window, type the name for your project and click **Create**. | ||||||
|
||||||
![Configure project](media/native_sub_project_configure.PNG) | ||||||
|
||||||
4. In the **Tizen Profile Select** window, select the required template for your project, then click **OK**. | ||||||
|
||||||
![Version selection](media/native_platform_version.PNG) | ||||||
|
||||||
5. The Visual Studio window with newly created project appears on the **Solution Explorer**. | ||||||
|
||||||
![Visual Studio screen](media/hybrid_vs_screen.PNG) | ||||||
|
||||||
|
||||||
### Set startup project | ||||||
|
||||||
1. From **Solution Explorer** right click on the desired project and select **Set as Startup Project**. | ||||||
|
||||||
|
||||||
### Add project dependency | ||||||
|
||||||
1. From Solution Explorer right click on **Startup Project** and select **Add Tizen Project Dependency**. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Added a missing comma to improve readability.
Suggested change
|
||||||
|
||||||
![Add Project Dependency](media/hybrid_add_dependency.PNG) | ||||||
|
||||||
2. A window with a project list for selection will be displayed. | ||||||
|
||||||
![Project Dependency List](media/hybrid_dependency_list.PNG) | ||||||
|
||||||
3. Select the dependency projects and press OK button. | ||||||
|
||||||
![Project Dependency List](media/hybrid_dependency_list_selected.PNG) | ||||||
|
||||||
|
||||||
### Build your project | ||||||
|
||||||
1. To build your project, select **Build Solution** in the **Solution Explorer** window. | ||||||
|
||||||
![Build project](media/native_build_project.PNG) | ||||||
|
||||||
2. To deploy and run your application, select **Debug > Start without Debugging**. | ||||||
|
||||||
> [!NOTE] | ||||||
> Ensure the emulator is running in your system. | ||||||
|
||||||
![Run application](media/native_run_application1.PNG) | ||||||
|
||||||
![Application](media/native_run_application2.PNG) | ||||||
|
||||||
|
||||||
### Debug your application in emulator | ||||||
|
||||||
1. Open the .cs file in your Visual Studio application. | ||||||
|
||||||
2. Add a break point in your source code. | ||||||
|
||||||
![Add break point](media/dotnet_debug_application.PNG) | ||||||
|
||||||
3. Start the debugging session by selecting **Debug > Start Debugging** in the menu bar, or pressing **F5**, or by clicking the **Debug** button in the menu bar. |
Binary file added
BIN
+33.6 KB
docs/application/vstools/Tizen/media/dotnet_configure_project_new.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+13.7 KB
docs/application/vstools/Tizen/media/hybrid_dependency_list_selected.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+32.3 KB
docs/application/vstools/Tizen/media/native_sub_project_configure.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a missing comma to improve readability.