[FL-1308] Add API for starting applications with arguments (#486)

* app-loader: add API for starting applications with arguments
* app-loader: add check if application is running
* archive: rework starting app with app-loader API

Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
gornekich
2021-05-26 19:23:25 +03:00
committed by GitHub
parent 1cfb16d9a7
commit 63e9207c44
4 changed files with 83 additions and 30 deletions

View File

@@ -0,0 +1,15 @@
#include <furi.h>
#include <cli/cli.h>
#include "menu/menu.h"
#include "menu/menu_item.h"
#include "applications.h"
#include <assets_icons.h>
#include <api-hal.h>
/**
* Start application
* @param name - application name
* @param args - application arguments
* @retval true on success
*/
bool app_loader_start(const char* name, const char* args);