From 134be0531d2aa3926bb6ed441c7839174a8bba17 Mon Sep 17 00:00:00 2001 From: wang_zhiqiang Date: Wed, 10 Apr 2019 17:36:11 +0800 Subject: modify add wm proxy add read/write json file add getRunnables to ApplicationGuide.md Change-Id: I65e9e6620ecb207c999e590410782590edd7005d --- doc/ApplicationGuide.md | 8 ++++++++ doc/parts/getRunnables.svg | 45 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 doc/parts/getRunnables.svg (limited to 'doc') diff --git a/doc/ApplicationGuide.md b/doc/ApplicationGuide.md index 9c5c409..34b8a14 100644 --- a/doc/ApplicationGuide.md +++ b/doc/ApplicationGuide.md @@ -28,6 +28,7 @@ - [ShowOnscreen](###ShowOnscreen\ Sequence) - [ShowNotification](###ShowNotification\ Sequence) - [ShowInformation](###ShowInformation\ Sequence) + - [GetRunnables](###GetRunnables\ Sequence) - [Sample code](#Sample\ code) - [Limitation](#Limitation) - [Next Plan](#Next\ Plan) @@ -189,6 +190,9 @@ See also our [Sample code](#Sample\ code). 8. Show Information on HomeScreenGUI - When application who want to display a information,it can call "showInformation",then HomeScreenGUI will display the information contents on the screen bottom area. +9. Get runnables list + - When launcher starting, it want to get runnalbes list,it can call "getRunnables",then launcher will + receive the runnalbes list in reply. * * *
@@ -275,6 +279,10 @@ The communication protocols between libhomescreen and upper binder, upper binder ### ShowInformation Sequence ![showInformation.svg](parts/showInformation.svg) +
+ +### GetRunnables Sequence +![getRunnables.svg](parts/getRunnables.svg)
diff --git a/doc/parts/getRunnables.svg b/doc/parts/getRunnables.svg new file mode 100644 index 0000000..3b342f8 --- /dev/null +++ b/doc/parts/getRunnables.svg @@ -0,0 +1,45 @@ +got runnables list in launchersystemdsystemdlauncherlauncherhomescreen-servicehomescreen-serviceafm-mainafm-mainexec homescreen-serviceinit()got runnables listmaintain runnables listexec launcherinitset_event_handler("showWindow")set_event_handler("app_list_changed")got runnables listset runnables list in replyupdate application model \ No newline at end of file -- cgit 1.2.3-korg