Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Run apps in background #215

Open
fred-corp opened this issue Apr 25, 2023 · 8 comments
Open

Run apps in background #215

fred-corp opened this issue Apr 25, 2023 · 8 comments
Labels
Backlog'd to eternity Probably wont ever be done due to time issues enhancement New feature or request

Comments

@fred-corp
Copy link

fred-corp commented Apr 25, 2023

Description of the feature you're suggesting.

Wouldn't it be great to be able to run apps in background ?

Here's how it could work : For example, when using the POCSAG app (pager app which uses the SubGHz radio), hold "back" button for 5s, a prompt would appear to exit the app or to run in background; if an application runs in background, press 5s on the back button, a prompt appears to go back to the app or to exit it. When you go back to the app, if you were using another app, that app would go to background.
If you want to run an app that uses the same ressources as the background app (for example POCSAG is in background and you want to use SubGHz), a prompt appears where you can select to kill/pause the background app, go back to it, or do nothing (dismiss prompt and don't open the new app)

Anything else?

Thanks a lot for making this alternative firmware, I've been using it since I got my flipper and I wouldn't change back :)

@ClaraCrazy ClaraCrazy added the enhancement New feature or request label Apr 25, 2023
@ClaraCrazy
Copy link
Member

🙅

That would require a rewrite of like most of the firmware. So unless you are hiding a team of C developers (and im serious.. if you do, hell yeah lets do it) its not gonna happen unfortunately

@fred-corp
Copy link
Author

Unfortunately I'm only a team of one 😅
I'm learning FreeRTOS in my free time (which due to my studies I have not a lot of x) ), so maybe if on a night of insomnia I get my hands on a container of coffee, who knows what would be attainable :D

I'll submit this issue to the official repo, maybe their team has more time and the knowledge on how to do this more efficiently ^^

@ClaraCrazy
Copy link
Member

I bet 10$ they say no

@Willy-JL
Copy link
Contributor

For what it's worth, so far I've gathered that basically everything to do with flipper UI and apps is designed around only one app being on screen. When an app is open, the firmware basically passes near full control to it, so to say (of course its more complicated than that, but this is just to give a rough idea). So if this is even possible, it would require A LOT of changes, if I had to guess most substantially to how scene managers and view ports work. However I'd say that Clara's 'most of the firmware' is by no means an exaggeration xD

@ClaraCrazy ClaraCrazy added the Backlog'd to eternity Probably wont ever be done due to time issues label May 11, 2023
@Bluefrog922
Copy link

This app has managed to do it https://github.com/twisted-pear/bgloader for subghz chat but the xtream modification broke it.

@Willy-JL
Copy link
Contributor

but the xtream modification broke it.

no. the bgloader is a proof of concept and it requires the individual apps to support the behavior. esubghz chat does support it, but it was added after, and the esubghz chat we include is not up to date, we are currently migrating and updating all apps

@d9j
Copy link

d9j commented Oct 19, 2023

simple solution. get jailbroken iphone

@SolarSciencePup
Copy link

SolarSciencePup commented Oct 24, 2023

I bet 10$ they say no

They said no
flipperdevices/flipperzero-firmware#2610 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Backlog'd to eternity Probably wont ever be done due to time issues enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants