-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
smartphone like widget on home screen #23
Comments
Hi team,
Thanks |
Hi @chegewara, Your idea is great! Although this library currently doesn't support adding custom widgets on the home screen, I think it should be possible to make an app icon act as a button that doesn't open a full interface when clicked. Give me some time to try it out. As for how to start/stop an app via code, you can refer to the following implementation: ...
// Get app ID when installing
int id = phone->installApp(app_simple_conf);
...
// Send event to start/stop app
ESP_Brookesia_CoreAppEventData_t app_data = {
.id = id,
.type = ESP_BROOKESIA_CORE_APP_EVENT_TYPE_START, // or ESP_BROOKESIA_CORE_APP_EVENT_TYPE_STOP
};
phone->sendAppEvent(&app_data); |
Thank you very much |
Hi,
Thanks |
You're right! I also want to try this method. This might be the only feasible method for now. I will try to add this feature in the next version. |
Hi @Lzw655
Big thank you for that component |
Hi @chegewara, Thank you very much for your support of this library. In principle, I believe the new features you mentioned can be implemented. However, as you said, "Building an app still requires a lot of LVGL coding." This GUI design approach makes it difficult to be compatible with devices of different resolutions. Therefore, I would like to prioritize implementing the XML-like design approach I mentioned earlier. Of course, I will also gradually implement the features you brought up. |
Checklist
Feature description
Hi, is there any chance to add smartphone/android like custom widgets on home screen?
What i mean is not just an icon to open app, but widget docked on screen to perform some actions or to display some info, like weather or something.
Use cases
With 1 button press perform action without opening app, ie:
I see a lot more single button press usage cases.
Thanks
Alternatives
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: