语言

Menu
Sites
Language
Package two applications in one

Hello, can we package two applications for example a native app and a web app into one package? 

I know about hybrid apps and services.

I ask about installing two different packages in the device with one installation.

 

Thank you

响应

5 回复
Marco Buettner

Yes you can :)

Byron Gavras

And the way to achieve this ?

 

Thank you

Kirill Chuvilin

It is well known as hybrid app.

Chintan Gandhi

Hi Byron,

We would like to inform you that yes, you can have two or more applications in a single package. However, you need to have a service app too in that package that is required to run the multi-process application.

Kindly refer to Tizen IDE->Help->Help contents->Tizen Native App Programming->Packaging Applications->Developing Multiple projects as a Package.

You can develop a UI project and a service project as a package.

To develop a multiple-process native application:
Create a form-based or tab-based UI application.
Create a service application.
To establish a project reference between the UI and service application:
In the Project Explorer view, right-click the UI application, Select Properties > Project References,
Select the check box for service application, and click OK.
In the Project Explorer view, a message appears next to the name of the service application project for all the applications you have added to the package.
Build and run the UI application.
The service application is built and run automatically while the UI application is built and run.
For more information on multi-process applications, Kindly check the Multi-process Native Application sample overview

please refer to the following three links 

https://developer.tizen.org/help/index.jsp?topic=%2Forg.tizen.native.appprogramming%2Fhtml%2Fsample_descriptions%2Fmultiprocess_package.htm

https://developer.tizen.org/help/index.jsp?topic=%2Forg.tizen.native.appprogramming%2Fhtml%2Fapp_dev_process%2Fmultiple_project_dev_package.htm

https://developer.tizen.org/forums/native-application-development/error-occurs-when-creating-package

Hope it helps

Thanks.

Byron Gavras

Thank you Chintan Gandhi