From c02ebecf65b32bd816a92afda8a9f2a910535659 Mon Sep 17 00:00:00 2001 From: afischerdev Date: Mon, 10 Jul 2023 12:12:03 +0200 Subject: [PATCH] add doc for silent mode --- docs/developers/android_service.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/developers/android_service.md b/docs/developers/android_service.md index 36da40c..49eab71 100644 --- a/docs/developers/android_service.md +++ b/docs/developers/android_service.md @@ -46,6 +46,19 @@ For the app it is a list of params concatenated by '&'. E.g. extraParams=avoidfe The server calls profile params by a prefix 'profile:'. E.g. ...&profile:avoidferry=1&profile:avoidsteps=0 +### silent app call + +The app can be started from other apps by using a call like this + +``` +Intent intent = new Intent(); +intent.setClassName("btools.routingapp", "btools.routingapp.BRouterActivity"); +intent.putExtra("runsilent", true); +startActivity(intent); +``` + +This suppress the first question after installation for the BRouter path, generates the BRouter folders in main space and starts the download dialog. + ## other routing engine modes in app ### get elevation