diff options
author | wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com> | 2018-12-03 13:18:47 +0800 |
---|---|---|
committer | wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com> | 2018-12-03 13:18:47 +0800 |
commit | f42ae47fe425b8ef353ec72ff9edaff451206cb8 (patch) | |
tree | aae3fa9c217624c69fc1a543b062bda50a189067 /doc/readme.md | |
parent | 5e11084733c184b0505a4f4816e69b0dd363b653 (diff) |
change readme
Diffstat (limited to 'doc/readme.md')
-rw-r--r-- | doc/readme.md | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/doc/readme.md b/doc/readme.md new file mode 100644 index 0000000..0b6ba93 --- /dev/null +++ b/doc/readme.md @@ -0,0 +1,44 @@ + +usage of onscreenapp +=== + +## dependence + +Onscreenapp depend on libhomescreen add agl-service-homescreen as below: +- libhomescreen must have 'showWindow/hideWindow/replyShowWindow' event + and 'showWindow/hideWindow/replyShowWindow' interface. +- agl-service-homescreen must have 'showWindow/hideWindow/replyShowWindow' verbs. + +## sequence + +show/hide onscreen sequence. +- ![showOnscreen.svg](parts/showOnscreen.svg) + +## about sample 'onstestapp' +onstestapp is a sample to use onscreenapp. + +### compile & install +- compile + - when onscreenapp is compiled, this app's wgt file will exist at "onscreenapp/sample/package" which called onstestapp.wgt. + +- install + `afm-util install onstestapp.wgt;sync` + +### onstestapp usage + +Before start onstestapp you must copy all files in "qml" folder to "$HOME/app-data/OnScreen/onstestapp/" on your board(R-car M3 etc.), +then do as below: + +1. start onstestapp in launcher +2. select onscreen type +3. press "Post" button + +### edit parameter with keyboard + +You also can edit the text which will post to onscreen, do as below: + +- comment below contents in /etc/xdg/weston/weston.ini + - `#ivi-input-module=ivi-input-controller.so` + +- before press "Post" button, touch text area to call keyboard and edit the text. + |