Hi.
Ob course message-port communication is working when service app is already 
running.
Launch HybridService app first then launch HybridWebApp. 
(please check gServiceAppId has a correct value. If your service app's app id 
is org.example.hybridservice, it has to be org.example.hybridservice)
Then press start button, you can see app is working properly.
Thanks.


-----Original Message-----
From: Md. Momen Bhuiyan [mailto:[email protected]] 
Sent: Monday, March 21, 2016 1:23 PM
To: Semun Lee
Cc: 강현호; [email protected]
Subject: Re: [Dev] Hybrid sample application not communicating in SAMSUNG Z3

Hi,
Suppose the service app is already running. Shouldn't message port 
communication work in Z3? This was actually my original question.

On Mon, Mar 21, 2016 at 6:49 AM, Semun Lee <[email protected]> wrote:
> Hello,
>
> Since Tizen 2.4, the launch request to a service application is 
> restricted only for the apps in the same package.
> https://developer.tizen.org/dev-guide/latest/org.tizen.native.mobile.a
> pirefe
> rence/group__CAPI__APP__CONTROL__MODULE.html#gaeeb755a791bdbc5a6fc6d41
> 614e80
> c1b
> If you want to run your apps in Z3 that runs Tizen 2.4, you need to 
> follow that policy.
>
> Regarding the multi packaging menu, you could find it in the latest 
> Tizen
> 2.4 SDK (revision 4).
> Please, try to upgrade your SDK.
>
> Best regards,
> Semun
>
>                 _____________________________________________
>                 From: 강현호 [mailto:[email protected]]
>                 Sent: Monday, March 21, 2016 9:34 AM
>                 To: [email protected]
>                 Cc: 'Md. Momen Bhuiyan'; 'Semun Lee'
>                 Subject: RE: [Dev] Hybrid sample application not 
> communicating in SAMSUNG Z3
>
>
>                 Hi Bhuiyan.
>                 Could you try HybridWebApp properties -> project 
> references
> -> check 'HybridService'
>                 Then run HybridWebApp again.
>                 Thanks.
>
>                  << OLE Object: Picture (Device Independent Bitmap) >>
>
>
>                 -----Original Message-----
>                 From: Md. Momen Bhuiyan [mailto:[email protected]]
>                 Sent: Sunday, March 20, 2016 12:56 PM
>                 To: 강현호
>                 Cc: [email protected]; Semun Lee
>                 Subject: Re: [Dev] Hybrid sample application not 
> communicating in SAMSUNG Z3
>
>                 Dear Mx. Kang,
>                 I am using tizen ide with sdk version 2.4.0b which 
> doesn't show the option for multi(from packaging link). Secondly the 
> same app works in samsung Z1(tizen 2.3.1) where I am running the 
> samples as two different package. So is there any work around for 
> this? Or should I install the sdk 2.3.1?
>                 Thanks.
>
>                 On Wed, Mar 16, 2016 at 2:23 PM, 강현호 
> <[email protected]> wrote:
>                 > Hi Bhuiyan.
>                 >
>                 > First, hybrid sample application should be packaged 
> with following process.
>                 >
> https://developer.tizen.org/community/tip-tech/packaging-hybrid-applic
>                 > ation This process is for packaging two different 
> apps in a same
>                 > package id.
>                 > For security reason, Tizen allow service app launch 
> permission only to
>                 > same package id application.
>                 > So, if you do not follow above process your web 
> app's launch service
>                 > app request will be rejected.
>                 >
>                 > Second, you should change service appid declared in 
> js/main.js file.
>                 > If you use Tizen sample application(HybridService 
> app) as your web
>                 > app's service app then you should change it like var 
> gServiceAppId =
>                 > '7W30LSPqzf.hybridservice'
>                 >
>                 > Best Regards
>                 > Hyunho Kang
>                 >
>                 >
>                 > -----Original Message-----
>                 > From: Dev [mailto:[email protected]] On 
> Behalf Of Md. Momen
>                 > Bhuiyan
>                 > Sent: Tuesday, March 15, 2016 6:26 PM
>                 > To: [email protected]
>                 > Subject: [Dev] Hybrid sample application not 
> communicating in SAMSUNG
>                 > Z3
>                 >
>                 > Hello,
>                 > I was trying to run the hybrid sample application in 
> samsung z3(sdk 2.4).
>                 > It seems it doesn't communicate with the service via 
> message port.
>                 > Could any one tell me what to do to make it work in Z3?
>                 > Thanks in advance.
>                 > _______________________________________________
>                 > Dev mailing list
>                 > [email protected]
>                 > https://lists.tizen.org/listinfo/dev
>                 >

_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev

Reply via email to