Languages

Menu
Sites
Language
Web app with service for mobile

Hi

Our cie provides a complete end-to-end solution for mobile video that makes video implementation easy and efficient.

We already implement mobile application for several platform like ios, android, win8.

For example our android mobile application is using the ndk layer to communicate with our common api c libraries.

We need to implement the same for tizen platform.

I already succesfully implemented a web mobile application sample code and native mobile application.

I also successfully build a shared memory of our common api c libraries and can call them from the native mobile application.

But it seems that the best thing will be to create a mobile web application with a mobile service application (which call our common api c) 

what you call the hybrid web app.

First it appears that this solution is correct only for wearable devices ? is that correct ?

I didn't find (yet) any implementations/samples of a service application for a mobile web application ?

Thanks

Joe

View Selected Answer

Responses

9 Replies
Marco Buettner

U can develop native service application on mobile, web services application based on javascript are only available on wearables.

The Native Project Mask for new projects as template the entry "service" ... which allows you to write a service application which can merge with your webapplication as hybrid application.
 

joe tiger

Hi Marco

Thanks for the prompt response.

I manage to create a Service application as Native project.

You mean that I can merge it with my web app javascript app as an hybrid app ?

Regards

Joe 

joe tiger

Hi Marco

Thanks for the prompt response.

I manage to create a Service application as Native project.

You mean that I can merge it with my web app javascript app as an hybrid app ?

Regards

Joe 

joe tiger

I manage to build a native service application but get this error from my mobile web app

js/main.js (159) :Running Service App not found. Trying to launch it
js/main.js (129) :Launching [org.tizen.hybridefl] ...
js/main.js (123) :Service Applaunch failed

I try to find some sample but all these links give 404 file not found ???

1) service app tutorial:
https://developer.tizen.org/dev-guide/2.3.0/org.tizen.mobile.native.appprogramming/html/tutorials/app_tutorial/service_app_tutorial.htm
2) message port tutorials (for interaction between web and native app):
https://developer.tizen.org/dev-guide/2.3.0/org.tizen.mobile.native.appprogramming/html/tutorials/app_tutorial/message_port_tutorial.htm
https://developer.tizen.org/dev-guide/2.3.0/org.tizen.mobile.web.appprogramming/html/guide/io_guide/messageport.htm

 

Where i can find sample how to call the service from my web mobile app ?

thanks

Joe

Iqbal Hossain

Hi~

<div class="note">
        <strong>For of all</strong>
        You can develop Hybrid application for both wearable and mobile. In Tizen IDE there are online sample for both Wearable and Mobile.
</div>


<h2>1 Here is Service App of Mobile from Online Sample </h2>

And


<h2>2 Hybrid Web App for Mobile from Online sample</h2>


  <div class="tip">
        <strong>Directory Structure</strong>
        Hybrid Application directory structure
    </div>


You can get more info from here

Please let me know if it helped you or not.
Thanks.

 

Mark as answer
Iqbal Hossain

Hi~

First of all,
You can develop Hybrid application for both wearable and mobile. In Tizen IDE there are online sample for both Wearable and Mobile.

 Here is Service App of Mobile from Online Sample

And
Hybrid Web App for Mobile from Online sample


Hybrid Application directory structure


You can get more info from here

Please let me know if it helped you or not.
Thanks.

 

joe tiger

Great!!!

That's exactly what i was looking for.

I successfully

  1. create the hybrid with web app+native service ,
  2. perform the reference from the webapp as Properties\Tizen SDK\Package\Multi\HybridService
  3. running it 
  • HybridService(with HybridWebApp) - mobile 2.4
  • HybridWebApp - mobile 2.3

But when click on start I get this error

Fail to launch HybridServiceApp ?

did i miss something ?

Thanks

joe

 

 

 

Iqbal Hossain

Ok. 
You probably created another thread about building hybrid app ...right ? Let me see that thread. 
If problem of this thread solved, please mark as best answer to promote the solution. 

Thanks ! 
 

joe tiger

Hi

I create a new thread since the new issue can come from web app app or native app dev.

in all cases thanks for your help.

Joe