Dear Kangkook,
I had received an attached message on this issue from Wenlong.
Please refer to this message.
Best regards,
Kohji Okuno
From: automotive-discussions-bounces@xxxxxxxxxxxxxxxxxxxxxxxxx <automotive-discussions-bounces@xxxxxxxxxxxxxxxxxxxxxxxxx> On Behalf Of Kangkook Jee
Sent: Tuesday, August 7, 2018 12:46 PM
To: "wenlong zheng(鄭 文龍)" <wenlong_zheng@xxxxxxxxxxxxx>
Cc: automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [agl-discussions] Popup feature into homescreen and create sample application for popup (SPEC-985)
Dear Wenlong,
Thanks a lot for your kind reply. We followed your instruction to build onscreenapp.wgt and onstest.wgt.
We could successfully build onscreenapp.wgt but build onstest.wgt failed due to package dependency issue.
$ source /opt/poky-agl/5.0.3/environment-setup-armv7vehf-neon-vfpv4-agl-linux-gnueabi
$ cd ~/xds-workspace/popup-native-application/build
$ make
…
Project ERROR: qlibhomescreen development package not found
I could observe that package dependencies for qlibhomescreen and qlibwindowmanager are defined from app.pro file,
$ cat ~/xds-workspace/popup-native-application/sample/app/app.pro
TARGET = onstest
...
PKGCONFIG += qlibhomescreen qlibwindowmanager
...
But, those packages did come with my SDK installation.
$ echo $PKG_CONFIG_PATH
/opt/poky-agl/5.0.3/sysroots/armv7vehf-neon-vfpv4-agl-linux-gnueabi/usr/lib/pkgconfig:/opt/poky-agl/5.0.3/sysroots/armv7vehf-neon-vfpv4-agl-linux-gnueabi/usr/share/pkgconfig
$ pkg-config --libs qlibhomescreen
Package qlibhomescreen was not found in the pkg-config search path.
Perhaps you should add the directory containing `qlibhomescreen.pc'
to the PKG_CONFIG_PATH environment variable
No package 'qlibhomescreen' found
Would you provide more help on how to install missing package and build onstest.wgt?
Thanks again for your help!
Regards, Kangkook
On Aug 1, 2018, at 5:37 AM, wenlong zheng(鄭 文龍) <mailto:wenlong_zheng@xxxxxxxxxxxxx> wrote:
Here is a test branch for popup.
https://gerrit.automotivelinux.org/gerrit/gitweb?p=apps%2Fonscreenapp.git;a=shortlog;h=refs%2Fheads%2Fsandbox%2Fzheng_wenlong%2Fbeta
$ git clone -b sandbox/zheng_wenlong/beta https://gerrit.automotivelinux.org/gerrit/apps/onscreenapp
$ cd onscreenapp/
$ mkdir build
$ source /xdt/sdk/environment-setup-aarch64-agl-linux
$ qmake ..
$ make
$ scp package/onscreenapp.wgt sample/package/onstest.wgt
root@${YOUR_BOARD_IP}:~
$ ssh root@${YOUR_BOARD_IP}
$ afm-util install onscreenapp.wgt
$ afm-util install onstest.wgt
Then restart the boards and you can see a icon named "ONSTEST"
You can tap into this application and click the button in it to test
with onscreen with master rootfs.
On 2018年08月01日 10:39, Kangkook Jee wrote:
Hi all,
I’d like to implement the same functionality described from the following JIRA issue which is about displaying popup
https://jira.automotivelinux.org/browse/SPEC-985
Now it is currently resolved and merged to Eel. Can anyone provide me a pointer that we can start from?
Thanks a lot for your help in advance!
Regards, Kangkook
_______________________________________________
automotive-discussions mailing list
mailto:automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/automotive-discussions
_______________________________________________
automotive-discussions mailing list
mailto:automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/automotive-discussions
--- Begin Message ---
- Subject: Re: About On Screen Message
- From: <wenlong_zheng@xxxxxxxxxxxxx>
- Date: Fri, 27 Jul 2018 04:43:42 +0000
- Accept-language: zh-CN, en-US, ja-JP
- Cc: <jose.bollo@xxxxxxx>, <shorisa1@xxxxxxxxxxxx>, <ntanifu1@xxxxxxxxxxxx>, <automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx>
- In-reply-to: <20180727.125827.1643671589776601829.okuno.kohji@jp.panasonic.com>
- References: <20180726103300.7cc2588c@d-jobol.iot.bzh> <cda8ad19eec641aeb4e0eb20bea7ed7d@JPA000SECMN21.palet.jp.panasonic.com> <b17fb666-95c9-b3b1-5fec-c55115297223@nexty-ele.com> <20180727.125827.1643671589776601829.okuno.kohji@jp.panasonic.com>
Hi Okuno-san
I use master version.
You can download from gerrit and install to your target and sdk.
$ git clone
https://gerrit.automotivelinux.org/gerrit/staging/qlibhomescreen
$ cd qlibhomescreen
$ mkdir build
$ cd build
$ source /xdt/sdk/environment-setup-aarch64-agl-linux
$ qmake .. && make
$ cp src/libqthomescreen.so* /xdt/sdk/sysroots/aarch64-agl-linux/usr/lib/
$ cp src/libqthomescreen.so* /xdt/sdk/sysroots/aarch64-agl-linux/usr/lib/
$ cp src/pkgconfig/qlibhomescreen.pc
/xdt/sdk/sysroots/aarch64-agl-linux/usr/lib/pkgconfig
$ scp src/libqthomescreen.so* root@${YOUR_BOARD_IP}:/usr/lib/
Then try to build onscreenapp again
On 2018年07月27日 12:58, Kohji Okuno wrote:
> Dear Wenlong-san,
>
> Thank you for your corporations.
> I tried as bellow, but I could not succeed.
> Could you tell me about qlibhomescreen?
>
> My environment is eel 5.0.3. qlibhomescreen doest not seem to exist in
> my environment.
>
> Best regards,
> Kohji Okuno
>
>
> wenlong zheng(鄭 文龍) <wenlong_zheng@xxxxxxxxxxxxx> wrote:
>> Hi Okuno-san
>>
>> Sorry for this late response.
>>
>> I just add a sample code to sandbox/zheng_wenlong/beta.
>>
>> You can build it and install.
>>
>> $ git clone -b sandbox/zheng_wenlong/beta
>> https://gerrit.automotivelinux.org/gerrit/apps/onscreenapp
>>
>> $ cd onscreenapp/
>>
>> $ mkdir build
>>
>> $ source /xdt/sdk/environment-setup-aarch64-agl-linux
>>
>> $ qmake ..
>>
>> $ make
>>
>> $ scp package/onscreenapp.wgt sample/package/onstest.wgt
>> root@${YOUR_BOARD_IP}:~
>>
>> $ ssh root@${YOUR_BOARD_IP}
>>
>> $ afm-util install onscreenapp.wgt
>>
>> $ afm-util install onstest.wgt
>>
>> Then restart the boards and you can see a icon named "ONSTEST"
>>
>> You can tap into this application and click the button in it to test
>> with onscreen.
>>
>>
>> For the code, you can see sample/app/main.qml.
>>
>> This test application use qlibhomescreen / libhomescreen api.
>>
>> "onScreenMessage"
>>
>> The parameter in it is depends on onscreenapp, right now it's a complex
>> parameter.
>>
>> Sorry for that, we are fixing it.
>>
>>
>> Zheng
>>
>> On 2018年07月27日 09:34, okuno.kohji@xxxxxxxxxxxxxxxx wrote:
>>> Dear José-san and Wenlong-san,
>>>
>>> José-san, thank you for your quick response.
>>>
>>> Wenlong-san, do you have any idea about this? Could you please tell me?
>>>
>>>>> Actually, I found
>>>>> LibHomeScreen::onScreenMessage(const char *display_message) in
>>>>> libhomescreen.hpp.
>>>>>
>>>>> Is this method supported now?
>>>> That is a question that I can not answer. Sorry.
>>> Best regards,
>>> Kohji Okuno
>>>
>>>
>>>> -----Original Message-----
>>>> From: José Bollo <jose.bollo@xxxxxxx>
>>>> Sent: Thursday, July 26, 2018 5:33 PM
>>>> Subject: Re: [agl-discussions] About On Screen Message
>>>>
>>>> On Thu, 26 Jul 2018 17:09:33 +0900
>>>> Kohji Okuno <okuno.kohji@xxxxxxxxxxxxxxxx> wrote:
>>>>
>>>>> Dear José-san and Wenlong-san,
>>>>>
>>>>> José-san, thank you very much for your comment and kindness!
>>>>>
>>>>> Let me confirm. URLs you showed are sample application for using Web
>>>>> Socket. Is my understanding correct?
>>>> Yes, to access any bounded API.
>>>>
>>>>> On the other hand, I found the following URL.
>>>>> http://docs.automotivelinux.org/docs/apis_services/en/dev/reference/hm
>>>>> i-framework/3_1-HomeScreen-Guide.html
>>>>>
>>>>> I think that onscreenapp is HomeScreenGUI, and if I write some
>>>>> application using libhomescreen (LibHomeScreen::onScreenMeessage()), I
>>>>> can display "On Screen Message".
>>>> You are right here. Using libhomescreen is an all wrapped solution maybe more
>>>> convenient.
>>>>
>>>>> Actually, I found
>>>>> LibHomeScreen::onScreenMessage(const char *display_message) in
>>>>> libhomescreen.hpp.
>>>>>
>>>>> Is this method supported now?
>>>> That is a question that I can not answer. Sorry.
>>>>
>>>> Best regards
>>>> José
>>>>
>>>>> Thanks again,
>>>>> Kohji Okuno
>>>>>
>>>>>
>>>>> José Bollo <jose.bollo@xxxxxxx> wrote:
>>>>>> On Thu, 26 Jul 2018 03:23:41 +0000
>>>>>> okuno.kohji@xxxxxxxxxxxxxxxx wrote:
>>>>>>
>>>>>>> Dear Wenlong-san,
>>>>>>>
>>>>>>> Could you give me some advice about this?
>>>>>> Hi Kohji-san,
>>>>>>
>>>>>> If you're coding for Qt as I believe, I recommand you to use the
>>>>>> library that can be found in helpers [1]. Example of its use can be
>>>>>> found in the mixer [2].
>>>>>>
>>>>>> Best regards
>>>>>> José Bollo
>>>>>>
>>>>>> [1]
>>>>>> https://gerrit.automotivelinux.org/gerrit/#/admin/projects/apps/app-
>>>>>> afb-helpers-submodule
>>>>>> [2]
>>>>>> https://gerrit.automotivelinux.org/gerrit/#/admin/projects/apps/mixe
>>>>>> r
>>>>>>> Best regards,
>>>>>>> Kohji Okuno
>>>>>>>
>>>>>>>> -----Original Message-----
>>>>>>>> From: Okuno Kohji (奥埜 貢士)
>>>>>>>> Sent: Saturday, July 21, 2018 4:09 PM
>>>>>>>> Subject: RE: [agl-discussions] About On Screen Message
>>>>>>>>
>>>>>>>> Hi José-san, wenlong-san and all,
>>>>>>>>
>>>>>>>> I could succeed by José-san's adivise. Thank you very much.
>>>>>>>> Regarding "On screen message", do you have a plan to develop for
>>>>>>>> official release?
>>>>>>>>
>>>>>>>> And, I'd like to use OnScreenMessages from application without
>>>>>>>> afb-client-demo.
>>>>>>>> Could you please show me sample source?
>>>>>>>>
>>>>>>>> Best regards,
>>>>>>>> Kohji Okuno
>>>>>>>>
>>>>>>>>> -----Original Message-----
>>>>>>>>> From: Okuno Kohji (奥埜 貢士)
>>>>>>>>> Sent: Saturday, July 21, 2018 8:32 AM
>>>>>>>>> Subject: RE: [agl-discussions] About On Screen Message
>>>>>>>>>
>>>>>>>>> Hi José-san,
>>>>>>>>>
>>>>>>>>> Thank you for your help. I will try it!!
>>>>>>>>>
>>>>>>>>> Best regards,
>>>>>>>>> Kohji Okuno
>>>>>>>>>
>>>>>>>>>> -----Original Message-----
>>>>>>>>>> From: José Bollo <jose.bollo@xxxxxxx>
>>>>>>>>>> Sent: Friday, July 20, 2018 9:35 PM
>>>>>>>>>> Subject: Re: [agl-discussions] About On Screen Message
>>>>>>>>>>
>>>>>>>>>> On Fri, 20 Jul 2018 19:50:36 +0900 Kohji Okuno
>>>>>>>>>> <okuno.kohji@xxxxxxxxxxxxxxxx> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi wenlong-san and all,
>>>>>>>>>> Hi Kohji-San,
>>>>>>>>>>
>>>>>>>>>> [snip]
>>>>>>>>>>
>>>>>>>>>>> root@qemux86-64:~# afb-client-demo
>>>>>>>>>> ws://localhost:1024/api?token=HELLO
>>>>>>>>>>
>>>>>>>>>> The issue is here. The command tells to connect on the port
>>>>>>>>>> 1024. But are you sure that it is the good port? To retrieve
>>>>>>>>>> the good port, you have to check the service file. You can
>>>>>>>>>> use the command below:
>>>>>>>>>>
>>>>>>>>>> grep http-port /usr/local/*/systemd/*/*onscreenapp*.service
>>>>>>>>>>
>>>>>>>>>> I tried it for the sandbox of Zheng-San and found that it
>>>>>>>>>> works. I join the bb file that I used to compile it with
>>>>>>>>>> yocto but you don't need it with
>>>>>>>>> SDK.
>>>>>>>>>> Best Regards
>>>>>>>>>> José Bollo
--- End Message ---
_______________________________________________
automotive-discussions mailing list
automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/automotive-discussions