## New features - Implemented support for app packaging in firmware and `tactility.py`: load `.app` files instead of `.elf` files. Install apps remotely or via `FileBrowser`. - Ensure headless mode works: all services that require LVGL can deal with the absence of a display - Service `onStart()` is now allowed to fail (return `bool` result) - Added and improved various file-related helper functions ## Improvements - Completely revamped the SystemInfo app UI - Improved Calculator UI of internal and external variant - Fix Chat UI and removed the emoji buttons for now - Fix for toolbar bottom padding issue in all apps ## Fixes - Fix for allowing recursive locking for certain SPI SD cards & more
23 lines
524 B
C++
23 lines
524 B
C++
#include <Tactility/app/App.h>
|
|
#include <Tactility/service/loader/Loader.h>
|
|
|
|
namespace tt::app {
|
|
|
|
LaunchId start(const std::string& id, std::shared_ptr<const Bundle> _Nullable parameters) {
|
|
return service::loader::startApp(id, std::move(parameters));
|
|
}
|
|
|
|
void stop() {
|
|
service::loader::stopApp();
|
|
}
|
|
|
|
std::shared_ptr<AppContext> _Nullable getCurrentAppContext() {
|
|
return service::loader::getCurrentAppContext();
|
|
}
|
|
|
|
std::shared_ptr<App> _Nullable getCurrentApp() {
|
|
return service::loader::getCurrentApp();
|
|
}
|
|
|
|
}
|