summaryrefslogtreecommitdiffstats
path: root/doc/readme.md
blob: f9da853d4860000463e07f123ccd2bc53ad7c242 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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
- start onstestapp in launcher
- select onscreen type in groupbox
- press "Post" button

After clicked onscreen's button,you will see reply information at top area of onstestapp.