Languages

Menu
Sites
Language
Do Tizen 2.3 , 2.4 or next version allows creating any server via SDK ?

There are many application utilities which requires rtsp or http server hosting ( for sharing of content / chat application etc ).
In these cases , the Developed App needs to host a server.
Is there any feasibility of supporting a server ( rtsp or http ) from Tizen SDK App development ??

Responses

2 Replies
Raquibul Hasan

Dear Prasenjit Chakraborty,

Thanks for your question. Short answer is - No, Tizen currently does not have any web service hosting. (Tizen is an Operating System and SDK is for building applications on various devices.)
 
For a bit more discussion please read on.

Let me try to discuss your question using an example. Let's say we want to develop a Tizen weather application. It will need to fetch weather data from a service hosted on a server that is accessible from anywhere.

To develop the web service you can use any programming language of your choice (.NET, Java, Node JS etc. to name a few) or using any framework. Since it is a service it will offer its services through an API that is accessible over HTTP. You can use REST (supports GET, POST) or SOAP depending on the requirements. You can also choose to use standard data formats like XML or JSON. In our example you can expose an API for getting current temperature given a city.

To develop the actual application in Tizen you will use Tizen SDK. Within your application (which is a client here) you will need to use the APIs exposed by your service to make the application work. It will take the city name from the UI and request the weather information from the server.

If you are using Tizen Web it's pretty simple to make calls to web services. You can look into "$.ajax" and "$.getJSON" in JQuery documentation.

If you are developing in Native you can use CURL Library. Please refer to libcurl C documentation.

For hosting your service you can use any hosting services of your choice (AWS, Azure, etc.) There are also free services like parse.com which offers to host your service and database (it's free only up to a certain usage). Tizen currently does not provide any web service hosting service.

Hope this answers your question.

Thanks and best regards,
Raquibul
     

Seemanta Saha

No, Tizen does not provide any facility to write server side applications and hosting it,

Tizen Web application provides the facility to write client applications using the resources to develop web applications (html, javascript, css, jquery etc. ).

Developer can write service applications (background applications without UI) using Tizen Web API Feature:

https://developer.tizen.org/development/tutorials/web-application/tizen-features/service-application

To develop chat application or for the purpose of sharing content developers need to write their own server side application and host it.

As alternative option, developers can use the facility of server side application provided by sites like Parse (http://www.parse.com/). Parse provides the support of javascript development. So, developers can integrate server side facilities with Tizen web application writing javascript codes.