Hi Karthik,

Forgive me, I’ve correlated this thread with another thread you’ve triggered - 
https://lists.tizen.org/pipermail/ivi/2014-March/002046.html
The term Native App, C++ Native code, Hybrid app and native daemon seem to be 
used interchangeably  which leads me to the impression  that you are primarily 
trying to figure out a solution to a  design challenge and not an 
implementation challenge.

I’m wondering if you may have immediately jumped to the “Hybrid App” solution 
space pre-maturely?
This mail is simply to explore this comment.

When I read the linked email, I got a distinct picture in my head of a service 
logic business component servicing a very thin HMTL5 view.
Tomasz expanded my visualisation with an intriguing concept of adding Qt/Qt 
Quick to this picture – basically now a service component servicing 2 views – a 
HTML5 HMI App and a Native (Qt/EFL/whatever toolkit you fancy) – both thin 
clients.

If I’m correct so far, then the question becomes – what IPC mechanism should 
one choose to bridge a business logic layer into a random UI toolkit layer.
For the HTML5 aspect – it may be interesting to figure out can you reach a 
scenario where by you can standardise the business logic Interface in a generic 
fashion (Jeremiah points to Franca IDL as one such mechanism) and there after 
bridge into the HTML5 world by x-walk extension mechanisms - 
https://crosswalk-project.org/#wiki/Crosswalk-Extensions - this may be a 
solution to the design question.
Tomasz may have guidance on best practice into Qt, and other here for EFL etc… 
I found this ppt recently 
http://devdays.kdab.com/wp-content/uploads/2013/11/QtDevDays-2013-Qt-GENIVI_reduced.pdf
 which presents an interesting dynamic of IDL for definition and a practical 
binding into a Qt workspace. This may be interesting material to read – again a 
potential solution to a design picture with 2 HMI ‘heads’.

None the less, without really understanding your design goals here it may be 
hard to give clear guidance on the best direction you should talk. MessagePort, 
Hybrid app may indeed be your solution, but its hard to call definitively.

Can you elaborate more on the specifics of your use case?
What kind of data/messages are passing around here?

Warm Regards
Tom.

From: [email protected] [mailto:[email protected]] On 
Behalf Of Wang, Ning W
Sent: Monday, March 24, 2014 6:24 AM
To: karthik karthik; [email protected]
Subject: RE: RE: Hybrid app

To my knowledge, right.

Thanks,
Ning
From: karthik karthik [mailto:[email protected]]
Sent: Monday, March 24, 2014 2:11 PM
To: Wang, Ning W; [email protected]<mailto:[email protected]>
Subject: Re: RE: Hybrid app


Hi,

So if we use web sockets, we need to create web UI part and native daemon (a 
shared library ).

Hence no need to create an native app.. is my assumption right ?


________________________________
From: Wang, Ning W <[email protected]<mailto:[email protected]>>;
To: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>>; 
[email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>>;
Subject: RE: Hybrid app
Sent: Mon, Mar 24, 2014 5:48:50 AM

For the second question, yes, it’s possible to use websockets. You can refer to 
Settings (web UI) and settingsd (native daemon) in Tizen IVI as an example.

Thanks,
Ning
From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of 
[email protected]<mailto:[email protected]>
Sent: Monday, March 24, 2014 1:39 PM
To: [email protected]<mailto:[email protected]>
Subject: Hybrid app


Hi,

I am trying to understand about hybrid app. Is there any sample app available 
for it in tizen emulator ??

Regarding the concept of hybrid app,

1) is this a separate web app and native app..
Do we need to create two separate projects?

2) regarding communication between the two parts, is it possible with web 
sockets..

Can anyone help me with these ?

Thanks.




--------------------------------------------------------------
Intel Shannon Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263
Business address: Dromore House, East Park, Shannon, Co. Clare

This e-mail and any attachments may contain confidential material for the sole 
use of the intended recipient(s). Any review or distribution by others is 
strictly prohibited. If you are not the intended recipient, please contact the 
sender and delete all copies.

_______________________________________________
IVI mailing list
[email protected]
https://lists.tizen.org/listinfo/ivi

Reply via email to